Codebase Memory MCP server
io.github.DeusData/codebase-memory-mcp·v0.12.1·46k starsCodebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
not scanned yet
46k stars8.5k downloads/wk
Reviews
Write oneNobody has reviewed Codebase Memory yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Codebase Memory tools
No tool declarations could be read from the package source. They show once the server is installed.
How Codebase Memory compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 69/100
- higher than 33% of 48,255 servers
- GitHub stars
- 45,715
- more than 97% of 28,688 servers
- Downloads a week
- 8,544
- more than 95% of 12,191 servers with a package
Release history: 3 versions in the registry since 2026-09-15, latest 2026-10-17, typically one every 30 days.
Install Codebase Memory in Claude Code, Cursor or VS Code
Runs npx -y codebase-memory-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add codebase-memory-mcp -- npx -y codebase-memory-mcp
What the publisher says
From the Codebase Memory repository's README, as published. We do not edit it. Read it on GitHub
codebase-memory-mcp
The fastest and most efficient code intelligence engine for AI coding agents. Full-indexes an average repository in milliseconds, the Linux kernel (28M LOC, 75K files) in 3 minutes. Answers structural queries in under 1ms. Ships as a native executable with a small verified runtime-asset set for macOS, Linux, and Windows — download, run install, done.
High-quality parsing through tree-sitter AST analysis across all 162 languages, enhanced with Hybrid LSP semantic type resolution for Python, TypeScript / JavaScript / JSX / TSX, PHP, C#, Go, C, C++, Java, Kotlin, Rust, and Perl — producing a persistent knowledge graph of functions, classes, call chains, HTTP routes, and cross-service links. 15 MCP tools. No language runtime, hosted service, or API key. Plug and play across 45 supported automatic/conditional client surfaces.
Research — The design and benchmarks behind this project are described in the preprint Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCP (arXiv:2603.27277). Evaluated across 31 real-world repositories: 83% answer quality, 10× fewer tokens, 2.1× fewer tool calls vs. file-by-file exploration.
Security & Trust — This tool reads your codebase and writes to your agent configuration files. That is what it is designed to do. If you prefer to audit before running, the full source is here. For each release product, three behaviourally identical executable candidates (unstripped, debug-stripped, stripped) are submitted to VirusTotal before testing; the selected candidate is then packaged with its SHA-256 unchanged. Release notes link every measured candidate result. Publication permits only the narrowly documented single-Microsoft !ml tolerance in SECURITY.md. All processing happens 100% locally; your code never leaves your machine. Found a security issue? We want to know — see SECURITY.md. Security is Priority #1 for us.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Codebase Memory: common questions
- Is Codebase Memory MCP server safe?
- With care: it is graded C, so read the findings first (69/100). Read the Codebase Memory safety report
- How do I install Codebase Memory?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Codebase Memory need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Codebase Memory maintained?
- The last commit was 32 days ago (2026-10-03). The latest release is v0.12.1.
- What can I use instead of Codebase Memory?
- Servers from other publishers that do the same job: Neo4j Memory MCP server, Trace MCP server and Honcho MCP server.
- How does Codebase Memory compare with other MCP servers?
- safety score 69/100 (higher than 33% of 48,255 servers); github stars 45,715 (more than 97% of 28,688 servers); downloads a week 8,544 (more than 95% of 12,191 servers with a package). Full comparison.
Alternatives to Codebase Memory
Same job from other publishers: the closest match first, then the best rated.
- Neo4j MemoryMCP Neo4j Knowledge Graph Memory Servernot reviewedEstablishedA
TraceCode graph MCP: 81 languages, 91 frameworks, 72.7% fewer PR-review tokens, comprehension at paritynot reviewedEstablishedA- HonchoMemory that reasons: continual learning for stateful agents. Better context, fewer tokens.not reviewedEstablishedA
State Memory MCPPersistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.not reviewedEstablishedA