DeusData / codebase-memory-mcp

· Source: Github Trending: All languages · Field: Technology & Digital — Software Development & Engineering, Artificial Intelligence & Machine Learning · Depth: Advanced, extended

Summary

DeusData's "codebase-memory-mcp" is a high-performance code intelligence engine designed for AI coding agents, offering rapid codebase indexing and structural querying. It fully indexes large repositories like the Linux kernel (28M LOC, 75K files) in three minutes and answers structural queries in under one millisecond. The tool ships as a single static binary for macOS, Linux, and Windows, supporting 158 languages via tree-sitter and enhancing 9 languages with Hybrid LSP semantic type resolution. It generates a persistent knowledge graph of code entities, enabling 14 MCP tools for tasks like call graph tracing, dead code detection, and semantic search, reducing token consumption by 99.2% compared to file-by-file exploration. The project emphasizes security with SLSA Level 3 provenance and zero VirusTotal detections.

Key takeaway

For AI Engineers integrating code intelligence into their agent workflows, "codebase-memory-mcp" offers a compelling solution to enhance agent capabilities and reduce operational costs. You should consider deploying this tool to provide your agents with rapid, deep codebase understanding, enabling more accurate responses and significantly cutting token usage. Utilize its 14 MCP tools for tasks like call graph tracing or semantic search, and employ the team-shared graph artifact to streamline onboarding for new team members.

Key insights

"codebase-memory-mcp" provides fast, local, graph-based code intelligence for AI agents, significantly reducing token usage.

Principles

Method

The tool uses a RAM-first pipeline with LZ4 compression and in-memory SQLite for indexing, followed by tree-sitter AST analysis and Hybrid LSP semantic type resolution to build a persistent knowledge graph.

In practice

Topics

Code references

Best for: AI Architect, AI Engineer, Machine Learning Engineer, Software Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Github Trending: All languages.