VB.coOperating AI™ — one intelligent layer for middle-market ops.
LLM.coPrivate, self-hosted LLMs & custom AI applications.
LAW.coSecure legal AI infrastructure for firms & legal teams.
Automatic.coAI-powered workflow & business process automation.
RFP.coAI RFP discovery & automated proposal responses.codebase-memory-mcp
A high-performance code intelligence engine that indexes entire codebases into a persistent knowledge graph in milliseconds, enabling sub-millisecond structural queries for AI coding agents. Shipped as a single static binary with 158 language support and zero runtime dependencies.
Key facts
Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.
| Field | Value |
|---|---|
| Repository | DeusData/codebase-memory-mcp |
| Owner | DeusData |
| Primary language | C |
| License | MIT — OSI-approved |
| Stars | 28.2k |
| Forks | 2.1k |
| Open issues | 209 |
| Latest release | v0.8.1 (2026-06-12) |
| Last updated | 2026-07-07 |
| Source | https://github.com/DeusData/codebase-memory-mcp |
What codebase-memory-mcp is
Tree-sitter AST-based codebase indexer with Hybrid LSP semantic resolution for 9 languages, producing a knowledge graph stored in SQLite. Achieves 120× token reduction and sub-ms query latency through LZ4-compressed in-memory pipeline with Aho-Corasick pattern matching. Exposes 14 MCP tools including architecture analysis, impact mapping, and Cypher queries.
Get the codebase-memory-mcp source
Clone the repository and explore it locally.
git clone https://github.com/DeusData/codebase-memory-mcp.gitcd codebase-memory-mcp# follow the project's README for install & configurationNeed it deployed, integrated, or customized instead? DEV.co ships production installs.
Best use cases
Implementation considerations
- Verify agent compatibility: tool auto-detects Claude Code, Cursor, Gemini CLI, Zed, VS Code, Aider, and 5 others; confirm your target IDE is listed before deployment.
- Plan storage for SQLite knowledge graph; documentation does not quantify disk usage per codebase size—test with representative repo before full rollout.
- Hybrid LSP semantic resolution requires language-specific servers (Python, TypeScript, Go, etc.); availability and configuration vary by language and must be verified pre-deployment.
- Graph visualization UI requires Node.js/web stack if UI variant used; standard binary variant has zero dependencies but lacks interactive exploration.
- Git watcher integration (`auto_watch`) runs background process; performance impact on large monorepos not quantified in documentation.
When to avoid it — and what to weigh
- Real-Time Collaborative Code Analysis — Designed for local indexing and persistence; no built-in support for concurrent multi-user sessions or real-time collaborative updates described in available documentation.
- Requirement for Proprietary Language Support Beyond 158 — Tree-sitter coverage is limited to vendored grammars; custom domain-specific languages not in the 158 supported set would require grammar development and recompilation.
- Strict Air-Gapped Environments Without Binary Distribution — Deployment requires downloading pre-built binaries; compiling from source in pure-C may require toolchain setup not typical in restricted environments.
- Fine-Grained Real-Time Semantic Analysis Without Indexing Delay — Linux kernel indexing takes 3 minutes; while fast, large codebases incur upfront indexing cost unsuitable for ultra-low-latency interactive scenarios.
License & commercial use
MIT License. Permissive OSI-approved license allowing unrestricted commercial use, modification, and distribution with no warranty. Requires preservation of copyright and license notices in distributions.
MIT is a permissive license explicitly allowing commercial use. No restrictions on proprietary deployment, resale, or integration into commercial products. Attribution (license notice) required but not legal endorsement.
DEV.co evaluation signals
Editorial assessment — not user reviews. Directional, with an explicit confidence level.
| Signal | Assessment |
|---|---|
| Maintenance | Active |
| Documentation | Strong |
| License clarity | Clear |
| Deployment complexity | Low |
| DEV.co fit | Strong |
| Assessment confidence | High |
Reads local codebase and writes to agent configuration files—threat model limited to local machine. Binaries signed, checksummed, and scanned by 70+ antivirus engines per release. All processing local; code does not leave the machine. No network calls described. SECURITY.md references present. No hardened runtime isolation, sandboxing, or access controls documented; suitable for trusted development environments.
Alternatives to consider
Sourcegraph
Enterprise code search and intelligence platform with server-based indexing, multi-user support, and web UI; but requires infrastructure deployment and lacks MCP agent integration.
Tabnine / GitHub Copilot (native)
Integrated AI code completion in IDEs with built-in contextual awareness; lightweight but less granular codebase structure querying and no graph-based architecture analysis.
Ctags / Universal Ctags + custom tools
Lightweight tag-based indexing; zero dependencies but lacks semantic resolution, AST parsing across 158 languages, and MCP protocol integration for agent orchestration.
Build on codebase-memory-mcp with DEV.co software developers
Download the latest release, run the one-line install, and start querying your codebase architecture in milliseconds. No configuration required.
Talk to DEV.coRelated open-source tools
Surfaced by semantic similarity across the DEV.co open-source index.
Related on DEV.co
Explore the category and the services that help you build with it.
codebase-memory-mcp FAQ
Does it work offline and locally?
What is the indexing time for large repos?
Which coding agents are supported?
Do I need Hybrid LSP for my language?
Software developers & web developers for hire
Adopting codebase-memory-mcp is usually one piece of a larger build. DEV.co provides custom software development services and web development — senior engineers working alongside your team to design, build, and operate mcp servers software in production.
Ready to Index Your Codebase?
Download the latest release, run the one-line install, and start querying your codebase architecture in milliseconds. No configuration required.
RMA.ai
Search.co
VDR.ai