codegraph vs codebase-memory-mcp
Two of the top mcp servers for developers, side by side: score, setup, license, activity and what each review found.
codegraph
Local code knowledge graph served to coding agents over MCP
codebase-memory-mcp
MCP server that indexes codebases into a queryable knowledge graph
| What we compare | codegraph | codebase-memory-mcp |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 92, widely used | 47, known |
| Freshness | 100, active | 100, active |
| Maintenance | 91, healthy | 81, healthy |
| Easy to run | 50, easy | 50, easy |
| Agent-ready | 85, ready | 0, none |
| Facts from GitHub and the README | ||
| Stars | 73.7k | 46.3k |
| License | MIT (permissive) | MIT (permissive) |
| Last commit | Oct 2026 | Oct 2026 |
| Last release | Oct 2026 | Sep 2026 |
| Language | C | C |
| Docker | No | No |
| GPU | Not needed | Not needed |
| arm64 or Apple Silicon | Mentioned | Mentioned |
codegraph
CodeGraph indexes a project into a local graph of symbols, call edges and dependencies under `.codegraph/`, then exposes it to coding agents through an MCP server. Agents can fetch relevant source, call paths and change impact in one call instead of grepping and reading files. `codegraph install` wires it into Claude Code, Cursor, Codex CLI, opencode, Gemini CLI, Kiro, GitHub Copilot and others, and auto-sync keeps the index current.
Who it is for: Developers using AI coding agents on mid-to-large codebases
Strengths
- Runs locally; no Node.js needed, ships as a bundled installer or npm package
- One `codegraph install` configures MCP for nine named agents and IDEs
- Covers 30+ languages, including TypeScript, Python, Go, Rust, Java, C#, Swift
- Watches files and updates the graph automatically; no manual re-index
Weaknesses
- README admits about 80% more retrieval context stays resident in long sessions
- Published benchmarks are the author's, on 7 repos with one question each
- No Docker or compose setup; install is via curl/PowerShell script or npm
- Hosted CodeGraph platform is a waitlist product, separate from this repo
- no GPU
codebase-memory-mcp
A native C executable that parses repositories with tree-sitter (162 languages) into a persistent graph of functions, classes, call chains, HTTP routes and cross-service links, and exposes it through 17 MCP tools. It adds semantic search with bundled embeddings, Cypher-like queries, dead code detection, git diff impact mapping and a built-in 3D graph UI. Processing is local, and `install` configures detected coding-agent clients.
Who it is for: Developers giving coding agents structural code search over local repos
Strengths
- Runs locally with no API key, hosted service or language runtime
- Bundled embeddings enable semantic search without Ollama or Docker
- Covers 162 languages; Hybrid LSP type resolution for 10 of them
- Releases are VirusTotal-scanned and SLSA 3 attested
Weaknesses
- Updates require re-running the install script; `update` only prints the command
- Defender may flag release binaries as a false positive, per the README
- All active processes must share the exact same build and cache root
- Watcher covers only git projects opened in MCP sessions, by default
- no GPU
- Models: nomic-embed-code (bundled, int8, 768d)
- port 9749