codebase-memory-mcp is a high-performance code intelligence MCP server built for AI coding agents. It indexes codebases into a persistent knowledge graph so agents can understand architecture, symbols, call chains, routes, and cross-service relationships without reading every file repeatedly. The project uses tree-sitter AST analysis across 158 languages and adds Hybrid LSP type resolution for major languages like Python, TypeScript, JavaScript, Go, C#, Java, Rust, C, and C++. It is built for speed, with average repositories indexed in milliseconds and structural queries answered in under one millisecond. It ships as a single static binary for macOS, Linux, and Windows with no shared library dependencies. It also includes semantic search, BM25 search, graph visualization, auto-indexing, and cross-repository intelligence.
Features
- Persistent code knowledge graph
- Tree-sitter parsing across 158 languages
- Hybrid LSP semantic type resolution
- Sub-millisecond structural queries
- Graph visualization UI
- Single static binary with zero dependencies