AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
RAG / Knowledge Base/
codebase-memory-mcp
codebase-memory-mcp logo

codebase-memory-mcp

Active·★ 2.8k·MIT·Updated 2026-05-29
★ Hidden Gem★ RAG / Knowledge Base★ Code Assistant

MCP server that indexes your codebase into a persistent knowledge graph. 35 languages, sub-ms queries, 99% fewer tokens than grep. Single Go binary, no Docker, no API keys.

codebase-memory-mcp is a structural analysis backend that indexes codebases into a persistent knowledge graph, drastically reducing token usage for code exploration by providing precise structural results. It integrates with AI assistants like Claude Code, offering advanced capabilities such as call graph tracing, architecture overviews, and dead code detection.

#knowledge-graph#codebase-analysis#AI-assistant-tools#static-analysis#token-efficiency#tree-sitter#Go-lang#developer-tools
$ Install
$ codebase-memory-mcp install
↗ Visit site★ GitHub
01

Features

01Supports 35 programming languages: Parses source code in a wide range of languages using tree-sitter.
02Architecture overview: Provides instant codebase orientation by returning languages, packages, entry points, routes, and clusters.
03High token efficiency: Achieves up to 99.2% token reduction for structural queries compared to file-by-file exploration.
04Auto-sync and incremental reindex: Automatically detects file changes and triggers fast, content-hash based incremental re-indexing.
05CLI mode: Allows direct invocation of any MCP tool from the command line without an MCP client.
02

Compatibility

macOS
OS
Verified via docs
Linux
OS
Verified via docs
Windows
OS
Verified via docs
Python
Language
Verified via docs
Go
Language
Verified via docs
JavaScript
Language
Verified via docs
03

Quick start

1
$ codebase-memory-mcp install
04

Use cases

↳Code exploration and understanding: Quickly understand codebase architecture, find functions, and trace call paths without high token costs.
↳Impact analysis and refactoring: Map git diffs to affected symbols, detect dead code, and analyze function fan-out to aid refactoring efforts.
↳AI assistant integration: Enhance AI assistants like Claude Code with precise structural queries for more effective code-related questions.
↳Architecture Decision Records management: Store, update, and retrieve architectural decisions directly within the codebase context.
↳Automated scripting and CI/CD: Utilize CLI mode for single-shot graph operations in scripts or CI/CD pipelines.
05

Alternatives

mindsdb logo
mindsdb★ 39.2k
Federated Query Engine for AI - The only MCP Server you'll ever need
vs →
Brave Search MCP logo
Brave Search MCP★ 86.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
vs →
qveris-agent-toolkit logo
qveris-agent-toolkit★ 229
Open-source toolkit for the QVeris capability routing network: CLI, MCP server, Python SDK, skills, and REST API docs for agents to discover, inspect, call, and audit real-world tools.
vs →
codeindex logo
codeindex★ 249
Repo dependency analyzer with **blast-radius impact scoring** for AI-assisted development.
vs →
lean-ctx logo
lean-ctx★ 2.3k
Reduce AI coding costs by 99% — MCP Server + Shell Hook for Cursor, Claude Code, Copilot, Windsurf, Gemini CLI & 24 tools. Single Rust binary, zero telemetry.
vs →
vurb.ts logo
vurb.ts★ 253
Vurb.ts - The MVA framework for production MCP servers. Structured perception for AI agents. Zero hallucination. Zero data leaks.
vs →
cupertino logo
cupertino★ 805
A local Apple Documentation crawler and MCP server. Written in Swift.
vs →
Charles-mcp logo
Charles-mcp★ 243
Charles Proxy MCP server for AI agents with live capture, structured traffic analysis, and agent-friendly tool contracts
vs →
See all alternatives →

Related searches

codebase-memory-mcp AlternativesBest RAG / Knowledge Base Tools 2026Open Source RAG / Knowledge Basecodebase-memory-mcp Tutorialcodebase-memory-mcp Vs Competitorsknowledge-graphcodebase-analysisAI-assistant-tools

Comments

Log in to leave a comment
  • L
    Logan WhiteApr 28, 2026

    Persistent knowledge graph from 35 languages of codebase indexing is impressive coverage.

  • D
    Drew NguyenApr 15, 2026

    Knowledge graph structure makes code relationships discoverable, not just searchable.

  • Emerson Lee
    Emerson LeeApr 14, 2026

    Good for polyglot projects where understanding cross-language dependencies matters.

  • R
    Reese WhiteMar 20, 2026

    Persistent across sessions — the graph grows more complete over time.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 2.8k
Last commit1d ago
StatusActive
LicenseMIT
CategoryRAG / Knowledge Base
Trend (30d)
+0.1k↑ 2.3%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.