AIAny
Icon for item

codebase-memory-mcp

Indexes codebases into a persistent, queryable knowledge graph for AI coding agents, enabling full-repo indexing in minutes and sub-millisecond structural queries. Bundles 158 vendored tree-sitter grammars, a Hybrid LSP resolver, built-in embeddings, and 14 MCP tools for search, trace, and architecture analysis.

Introduction

Most code exploration workflows ask an LLM to read many files; codebase-memory-mcp replaces that with a structural knowledge graph so agents ask a single graph query instead of scanning hundreds of files. That design reduces token usage and tool calls dramatically while giving precise, import-aware call resolution across large repositories.

What Sets It Apart
  • Graph-first indexing with vendored tree-sitter grammars (158 languages). This eliminates per-project language setup and lets the binary index diverse repos quickly (Linux kernel: full index in ~3 minutes).
  • Hybrid LSP semantic resolver layered over tree-sitter. Type- and import-aware resolution for many languages (Python, TypeScript/JSX, Java, Rust, Go, C/C++, C#, PHP, Kotlin) means CALLS/IMPORTS edges are accurate across files and packages, so trace queries follow real runtime call chains.
  • Local, single static binary with secured releases. No external APIs or language servers required; binaries are signed, SLSA-attested, and VirusTotal-scanned for reproducible local operation.
  • Multi-signal search (bundled embeddings + BM25 + structural signals). Semantic search and structural queries let agents find symbols and code patterns without sending code to a remote LLM or embedding service.
Who It's For & Trade-offs

Great fit if you run LLM-driven coding agents or automated tooling that need precise, low-latency code discovery across medium-to-large repos, especially in polyglot environments. It's also useful for teams that want a committable graph artifact (.codebase-memory/graph.db.zst) to avoid repeated reindexes.

Look elsewhere if you need a full natural-language UI or built-in LLM — codebase-memory-mcp is a structural backend (an MCP server) and expects your agent to translate natural language into graph queries. Also, projects that demand per-project language servers for deep semantic analysis beyond the Hybrid LSP coverage may still prefer an IDE language server.

Where It Fits

Use this as the local code-intelligence backend for MCP-compatible agents (Claude Code, Gemini CLI, Codex CLI, VS Code, etc.). It complements—not replaces—LLMs: let the agent handle NL→query translation and use codebase-memory-mcp to return compact, high-fidelity structural context that dramatically reduces token and tool-call overhead.

Information

  • Websitegithub.com
  • OrganizationsDeusData
  • Published date2026/02/24

Categories

More Items

GitHub

Indexes full text of visited web pages and local files on a self‑hosted server so you can search your personal knowledge from a web UI, terminal, CLI, or an AI assistant. Runs without mandatory telemetry, offers a browser extension for automatic capture, and supports optional semantic search via a configurable embeddings endpoint.

GitHub

A read-only mirror of Anthropic's community plugin marketplace for Claude Cowork and Claude Code, listing vetted third-party plugins in a nightly-synced marketplace.json. Intended for discovering and installing community plugins via the Claude plugin system.

GitHub

Lets AI agents discover and run Apify Actors as MCP tools for web scraping and automation; supports OAuth/Streamable HTTP, dynamic tool discovery, output-schema inference, and agentic payments (AGI, x402, Skyfire) so agents like Claude, ChatGPT, or VS Code can call ready-made scrapers and automations.