Overview of codebase-memory-mcp
maincodebase-memory-mcp is a high-performance code intelligence engine designed for AI coding agents. It uses tree-sitter AST analysis and Hybrid LSP semantic type resolution to build a persistent knowledge graph of functions, classes, call chains, and more.
Key features include:
- Extreme Speed: Indexes massive repositories (e.g., the Linux kernel) in minutes using a RAM-first pipeline with LZ4 compression and in-memory SQLite.
- Zero Dependencies: Ships as a native executable for macOS, Linux, and Windows. It requires no Docker, language runtimes, or API keys.
- Language Support: Supports 158 languages via vendored tree-sitter grammars.
- Token Efficiency: Reduces token usage by up to 120x compared to file-by-file exploration by replacing multiple grep/read cycles with single structural graph queries.
- Local Processing: All indexing and processing happen 100% locally; code never leaves your machine.
- Visualization: Includes a built-in 3D interactive graph visualization UI accessible at
localhost:9749.