DuDuClaw
MCP server by zhixuli0406 Community
DuDuClaw adds local persistent memory and a Markdown wiki to AI coding agents, with routing to 11 messaging channels. It is a Rust-based tool for people who want AI agents to work across chat apps while keeping their memory and config on their own machine.
Install DuDuClaw
Built from the published package, never by AI.
claude mcp add duduclaw -e DUDUCLAW_MCP_API_KEY=YOUR_DUDUCLAW_MCP_API_KEY -- npx -y duduclawRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"duduclaw": {
"env": {
"DUDUCLAW_MCP_API_KEY": "YOUR_DUDUCLAW_MCP_API_KEY"
},
"args": [
"-y",
"duduclaw"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"duduclaw": {
"env": {
"DUDUCLAW_MCP_API_KEY": "YOUR_DUDUCLAW_MCP_API_KEY"
},
"args": [
"-y",
"duduclaw"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"duduclaw": {
"env": {
"DUDUCLAW_MCP_API_KEY": "YOUR_DUDUCLAW_MCP_API_KEY"
},
"args": [
"-y",
"duduclaw"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add duduclaw --env DUDUCLAW_MCP_API_KEY=YOUR_DUDUCLAW_MCP_API_KEY -- npx -y duduclaw{
"mcpServers": {
"duduclaw": {
"env": {
"DUDUCLAW_MCP_API_KEY": "YOUR_DUDUCLAW_MCP_API_KEY"
},
"args": [
"-y",
"duduclaw"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add duduclaw npx -y duduclawGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the duduclaw block.
About
DuDuClaw is a local tool that turns AI command-line tools such as Claude Code and Codex into AI staff. It connects them to messaging apps including Telegram, LINE, and Discord. It stores conversation memory in SQLite with a layered wiki that is injected automatically. It also provides MCP tools so the same tools can be reached from several AI runtimes.
The project ships as one Rust binary, installed from npm or as a desktop app, and serves a web dashboard on localhost. The AI backend can be switched between ten CLI runtimes or any OpenAI-compatible API, and config and memory stay on the user's machine. The source says the core is Apache 2.0. It suits people who want AI agents working across several chat channels with local memory, guardrails, and logged spending.
Written from the project's README and checked against it.
Tools it gives your assistant
Channel routingConnects agents to 11 messaging channels, including Telegram, LINE, Discord, Slack, and WhatsApp.Session memoryKeeps conversation memory with temporal memory, key facts, and a layered wiki that is injected automatically.MCP server toolsProvides 253 MCP tools covering channels, memory, agents, skills, tasks, wiki, and ERP.Multi-runtime switchingSwitches each agent between ten CLI runtimes or OpenAI-compatible APIs.Account rotationRotates OAuth and API key accounts with budgets, health checks, and cross-provider failover.Security guardrailsIncludes a policy kernel, OS sandbox, and AES-256-GCM secret management.Local inferenceRuns local models through an OpenAI-compatible server such as llama-server, Ollama, or vLLM.Web dashboardServes a React dashboard for managing agents, channels, accounts, and the task board.Scheduled assignmentsHands work to an AI employee for later or on a repeat, from chat or the dashboard.
What you need
- Node.js 20+ for the npm install
- An AI CLI such as Claude Code or Codex, or an API key for an OpenAI-compatible provider
- Or a local model behind an OpenAI-compatible server
- Rust 1.85+ and Node.js 20+ only for building from source
- macOS, Windows x64, or Linux
| Setting | Needed | What it is |
|---|---|---|
DUDUCLAW_Environment variable, secret | Required | Key for the standalone server. Create one with `npx duduclaw mcp init` (prints it once; stored only as a hash). |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Schedule a weekly report task for my AI employee to run on Mondays.
- Remember the key facts from our Discord thread about the launch plan.
- Show me the spending log for each of my agents this month.
Good to know
- Claude subscription sign-in sits behind a risk notice; an API key is the supported path.
- Gemini CLI is no longer a supported runtime.
- Windows desktop builds have no Authenticode certificate yet, so SmartScreen warns.
- Calibrated local routing (UCCI) is experimental.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to DuDuClaw
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
DuDuClaw: common questions
Does DuDuClaw need a separate gateway?
The gateway is part of DuDuClaw. The README says `duduclaw run` starts the gateway, channels, scheduler, and dispatcher together.
Where is the memory stored?
Conversation memory uses SQLite temporal memory and a layered wiki. The README says config and memory stay on the user's own machine.
Which AI models can it use?
It can switch between ten CLI backends, including Claude Code, Codex, and Grok, or any OpenAI-compatible API.
How do I install DuDuClaw?
In Claude Code run claude mcp add duduclaw -e DUDUCLAW_MCP_API_KEY=YOUR_DUDUCLAW_MCP_API_KEY -- npx -y duduclaw. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is DuDuClaw the official server?
DuDuClaw is a community project by zhixuli0406, not verified by a company domain.
Is DuDuClaw free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is DuDuClaw safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to DuDuClaw?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does DuDuClaw work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
