Skip to content
ATAI Today Brief
HomeNewsConceptsGuidesToolbox
AboutSubscribeUA
Subscribe

AI Today Brief

The daily AI-engineering brief. Built in public. EN · UA.

XTelegramLinkedInYouTubeRSS
NewsConceptsGuidesSubscribeAdvertiseAboutEditorial policyAI disclosurePrivacyTerms

© 2026 AI Today Brief. All rights reserved.

  1. Home/
  2. News/
  3. Agents & MCP/
  4. Codebase-Memory MCP Server for Knowledge Graph Analysis
Agents & MCP

Codebase-Memory MCP Server for Knowledge Graph Analysis

June 29, 2026· 3 min read
OKCurated by Oleksandr Kuzmenko, AI Product Engineer·Updated June 29, 2026·Sources cited on every story
AI-assisted · editor-reviewed·How we use AI
Codebase-Memory MCP Server for Knowledge Graph Analysis

A new Model Context Protocol (MCP) server that indexes repositories into knowledge graphs using tree-sitter. It provides sub-millisecond structural queries and 120x token savings compared to file-by-file exploration.

Impact: High

Why it matters

Replace inefficient grep/read cycles with semantic, graph-based queries to improve agentic accuracy and reduce API costs.

TL;DR

  • 01Index huge repositories in minutes locally.
  • 02Reduces token usage by 120x compared to standard grep.
  • 03Works with 11 different AI coding agents.

Architecture and Performance

The tool leverages a RAM-first pipeline using LZ4 compression and fused Aho-Corasick pattern matching to index codebases. It is explicitly designed to handle structural queries efficiently, replacing hundreds of token-heavy file reads with targeted graph lookups.

Deployment

Installation is handled via a single binary for macOS, Linux, or Windows. It auto-detects installed coding agents and configures the necessary MCP server entries and pre-tool hooks automatically.

Capabilities

  • 158 Languages: Built-in tree-sitter grammars.
  • Graph Visualization: Built-in 3D UI available via --ui flag.
  • Hybrid Search: Combines BM25 full-text search with vector embeddings.

Try it in 2 minutes

curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

bash

✓ When to use

  • Large repositories exceeding context windows
  • When performing complex refactoring across services
  • When you want to reduce token costs for coding agents

What to do today

  • →Run the install script: curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
  • →Enable auto-indexing: codebase-memory-mcp config set auto_index true
#Claude Code#Cursor#Zed#codebase-memory-mcp

Sources

  • GitHub: codebase-memory-mcp
ShareShare on XShare on LinkedIn
Next story →No-Mistakes: AI-Driven Git Validation Proxy

Related stories

  • Agents & MCPNo-Mistakes: AI-Driven Git Validation Proxy
  • Agents & MCPGit-Lazy-Mount: Mount Repositories on Demand for MicroVM Coding Agents

Email digest

Get the morning AI brief

One email a day — the stories that matter for engineers, founders and tech leads. Human-edited, with links to primary sources.

  • ✓120+ sources scanned daily
  • ✓Edited by a human
  • ✓1 email per day
  • ✓EN + UA

By subscribing you agree to the privacy policy.