Back to Devoured - June 19, 2026
DEVOURED
codebase-memory-mcp (GitHub Repo)

codebase-memory-mcp (GitHub Repo)

DevOps GitHub
Codebase-Memory indexes large repositories into knowledge graphs locally to provide AI coding agents with structural context while reducing token usage by 99.2%.
What: The open-source tool, developed by DeusData, uses tree-sitter for parsing and a "Hybrid LSP" for semantic type resolution across 158 languages. It outputs a persistent SQLite knowledge graph and integrates with 11 popular coding agents (like Claude Code and Aider) via 14 MCP tools.
Why it matters: This signals a shift toward local, agent-native code analysis that offloads expensive RAG-based context retrieval from the LLM, moving the intelligence into the agent's orchestration layer.
Takeaway: Install the tool via 'curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash' to enable structured graph queries for your coding agents.
Deep dive
  • Indexes the Linux kernel (28M lines) in 3 minutes.
  • Operates as a single static binary with no external API dependencies.
  • Utilizes LZ4 compression and in-memory SQLite for high-performance retrieval.
  • Employs Hybrid LSP to resolve types, imports, and inheritance without a language server process.
  • Supports cross-repo analysis and architectural decision record (ADR) management.
  • Provides a 3D visualization interface at localhost:9749.
  • Minimizes token consumption by replacing file-by-file exploration with precise graph traversals.
  • Provides non-blocking hooks for agents like Claude Code, Codex CLI, and Gemini CLI.
Decoder
  • MCP (Model Context Protocol): An open standard that enables AI models to connect securely to local or remote data sources and tools.
  • Tree-sitter: A parser generator tool that builds a concrete syntax tree for source code to enable structural analysis.
  • Hybrid LSP: A lightweight implementation of language server protocols embedded in the binary to provide type-aware code navigation without running a full language server.
Original article

Full article content is not available for inline reading.

Read the original article →

Explore all 55 articles in today's digest

Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi