|
4 | 4 | <meta charset="UTF-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | 6 | <title>codebase-memory-mcp — Code Intelligence Knowledge Graph for AI Coding Agents</title> |
7 | | - <meta name="description" content="codebase-memory-mcp is an open-source MCP server that indexes any codebase into a persistent knowledge graph so AI coding agents answer structural questions with ~120x fewer tokens. 158 languages, Hybrid LSP type resolution, local semantic vector search, code-clone detection, sub-1ms queries, Linux kernel indexed in 3 minutes. Single static C binary, zero dependencies. Works with 11 agents including Claude Code, Codex CLI, Gemini CLI, Cursor, and Zed."> |
| 7 | + <meta name="description" content="codebase-memory-mcp is an open-source MCP server that indexes any codebase into a persistent knowledge graph so AI coding agents answer structural questions with ~120x fewer tokens. 158 languages, Hybrid LSP type resolution, local semantic vector search, code-clone detection, sub-1ms queries, Linux kernel indexed in 3 minutes. Single static C binary, zero dependencies. One command configures 43 automatic/conditional client surfaces."> |
8 | 8 | <meta name="keywords" content="MCP server, code intelligence, knowledge graph, tree-sitter, Hybrid LSP, semantic code search, code embeddings, code clone detection, cross-repo analysis, data-flow analysis, Claude Code, Codex CLI, Gemini CLI, Cursor, Zed, code exploration, token reduction, call graph, dead code detection"> |
9 | 9 | <meta name="author" content="DeusData"> |
10 | 10 | <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1"> |
|
56 | 56 | "featureList": [ |
57 | 57 | "Indexes 158 programming languages via vendored tree-sitter grammars", |
58 | 58 | "Hybrid LSP semantic type resolution for Python, TypeScript/JavaScript, PHP, C#, Go, C/C++, Java, Kotlin, and Rust", |
59 | | - "14 MCP tools for structural search, call-path tracing, and Cypher graph queries", |
| 59 | + "15 MCP tools for structural search, call-path tracing, targeted coverage checks, and Cypher graph queries", |
60 | 60 | "Semantic vector code search via bundled nomic-embed-code embeddings (no API key, fully local)", |
61 | 61 | "Semantic graph edges (SEMANTICALLY_RELATED) and near-clone detection (SIMILAR_TO, MinHash + LSH)", |
62 | 62 | "Cross-service linking for HTTP, gRPC, GraphQL, tRPC, and pub/sub channels with confidence scoring", |
|
68 | 68 | "Infrastructure-as-code indexing for Dockerfiles, Kubernetes, and Kustomize", |
69 | 69 | "Built-in 3D graph visualization UI", |
70 | 70 | "Auto-sync background watcher for incremental re-indexing", |
71 | | - "One-command install for 11 AI coding agents" |
| 71 | + "One command configures 43 automatic/conditional client surfaces" |
72 | 72 | ], |
73 | 73 | "author": { |
74 | 74 | "@type": "Organization", |
|
157 | 157 | "name": "Which AI coding agents work with codebase-memory-mcp?", |
158 | 158 | "acceptedAnswer": { |
159 | 159 | "@type": "Answer", |
160 | | - "text": "A single install command configures 11 agents: Claude Code, Codex CLI, Gemini CLI, Zed, OpenCode, Antigravity, Aider, KiloCode, VS Code, OpenClaw, and Kiro. Any MCP-compatible client can use the server." |
| 160 | + "text": "A single install command configures 43 automatic/conditional client surfaces. The 37 detected surfaces are Claude Code, Codex CLI, Gemini CLI, Zed, OpenCode, Antigravity, Aider, KiloCode, VS Code, Cursor, Windsurf, Augment / Auggie, OpenClaw, Kiro, Junie, Hermes, OpenHands, Cline, Warp, Qwen Code, GitHub Copilot CLI, Factory Droid, Crush, Goose, Mistral Vibe, Qoder CLI, Kimi Code CLI, GitLab Duo CLI, Rovo Dev CLI, Amp, Devin CLI / Local, Tabnine, Amazon Q Developer IDE, CodeBuddy Code CLI, IBM Bob Shell, Pochi, and Pi. Continue / cn, Visual Studio, TRAE, Roo Code, IBM Bob IDE, and Sourcegraph Cody are conditional or explicit integrations. Qodo, Warp MCP, JetBrains AI/ACP, GitHub Copilot coding agent, Jules, CodeRabbit, Replit, BLACKBOX AI, Plandex, and SWE-agent require manual, UI, cloud, or repository-managed setup and are not counted among the 43." |
161 | 161 | } |
162 | 162 | }, |
163 | 163 | { |
@@ -450,7 +450,7 @@ <h1>codebase-memory-mcp</h1> |
450 | 450 | <div class="stat"><div class="number">~120x</div><div class="label">fewer tokens</div></div> |
451 | 451 | <div class="stat"><div class="number">158</div><div class="label">languages</div></div> |
452 | 452 | <div class="stat"><div class="number">3 min</div><div class="label">Linux kernel index</div></div> |
453 | | - <div class="stat"><div class="number">11</div><div class="label">agents supported</div></div> |
| 453 | + <div class="stat"><div class="number">43</div><div class="label">client surfaces</div></div> |
454 | 454 | </div> |
455 | 455 | <div class="cta-buttons"> |
456 | 456 | <a href="https://github.com/DeusData/codebase-memory-mcp" class="cta-primary">View on GitHub</a> |
@@ -521,15 +521,54 @@ <h2>How do I install codebase-memory-mcp?</h2> |
521 | 521 | <div class="install-block"> |
522 | 522 | <span class="comment"># 1. One-line install (macOS / Linux). Add --ui for the 3D graph UI.</span><br> |
523 | 523 | <span class="cmd">curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash</span><br><br> |
524 | | - <span class="comment"># 2. The installer auto-detects and configures every installed agent.</span><br><br> |
| 524 | + <span class="comment"># 2. The installer configures detected clients; explicit flags cover conditional clients.</span><br><br> |
525 | 525 | <span class="comment"># 3. Restart your agent, then say:</span><br> |
526 | 526 | <span class="cmd">"Index this project"</span> |
527 | 527 | </div> |
528 | 528 | <p class="muted"> |
529 | | - One command configures all 11 supported agents: Claude Code, Codex CLI, Gemini CLI, Zed, OpenCode, |
530 | | - Antigravity, Aider, KiloCode, VS Code, OpenClaw, and Kiro — with MCP entries, instruction files, and |
531 | | - pre-tool hooks for each. Windows users run <code>install.ps1</code>. Also available via |
532 | | - <code>npm</code>, <code>pip</code>, Homebrew, Scoop, Winget, Chocolatey, AUR, and <code>go install</code>. |
| 529 | + One command configures 43 automatic/conditional client surfaces. <strong>Detected automatically (37):</strong> |
| 530 | + Claude Code, Codex CLI, Gemini CLI, Zed, OpenCode, Antigravity, Aider, KiloCode, VS Code, Cursor, |
| 531 | + Windsurf, Augment / Auggie, OpenClaw, Kiro, Junie, Hermes, OpenHands, Cline, Warp, Qwen Code, |
| 532 | + GitHub Copilot CLI, Factory Droid, Crush, Goose, Mistral Vibe, Qoder CLI, Kimi Code CLI, |
| 533 | + GitLab Duo CLI, Rovo Dev CLI, Amp, Devin CLI / Local, Tabnine, Amazon Q Developer IDE, |
| 534 | + CodeBuddy Code CLI, IBM Bob Shell, Pochi, and Pi. |
| 535 | + </p> |
| 536 | + <p class="muted"> |
| 537 | + <strong>Conditional or explicit (6):</strong> Continue / cn, Visual Studio, TRAE, Roo Code, IBM Bob IDE, |
| 538 | + and Sourcegraph Cody. <strong>Manual, UI, cloud, or repository-managed (not counted):</strong> Qodo, |
| 539 | + Warp MCP, JetBrains AI/ACP, GitHub Copilot coding agent, Jules, CodeRabbit, Replit, BLACKBOX AI, |
| 540 | + Plandex, and SWE-agent. Warp is counted above for its detected skill installation; its MCP connection |
| 541 | + remains manual. Windows users run <code>install.ps1</code>. Also available via <code>npm</code>, |
| 542 | + <code>pip</code>, Homebrew, Scoop, Winget, Chocolatey, AUR, and <code>go install</code>. |
| 543 | + </p> |
| 544 | + <p class="muted"> |
| 545 | + Lifecycle installation follows documented context contracts: Qoder uses <code>SessionStart</code>, |
| 546 | + <code>SubagentStart</code>, and post-<code>Read</code> coverage, including its documented Windows |
| 547 | + PowerShell executor. Kimi uses <code>UserPromptSubmit</code>; |
| 548 | + on macOS/Linux, GitLab Duo gets a fail-open user <code>SessionStart</code>, while Devin gets |
| 549 | + <code>UserPromptSubmit</code>, <code>PostCompaction</code>, and a deduplicated <code>SessionStart</code> |
| 550 | + when Claude does not already provide it. GitLab Duo, Devin, and Factory hooks are withheld on |
| 551 | + Windows where no deterministic shell/executor contract is documented. Cline's auto-activating file hooks |
| 552 | + are withheld because their context output is not reliably consumed; CodeBuddy's beta hooks are not |
| 553 | + auto-installed; Junie's EAP |
| 554 | + <code>SessionStart</code> output is documented as ignored; and Cursor context hooks are withheld because |
| 555 | + the documented events cannot safely provide race-free MCP context to read-only subagents. |
| 556 | + </p> |
| 557 | + <p class="muted"> |
| 558 | + Documented custom-agent formats receive three exact-owned evidence tiers: Scout for narrow provisional |
| 559 | + discovery, Verify as the task-directed default, and Auditor for bounded, paginated, current-generation |
| 560 | + verification. Every direct tier calls <code>check_index_coverage</code> for cited paths and relevant scopes, |
| 561 | + then reads flagged ranges or skipped files directly. Kiro and Junie use positive-allowlist |
| 562 | + <code>--tool-profile scout</code> and <code>--tool-profile analysis</code> server surfaces; |
| 563 | + Junie selects dedicated named aliases because its subagent schema filters by server. |
| 564 | + Qoder combines named-server selection with exact tier-specific MCP tool IDs. Factory uses |
| 565 | + exact registered tool IDs without its additive whole-server <code>mcpServers</code> field. |
| 566 | + A foreign Junie alias is preserved and causes the installed profiles to fail closed to parent handoff. |
| 567 | + Cursor, Rovo, Augment, Pochi, and Cline use explicit |
| 568 | + parent handoff where direct child MCP is unavailable or unsafe; Pochi is limited to <code>readFile</code>. |
| 569 | + Neither IBM Bob surface receives an invented hook or custom agent. Amazon Q Developer |
| 570 | + IDE defaults to <code>~/.aws/amazonq/default.json</code> while preserving either existing documented |
| 571 | + alternative. |
533 | 572 | </p> |
534 | 573 | </section> |
535 | 574 |
|
@@ -699,8 +738,8 @@ <h3>3D graph visualization</h3> |
699 | 738 | <p>An optional UI binary serves an interactive 3D graph at <code>localhost:9749</code> to explore nodes, edges, and clusters visually.</p> |
700 | 739 | </div> |
701 | 740 | <div class="feature"> |
702 | | - <h3>14 MCP tools</h3> |
703 | | - <p><code>search_graph</code>, <code>trace_path</code>, <code>detect_changes</code>, <code>query_graph</code> (Cypher), <code>get_architecture</code>, <code>get_code_snippet</code>, <code>manage_adr</code>, and 7 more.</p> |
| 741 | + <h3>15 MCP tools</h3> |
| 742 | + <p><code>search_graph</code>, <code>trace_path</code>, <code>detect_changes</code>, <code>query_graph</code> (Cypher), <code>get_architecture</code>, <code>get_code_snippet</code>, <code>check_index_coverage</code>, <code>manage_adr</code>, and 7 more.</p> |
704 | 743 | </div> |
705 | 744 | <div class="feature"> |
706 | 745 | <h3>Cypher graph queries</h3> |
|
0 commit comments