codebase-memory-mcp
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
codebase-memory-mcp is a high-performance code intelligence AI sub-agent that indexes codebases into persistent knowledge graphs. Built in pure C as a single static binary with zero dependencies, it supports 158 programming languages and delivers sub-millisecond query responses. The tool parses entire repositories in milliseconds using tree-sitter AST analysis, reducing token consumption by 99% compared to file-by-file exploration while providing structural queries, call graphs, and cross-service linking for AI coding agents.
Key Features
Use Cases
- 01Enable AI coding agents to navigate large codebases efficiently by querying structural relationships instead of reading entire files
- 02Trace function call chains and identify dead code across multi-file projects with import-aware analysis
- 03Map uncommitted git changes to affected symbols with automated risk classification for impact analysis
- 04Discover architectural boundaries and functional modules through Louvain community detection on call graphs
- 05Link HTTP routes to their implementations and track cross-service dependencies in microservice architectures
- 06Share compressed knowledge graph snapshots with team members to avoid redundant indexing on cloned repositories
Related Agents
View moreunsloth
Local UI to run and train LLMs and diffusion models, including Qwen3.8, Kimi K3, MiniMax-H3, Gemma 4, DeepSeek-V4, FLUX and more.
codegraph
Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, and Hermes Agent — fewer tokens, fewer tool calls, 100% local
claude-code-best-practice
from vibe coding to agentic engineering - practice makes claude perfect
system_prompts_leaks
Extracted system prompts from Anthropic - Claude Fable 5, Opus 5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-5.6-Sol, Codex. Google - Gemini 3.5 Flash, 3.1 Pro, Antigravity. xAI - Grok, Cursor, Copilot, VS Code, Perplexity, and more. Updated regularly.
codebase-memory-mcp — FAQ
What is codebase-memory-mcp?+
codebase-memory-mcp is an AI sub-agent that builds persistent knowledge graphs from source code, enabling AI coding assistants to answer structural queries about functions, classes, call chains, and cross-service dependencies. It runs entirely locally with no external services or API keys required.
How do I install codebase-memory-mcp?+
Run the one-line installer for macOS/Linux: curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash. On Windows, download install.ps1, unblock it with Unblock-File, and execute it in PowerShell. The installer auto-detects and configures supported AI clients.
Which AI clients work with codebase-memory-mcp?+
The tool automatically configures 43 supported client surfaces including Claude Code, Codex, and other MCP-compatible agents. The installer detects installed clients and sets up their MCP configuration entries, skills, and lifecycle hooks where supported.
Does codebase-memory-mcp require API keys or dependencies?+
No. codebase-memory-mcp ships as a single native executable with all tree-sitter grammars and embedding models compiled in. It requires no language runtimes, Docker, hosted services, or API keys—processing happens 100% locally.
Is codebase-memory-mcp free to use?+
Yes, codebase-memory-mcp is open source and released under the MIT license. All code and release binaries are available on GitHub with no usage fees or subscription costs.
How does codebase-memory-mcp reduce token usage?+
By building a knowledge graph, the tool answers structural queries (like finding all callers of a function) in one operation consuming ~3,400 tokens, versus ~412,000 tokens required for file-by-file grep exploration—a 99% reduction.
How do I install codebase-memory-mcp?+
Open the source repository on GitHub and follow its README. codebase-memory-mcp is a agent — MCP Agents Market links you directly to the official repo.
Is codebase-memory-mcp free?+
codebase-memory-mcp is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.