codebase-memory-mcp
View on GitHubHigh-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.
Native C MCP server that indexes a codebase into a persistent knowledge graph using vendored tree-sitter grammars (162 languages) plus Hybrid LSP typing, answered via 15 MCP tools and Cypher at sub-ms latency. Single static binary, fully local, configures many coding agents automatically.
Use Cases
Give coding agents fast structural code search instead of grep/read loopsIndex an entire repo into a persistent knowledge graph in millisecondsTrace call chains and function/class relationships across a codebaseImpact analysis before refactoring a symbolDetect dead codeLink HTTP routes across services (cross-service analysis)Index Dockerfiles, Kubernetes manifests and Kustomize overlays as graph nodesRun Cypher queries over the code graphReduce LLM token usage during code explorationExplore the graph in a built-in 3D visualization UIArchitecture overview of an unfamiliar repositoryWire the same code memory into Claude Code, Cursor, Codex, Windsurf and other agents
Built With
- Language
- C
- Frameworks
- Model Context Protocol · tree-sitter · SQLite · LZ4 · Aho-Corasick · Vite
Tags
mcp-server · code-intelligence · knowledge-graph · tree-sitter · code-analysis · cypher · sqlite · lsp · static-binary · dead-code-detection · impact-analysis · graph-visualization · multi-language · developer-tools · ast · local-first