
ThoughtDAG MCP Server
by chenxiachanio.github.chenxiachan/thoughtdagv0.2.2
Search local AI-agent conversation history by file or exact phrase and recall original source turns through four read-only tools.
context tax
~393 tok/turn4 tools
security
97/100
cold start
0 ms
freshness
Active27d ago
Our reading of ThoughtDAG, from the data
ThoughtDAG is a notes & knowledge MCP server from chenxiachan, listed in the official MCP Registry.
Its 4 tools add about 393 tokens to every model turn, lighter than the notes & knowledge median of 1,784 tokens across 87 measured servers (measured 2026-10-23).
Maintenance is active: the last public signal was 27 days ago (2026-10-15). For comparison, 70% of notes & knowledge servers are active or maintained.
With 655 GitHub stars it ranks #34 of 1,114 notes & knowledge servers we index.
It runs locally on your machine over stdio.
Install ThoughtDAG MCP server
Install in Claude Code
claude mcp add cli-chenxiachan -- npx -y thoughtdag mcpInstall in Cursor
{
"mcpServers": {
"cli-chenxiachan": {
"command": "npx",
"args": [
"-y",
"thoughtdag",
"mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"cli-chenxiachan": {
"command": "npx",
"args": [
"-y",
"thoughtdag",
"mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"cli-chenxiachan": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"thoughtdag",
"mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"cli-chenxiachan": {
"command": "npx",
"args": [
"-y",
"thoughtdag",
"mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test thoughtdag
Context tax
Connecting this server adds ~393 tokens of tool definitions to every model turn (lean, 4 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $1.57 | $0.079 |
| Claude Sonnet 5.5 | $0.786 | $0.079 |
| Claude Haiku 5.5 | $0.039 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (4)
why_file135 tokThe turns across local Claude Code, Codex, DeepSeek Harness, Pi and ThoughtDAG sessions that touched a file, URL or paper: when, what changed (Δ, observed), what was asked, what the answer said about it (≈, a candidate explanation, not a verified reason). Each hit carries a deep link.
find106 tokWhere these exact words were asked (Q), answered (A) or attached (M) across local sessions, canvases and the memories Claude Code and Codex keep for themselves. Exact, case-insensitive match; every hit is a verbatim snippet with a pointer.
why_check76 tokCheap first question before editing a file: does this artifact have any history in local agent sessions? One line; history true/false.
recall_turn74 tokOne turn in full — the question, the answer, the tool calls with their diffs — by session id (or prefix) and turn number as shown by why_file.
Security signals
97/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 27d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-15 · 27d ago · GitHub
Latest release
2026-10-14 · 28d ago · GitHub · v0.5.19
Package published
no data · npm/PyPI
Registry entry updated
2026-09-27 · 45d ago · official registry · v0.2.2
How it compares in Notes & Knowledge
Against the most-starred notes & knowledge servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| ThoughtDAG (this) | 655 | 4 | 393 | Active | local |
| Memory | 91,356 | 9 | 949 | Active | local |
| Context7 | 63,264 | 2 | 1,188 | Active | local + hosted |
| Hindsight | 51,304 | — | not measured | Active | — |
| Cognee | 32,506 | — | not measured | Active | — |
| Docs | 28,892 | 13 | 3,429 | Active | local |
FAQ
›How do I install the ThoughtDAG MCP server in Claude Code?
Run: claude mcp add cli-chenxiachan -- npx -y thoughtdag mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does ThoughtDAG require an API key?
No required environment variables are declared in its published metadata.
›Can I use ThoughtDAG as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is ThoughtDAG in the official MCP registry?
Yes, as io.github.chenxiachan/thoughtdag.
›How many tokens does ThoughtDAG add to my context?
Its tool definitions total about 393 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2026-09-27
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to ThoughtDAG
Other notes & knowledge MCP servers.