codebase-memory-mcp (DeusData)
https://github.com/DeusData/codebase-memory-mcp
High-performance MCP server building persistent code knowledge graphs via AST. 155 languages via vendored tree-sitter; SQLite + WAL; single static binary; zero runtime deps. Knowledge graph: Project/Package/File/Module/Class/Function/Method/Interface/Enum/Type/Route/Resource nodes; CALLS/IMPORTS/DEFINES/IMPLEMENTS/INHERITS/HTTP_CALLS/ASYNC_CALLS/EMITS/LISTENS_ON/DATA_FLOWS/SIMILAR_TO/SEMANTICALLY_RELATED edges. 14 MCP tools incl. Cypher-like query.
Active · Verified 2026-10-22 · fresh as of 2026-10-22 · 57 cited facts, 1 with a third-party source · 1 recorded change · Suggest a correction
At a glance
- Type
- Tree-sitter knowledge-graph MCP for code repo fix
- Tier
- T1
- Section
- Claude Code memory mechanisms
- Latest release
- v0.11.0 (2026-09-15) repo fix
- Pricing
- free / open source (MIT); no paid tier repo fix
- Funding
- searched not found fix
- Freshness
- 2026-10-22 fix
- Layer
- agent-infra repo fix
- Licensing
- open-source repo fix
- Protocols
- mcp-server repo fix
- Developer activity
- OpenRank 28.89 (12-mo avg 9.91) · 220 participants — 2026-09 third-party fix
Memory taxonomy
- storage
- graph
- retrieval
- structural-query
- persistence
- project-bound
- update
- replacement
- unit
- fact
- governance
- user-controllable
- conflict
- deterministic-overwrite
When to use
Optimised for: structural code knowledge graphs (token-efficient; 99.2% reduction vs grep) + sub-ms queries + 155-language tree-sitter coverage
Anti-fit: not for non-code memory; not for natural-language conversation memory; SEMANTICALLY_RELATED edges require optional embedding pipeline
Pros & cons
Pros
Single-binary zero-deps deployment; 155-language tree-sitter coverage; structural queries replace grep at 120x fewer tokens; SLSA-3 + Sigstore + VirusTotal; team-shared graph artifact format; preprint with reproduction-friendly evaluation.
Cons
Preprint not peer-reviewed; founders/company opaque (DeusData has no disclosed principals); no managed/cloud option; SEMANTICALLY_RELATED edges depend on optional embedding pipeline.
Claims & capabilities
Linux kernel (28M LOC, 75K files) indexed in 3 min; sub-ms queries; 99.2% token reduction (3,400 vs 412,000); 120x fewer tokens vs grep; preprint reports 83% answer quality + 2.1x fewer tool calls across 31 repos
Technical surface
- API surface
- MCP (stdio) — 14 tools incl. index_repository / search_graph / trace_call_path / query_graph (Cypher-like) / get_architecture / detect_changes / manage_adr / search_code / get_code_snippet / ingest_traces / list_projects / delete_project / index_status / get_graph_schema
- Backend storage
- SQLite (WAL mode) at ~/.cache/codebase-memory-mcp/
- Deployment
- Local — single static binary (macOS arm64/amd64; Linux arm64/amd64; Windows amd64)
- Embedding model
- not applicable — structural graph (no embedding model required); SEMANTICALLY_RELATED edges optional
- Multi-tenancy
- not applicable — single-user local
- MCP
- native (first-party MCP server)
- A2A
- not supported
- OpenTelemetry
- searched not found
Compare codebase-memory-mcp (DeusData) with…
Alternatives to codebase-memory-mcp (DeusData) → live options ranked by shared design, licence, hosting and MCP support
Similar systems
Other claude code memory mechanisms in the catalog, ranked by inbound references.
- Official MCP Memory server T1
Knowledge-graph-based persistent memory MCP server — the canonical reference implementation. npx -y @modelcontextprotocol/server-memory ; configurable via MEMORY_FILE_PATH .
- Claude Code auto-memory T1
Persistent file-based memory at ~/.claude/projects/<project>/memory/ with a MEMORY.md index plus typed memory files (user / feedback / project / reference). Loaded into context across sessions.
- claude-brain T2
Claude Code plugin packaging of Memvid (see Dedicated memory layers). Wraps the Memvid .mv2 single-file store as a slash-command-installable plugin so per-project memory becomes a git-committable file inside the repo.
- Claude-CursorMemoryMCP T2
FastAPI server. RBAC + API-key auth, encryption, backup/recovery, embedding pipeline with deduplication. Only server in this list with role-based access control over pgvector.
- claude-mem T1
Hooks into Claude Code's session lifecycle; compresses tool outputs into ~500-token observations via Claude's agent SDK. SQLite + FTS5 with optional Chroma vector. "Endless Mode" compresses in-flight to extend session length. Captures what the agent did , not just what the user typed.
- claude-supermemory T2
Wraps Supermemory cloud API. Team memory shared across project members, separate from personal memories. Auto-capture on session end; per-repo config.
Sources (56 cited facts, 1 third-party)
Each fact links to the page it came from; the badge says who published it (how to read sources).
- What it is Tree-sitter knowledge-graph MCP for code repo
- What it does & what's distinct High-performance MCP server building persistent code knowledge graphs via AST. 155 langu… repo
- Claims / benefits Linux kernel (28M LOC, 75K files) indexed in 3 min; sub-ms queries; 99.2% token reductio… paper
- Modalities text (source code; AST) repo
- Created 2026 (active 2026 release cadence; latest v0.6.1 2026-05-04) repo
- Latest release v0.11.0 (2026-09-15) repo
- License MIT repo
- GitHub DeusData/codebase-memory-mcp — ~43.3k stars, last release 2026-09 repo
- Mindshare 2.1k GitHub stars; preprint arXiv:2603.27277; SLSA-3 + Sigstore reputation repo
- Citations arXiv:2603.27277 preprint (no peer-reviewed citations yet) paper
- Customers / scale 11 agent integrations (Claude Code/Codex CLI/Gemini CLI/Zed/OpenCode/Antigravity/Aider/K… repo
- Pricing free / open source (MIT); no paid tier repo
- Data handling All processing local; code never leaves machine; SQLite-backed repo
- Deployment Local — single static binary (macOS arm64/amd64; Linux arm64/amd64; Windows amd64) repo
- Founders / pedigree DeusData (open-source studio; no public principals/founders disclosed) repo
- Memory volume / scale Linux kernel (28M LOC) demonstrated; SQLite scales to multi-GB graphs repo
- Performance Linux kernel index 3 min; sub-ms queries; 99.2% token reduction repo
- Reproducibility Preprint claims 83% answer quality + 2.1x fewer tool calls across 31 repos (independent … paper
- Code/weights release Code public + binaries public (no weights — non-ML) repo
- API surface MCP (stdio) — 14 tools incl. index_repository / search_graph / trace_call_path / query_g… repo
- Latency p50/p99 sub-millisecond query (vendor-reported) repo
- Throughput 3 min for 28M LOC index (vendor-reported) repo
- Backend storage SQLite (WAL mode) at ~/.cache/codebase-memory-mcp/ repo
- Encryption filesystem-level (OS) repo
- Consistency strong (SQLite WAL) repo
- Versioning detect_changes tool (incremental update) repo
- Tombstoning delete_project supported repo
- Schema evolution fixed graph schema (get_graph_schema tool exposes it) repo
- Namespace primitives per-project (list_projects) repo
- Contradiction handling re-index overwrites (deterministic; ADR tool tracks decisions explicitly) repo
- Forgetting policy re-index replaces stale; LSP-style hybrid type resolution repo
- MCP support native (first-party MCP server) repo
- A2A support not supported repo
- Webhooks / events no — local CLI/MCP repo
- Import / export SQLite + .codebase-memory/graph.db.zst (team-shared artifact) repo
- Orchestration both (single-agent local; team-shared via .codebase-memory/graph.db.zst artifact) repo
- Validated verticals coding agents (11 IDE/CLI integrations: Claude Code/Codex CLI/Gemini CLI/Zed/OpenCode/An… repo
- Time to running <10min (single static binary install + index_repository call) repo
- Anti-fit not for non-code memory; not for natural-language conversation memory; SEMANTICALLY_RELA… repo
- Optimised for structural code knowledge graphs (token-efficient; 99.2% reduction vs grep) + sub-ms que… repo
- Adjacent infrastructure self-contained binary + SQLite WAL; MCP client (Claude Code/Codex CLI/etc.); no LLM lock… repo
- Pros Single-binary zero-deps deployment; 155-language tree-sitter coverage; structural querie… repo
- Cons Preprint not peer-reviewed; founders/company opaque (DeusData has no disclosed principal… repo
- Project & sources GitHub repo; arXiv preprint 2603.27277; releases page repo
- commit-trajectory [{"ym":"2026-02","cum":40},{"ym":"2026-03","cum":372},{"ym":"2026-04","cum":479},{"ym":"… repo
- cost-input-usd-per-mtok 0 repo
- cost-output-usd-per-mtok 0 repo
- cost-tier free repo
- cost-pricing-model free-tier repo
- cost-last-verified 2026-06-29 repo
- architecture-deployment-locus local repo
- licensing-bucket open-source repo
- positioning-platform-vs-product product repo
- taxonomy-three-layer-rollup agent-infra repo
- developer-activity-opendigger {"activity":429.14,"as_of":"2026-09","openrank_12mo":9.91,"openrank_current":28.89,"part… third-party
- protocol-support mcp-server repo
What changed
Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)
Related systems
References (2)
- Anthropic Claude (foundation models) depends on at runtime — adjacent-infrastructure cell: self-contained binary + SQLite WAL; MCP client (Claude Code/Codex CLI/etc.); no LLM lock-in
- Model Context Protocol (MCP spec) depends on at runtime — adjacent-infrastructure cell: self-contained binary + SQLite WAL; MCP client (Claude Code/Codex CLI/etc.); no LLM lock-in