48,439
stars
+56+439
4,010
forks
165
watchers
1,559
prs
1,234
issues
49
releases
71
discussions
README
codebase-memory-mcp: local code intelligence for AI agents via MCP Understand your repository, from source code to the systems around it. codebase-memory-mcp is an MCP server that connects code, documentation, configuration, and infrastructure in a persistent local knowledge graph. Use it to find an unfamiliar feature, follow a call across services, trace a deployment back to its source, or assess which parts of a project a change could affect. Give your coding agent structural context through Model Context Protocol (MCP), or query the graph directly from the CLI. The MCP server is the core of the project. Its optional visual companion, CBM Lens, is in open beta (v0.0.1), with a source reader, architecture maps, the Galaxy graph, coverage diagnostics, architecture decisions, and local code chat. The native C backend exposes 17 MCP tools, parses languages and file formats with vendored grammars, and adds Hybrid LSP type resolution for supported languages. The installer supports 45 automatic or conditional client integrations, including client configuration, skills, agent profiles, and applicable hooks. Indexing and graph queries need no hosted service or API key. Focused graph queries can reduce repeated file reads and token use; see the measured results. Quick start · Capabilities · Documentation · Infrastructure · Smart CI · Explore CBM Lens · Agent setup · MCP tools Local processing: Source analysis and graph storage run on your machine. CBM Lens can optionally download a model for browser AI after you enable it; inference stays on the device. The installer writes agent configuration for the clients you select. See Security for release verification and SECURITY.md for reporting issues. See the graph with CBM Lens (open beta v0.0.1). Folders become nested platforms, files and symbols become selectable blocks, and arrows show indexed relationships. The recording opens src/foundation in the map of this repository, selects arena.c and opens its source. Height can show source size; hotspot gravity reflects static fan-in. Still image. Galaxy. Explore the code knowledge graph in 3D. The recording follows the outgoing relationships of cbm_arena_alloc one layer further, switches to the hierarchy and shows the two-hop call path to cbm_alloc. Edge pulses show relationship direction; they do not represent live execution. Still: two dependency layers around cbm_max_file_bytes. Explore. Browse files in an IDE-style workspace, read syntax-highlighted source in Monaco, and keep the code graph alongside it. File impact shows what depends on the open file, and Code details shows the callers and calls of the symbol under the caret. Select code to ask the local chat about it. More views: system structure and behavior System structure groups symbols into components and lets you inspect their dependencies. Behavior shows possible calls from a selected operation and the source evidence behind them. The high-resolution G
Top issues
#16540.10.4 `index_repository` OOM-crashes on large repo — v0.9.0 indexed the same tree in ~13 min*25 comments · 2026-08-15#45Very high CPU usage21 comments · 2026-03-11#1145Windows-Indexing worker crashed on a file17 comments · 2026-07-17#1582Claude.ai Desktop App still cannot start mcp16 comments · 2026-08-13#394task: Windows platform issues (8 bugs)15 comments · 2026-05-30#524never finishes indexing large python project14 comments · 2026-06-19#1335hook-augment: needs a warm daemon to ever emit context; install leaves it timing out on every Grep/Glob (follow-up to #858)13 comments · 2026-07-29#795codebase-memory-mcp-ui-windows-amd64 doesn't provide ui function13 comments · 2026-07-03
Discussions
#2919Running DB and MCP server remotely0 comments · 2026-11-05#2890Meson + Ninja build support (371s vs 447s cold build)0 comments · 2026-11-02#2875Docs: optional "Listed on MCPwell" badge + listing check0 comments · 2026-11-01#2830How to delete project in CBM ?1 comments · 2026-10-29#2745Is there a way to write the graph to Neo4j instead of SQLite (or a supported export path)?2 comments · 2026-10-21#2730Discord Channel0 comments · 2026-10-20#2699Windows 11: Smart App Control blocks codebase-memory-mcp.exe (binary is not Authenticode-signed)2 comments · 2026-10-18#2500Declared cross-repo links file for contracts static extraction can't see (example: stitched GraphQL + Lighthouse)2 comments · 2026-10-03
Latest release
v0.12.1 v0.12.1 2026-10-16v0.12.1 Every install path works again, and Helm charts join the graph. v0.12.1 fixes v0.12.0's package installs and the other install paths we found broken while checking every channel. It also links Helm charts to what they deploy, and stops the graph from inventing a registry for container images. Upgrading? The first index of each existing project after the upgrade is a full rebuild, once (image identities changed; see below). Fixed: installs - npm, PyPI and Go installs. npm i, pnpm add, pip install and the Go wrapper could not install v0.12.0 on any platform. Each wrapper refused a
相关报道 (2)
News & coverage (8)
Hacker NewsAsk HN: SoTA of Context Building Methods▲ 5 · 2 comments · 2026-04-06Hacker NewsI replaced grep-based code exploration with a knowledge graph – 10x less token▲ 4 · 3 comments · 2026-03-03Hacker NewsHigh-performance code intelligence MCP server▲ 3 · 2 comments · 2026-06-19Hacker NewsCode Intelligence MCP Server▲ 3 · 0 comments · 2026-06-18xUjjwal on X: "@techNmak You know codebase memory mcp exist which is more efficient and performant than graphify."2026-10-25noteHow the codebase-memory-mcp Server Prevents AI Agents from Getting Lost in Code and How to Install It2026-07-04note[Weekly AI Verification] codebase-memory-mcp — Does the "reading too much code" problem in Claude Code really disappear? I tested it out.2026-06-22blog.csdncodebase-memory-mcp2026-06-18