codebase-memory-mcp is a high-performance, local MCP server for code search, visualization, and intelligence, addressing the challenges of large codebases and improving developer efficiency.
Source: Official README and linked documentation View on GitHub →This project is being discussed because its unique approach to indexing and querying codebases with significantly lower token usage, high performance, and support for a wide range of programming languages. Its native C backend and zero-dependency nature make it particularly appealing for organizations looking to enhance their code intelligence capabilities without additional overhead.
Source: Official README and linked documentationIndexes codebases into a persistent knowledge graph, enabling fast queries and visualization of code relationships across 162 languages.
Source: Official README and linked documentationSupports semantic type resolution for multiple languages, enhancing code understanding and navigation.
Source: Official README and linked documentationA new feature that provides an IDE-style source reader, local code chat, 3D architecture map, and Galaxy graph for exploring codebases and understanding their structure.
Source: Official README and linked documentationA suite of tools for various tasks such as search, trace, architecture, impact analysis, and dead code detection.
Source: Official README and linked documentationThe architecture is centered around a native C backend, which is optimized for performance and efficiency. It uses LZ4 compression, in-memory SQLite, and fused Aho-Corasick pattern matching for indexing. The system is modular, with distinct components for indexing, querying, and visualization. The codebase is structured to support a wide range of languages and tools.
Source: Official README and linked documentationLZ4SQLiteAho-Corasickcodebase-memory-mcp is suitable for developers and organizations working with large codebases. It is useful for code search, visualization, and intelligence, making it ideal for projects that require deep code understanding and efficient navigation. Specific scenarios include codebase onboarding, rescue engineering, and understanding AI-generated code.
Source: Official README and linked documentationv0.12.1 (2026-10-16): Fixed package installs and added Helm charts to the graph.
Source: Official releasescodebase-memory-mcp is a project for organizations and developers seeking advanced code intelligence capabilities. Its high performance, low token usage, and wide language support make it a option for enhancing codebase understanding and developer productivity.