A new open-source project called codebase-memory-mcp aims to solve the common problem of AI agents losing context during code analysis. Developed by DeusData, this high-performance MCP server indexes entire codebases into a persistent knowledge graph, enabling sub-millisecond queries while reducing token usage by 99%.
The tool supports 158 programming languages and can process an average repository in milliseconds. It ships as a single static binary with zero dependencies, making it easy to integrate into existing workflows. The project has already gained significant traction, with over 367 stars on GitHub in a single day.
Codebase-memory-mcp addresses a critical pain point for developers using AI agents: maintaining context across multiple interactions. By storing code structure in a queryable graph, it allows AI tools to recall previous context without re-processing large portions of code, dramatically improving efficiency and reducing costs.