AUTOMATIONSWITCH
CommunityAI / ML

Codebase Memory MCP

by DeusData

High-performance code intelligence MCP server for AI coding agents. Indexes a codebase into a queryable knowledge graph in milliseconds, with 14 MCP tools spanning structural search, call-chain tracing, impact analysis, dead-code detection, and Cypher queries. Single static C binary, 66 languages via tree-sitter, zero runtime dependencies.

1,929·9 tools·Released FEB 2026·MIT
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
Share:

The most active server in this batch and one of the highest-momentum projects in the entire directory. 100 commits in the last 30 days, 31 releases shipped in 9 weeks since first commit, and a peer-style arXiv preprint backing the architecture. Indexes the Linux kernel (28M LOC, 75K files) in 3 minutes, answers structural queries in under 1ms, and ships as a single static C binary with zero dependencies. SLSA Level 3 attestation bundles ship with every release. Designed for AI coding agents that need persistent code intelligence across sessions: tree-sitter AST parsing across 66 languages plus LSP-style hybrid type resolution for Go, C, and C++. The arXiv preprint (2603.27277) reports the trade-off: 83% answer quality versus 92% for a file-exploration agent, achieved at 10x fewer tokens across 31 real-world repositories. The pitch is the cost-quality curve, slightly lower raw quality at dramatically lower token cost, which matters when agents work in large repositories session after session.

Reviewed by M. Nouriel · APR 2026

INSTALL THIS SERVER

{ "mcpServers": { "codebase-memory": { "command": "codebase-memory-mcp" } } }
PrereqInstall via the one-line script: `curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash`. The install script auto-detects supported coding agents and configures MCP entries plus pre-tool hooks for each. Review the script before running on locked-down hosts. Optional `--ui` flag adds the 3D graph visualization at localhost:9749. Path: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
{ "mcpServers": { "codebase-memory": { "command": "codebase-memory-mcp" } } }
{ "mcpServers": { "codebase-memory": { "command": "codebase-memory-mcp" } } }
{ "mcpServers": { "codebase-memory": { "command": "codebase-memory-mcp" } } }
{ "mcpServers": { "codebase-memory": { "command": "codebase-memory-mcp" } } }

9 TOOLS AVAILABLE

search
Structural search across the indexed graph (functions, classes, files)
Read
trace
Trace call chains and dependency paths through the codebase
Read
architecture
High-level architectural queries against the indexed graph
Read
impact_analysis
Compute the blast radius of a proposed change
Read
cypher_query
Run Cypher graph queries against the knowledge graph
Read
dead_code
Detect unused symbols and unreachable functions
Read

OUR ASSESSMENT

Strengths
  • 100 commits in the last 30 days with 31 releases shipped; the most actively developed server in this batch.
  • Single static binary with zero runtime dependencies (no Docker, no Node, no Python).
  • 66 languages via vendored tree-sitter grammars compiled into the binary.
  • LSP-style hybrid type resolution for Go, C, and C++.
  • Auto-detects 11 coding agents (Claude Code, Codex CLI, Gemini CLI, Zed, OpenCode, Antigravity, Aider, KiloCode, VS Code, OpenClaw, Kiro) on install.
  • SLSA Level 3 attestation bundles per release; binaries are signed and checksummed.
  • Optional 3D graph UI for human exploration of the knowledge graph.
  • Infrastructure-as-code indexing: Dockerfiles, Kubernetes manifests, Kustomize overlays as graph nodes with cross-references.
  • Local-only processing; codebase data stays on the operator machine.
Weaknesses
  • C codebase requires C build toolchain for source-level audits; most operators consume the binary.
  • 9-week project age means edge-case behaviour is still maturing despite the high commit count.
  • arXiv preprint is preprint status; the published benchmarks reflect the maintainer evaluation harness.
Security Notes

All processing happens locally; codebase data stays on the host machine. Release binaries are signed and checksummed; SLSA Level 3 attestation bundles ship alongside each binary asset. The install command writes to agent configuration files (Claude Code, VS Code, etc.) and pre-tool hooks; review the install script before running on locked-down hosts. OpenSSF Scorecard score: 5.8/10. Source is fully open at github.com/DeusData/codebase-memory-mcp for audit.

Best For

AI coding agents working in large repositories where token cost matters, teams operating polyglot codebases (66 supported languages), and engineers wanting structural impact analysis (caller graphs, HTTP route dependencies, blast-radius queries).

TECHNICAL DETAILS

Language
c
Transport
stdio
Clients
Claude DesktopClaude CodeCursorVS CodeWindsurf
License
MIT
GitHub
npm
codebase-memory-mcp
Last Release
v0.6.0APR 6, 2026
First Released
FEB 24, 2026

ADOPTION METRICS

// GitHub Stars
1,929

// Reading this1,929 stars and 216 forks in the first 9 weeks of the project. arXiv preprint and SLSA Level 3 attestations elevate the trust signal.

// Popularity Rank
#5
Globally · #1 in AI / ML

// Reading thisFirst-ranked in ai-ml category; near top-5 globally by recent activity and editorial weight.

SOURCES & VERIFICATION

We don't take any single directory's word for it. Before scoring, we cross-reference 5 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.

01
Discovered
Manual submission
First indexed APR 29, 2026
02
Cross-referenced
5 directories
PulseMCP, MCP.so, Glama, Smithery, Official MCP Registry
03
Verified against
Claude Code, Codex CLI, Gemini CLI, Zed, VS Code, Cursor, Windsurf
Installed and tested across clients
04
Last re-checked
APR 29, 2026
Weekly re-verification
// How other directories see it

The same server, 5 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.

SourceTheir ratingTheir star countTheir downloadsLast synced
AutomationSwitch This page4.6editorial1,929APR 29, 2026
PulseMCP— unratedunavailableunavailableAPR 29, 2026
MCP.so— unratedunavailableunavailableAPR 29, 2026
Glama— unratedunavailableunavailableAPR 29, 2026
Smithery— unratedunavailableunavailableAPR 29, 2026
Official MCP Registry— unratedunavailableunavailableAPR 29, 2026

// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.

// Get in touch

DISCUSS YOUR
MCP REQUIREMENTS.

Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.

Discuss Your MCP Requirements →