#2525th of 190 in MCP servers for developers
codebase-memory-mcp
MCP server that indexes a repo into a local code knowledge graph
- Stars
- 49.2k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- C
662 on 24 Mar 202649,199 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A native C MCP server that parses source, docs and infrastructure config into a persistent local graph, exposed through 17 MCP tools and a CLI. An installer registers it with 46 agent client integrations, adding skills, profiles and hooks. An optional beta browser UI, CBM Lens (v0.0.1), shows architecture maps, a 3D graph and source.
Who it is for: Developers giving coding agents structural code context via MCP
Strengths
- Native C binary; no Docker or language runtime, indexing needs no API key
- 17 MCP tools over a persistent graph: callers, dependencies, search, change impact
- Parses 163 languages plus Docker, Kubernetes, Terraform and CI config
- Installer configures 46 client integrations; hooks can be disabled with --no-hooks
Weaknesses
- CBM Lens UI is open beta, v0.0.1
- Smart CI test impact is experimental and limited to supported C/C++ harnesses
- All active CBM processes must run the identical build and cache root
- Install is a curl-to-bash script; Defender may flag binaries as a false positive
What it needs
- no GPU
- port 9749
What changed
“The first index of each existing project after the upgrade is a full rebuild, once.”
“Every binary published below was scanned by VirusTotal before smoke and soak testing, and the verdict for the exact shipped bytes is linked per product (decisive engines: 61–69).”
“One full rebuild per project. This release changes how C macros, enumerators and fields are identified. It also adds the documentation layer and the infrastructure graph, which moves the index format…”
“searchcode: drops matches from indexed paths that now resolve outside the project root through a directory link (#2491).”
“One full reindex on first run. See above. Expected, once per index, ADRs preserved.”
“Every binary published below was scanned by VirusTotal before smoke and soak testing, and the verdict for the exact shipped bytes is linked per product (decisive engines: 59–68).”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- Opencode V2.x -- cbm-augment.ts fails ↗ (opens in a new tab)6 reactions
- Windows: mtime encoding split makes the incremental classifier see every file as changed ↗ (opens in a new tab)6 reactions
- SQL: T-SQL (SQL Server) - ALTER COLUMN, bracketed identifiers and USE/GO batches report parse_partial or parse_unusable (0.12.1) ↗ (opens in a new tab)1 reactions
- compare_graphs: two projects indexed from versions of one repo share almost no node identities, because the project name is part of qualified_name ↗ (opens in a new tab)1 reactions
- Windows: index worker crashes (0xC0000005) in parallel.extract on whole mixed C#/Vue repo; each sub-folder indexes fine alone ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- cli `search_code` returns "search failed: temp file" on Windows 11 in Powershell ↗ (opens in a new tab)4 reactions · closed 10 May 2026Fixed by feat(mcp): add Windows support for code search via PowerShell ↗ (opens in a new tab)
- [bug] Auto-generated Pi extension (cbmem.ts) missing parameters schema — crashes on startup ↗ (opens in a new tab)3 reactions · closed 7 Sept 2026Fixed by Fix Pi extension to use TypeBox schemas instead of JSON ↗ (opens in a new tab)
- Stale rendezvous directory (`/tmp/cbm-daemon-<uid>`) permanently blocks `install`/`update` with "active CBM sessions ... could not be stopped safely" after hard-killed CBM processes ↗ (opens in a new tab)3 reactions · closed 7 Sept 2026Fixed by fix: recover markerless stale rendezvous sockets during activation ↗ (opens in a new tab)
- Request: Add support for Visual Studio GitHub Copilot for codebase-memory-mcp ↗ (opens in a new tab)2 reactions · closed 3 Jul 2026Fixed by fix(mcp): tighten ingest traces schema for strict clients ↗ (opens in a new tab)
- Windows: cli index_repository fails with "repo_path is required" ↗ (opens in a new tab)2 reactions · closed 30 Jun 2026Fixed by feat(cli): accept flags, stdin, and --args-file for tools + per-tool --help (#680) ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Safety checks
Checks passed: 13 of 16 (23 Nov 2026)
Checked commit 9a4da7a ↗ (opens in a new tab) · npm codebase-memory-mcp 0.12.1 · pypi codebase-memory-mcp 0.12.1 · content sha256:d8ed78f4e04d…
- Pass
Package points back to this repo
npm codebase-memory-mcp@0.12.1, PyPI codebase-memory-mcp@0.12.1 names this repo
npm codebase-memory-mcp ↗ (opens in a new tab), PyPI codebase-memory-mcp ↗ (opens in a new tab)
- Pass
Listed in the official MCP Registry under the owner's name
Listed as io.github.DeusData/codebase-memory-mcp
MCP Registry: io.github.DeusData ↗ (opens in a new tab), MCP Registry: codebase-memory-mcp ↗ (opens in a new tab)
- Fail
Latest release has build provenance
No build provenance on PyPI codebase-memory-mcp@0.12.1
- Pass
No advisories at CVSS 7 or higher
No advisory at CVSS ≥ 7 in npm codebase-memory-mcp@0.12.1, PyPI codebase-memory-mcp@0.12.1, the 0 dependencies npm codebase-memory-mcp@0.12.1 installs, the 0 dependencies PyPI codebase-memory-mcp@0.12.1 installs, own GitHub advisories
deps.dev ↗ (opens in a new tab), deps.dev ↗ (opens in a new tab), security page ↗ (opens in a new tab)
- Fail
No install-time scripts
npm codebase-memory-mcp@0.12.1 runs postinstall on install
- Pass
No hardcoded keys or tokens
No key matching a known secret format in 3728 files
- Fail
No binaries or archives in agent or server folders
1 × binary or archive file (vendored/nomic/code_vectors.bin)
- Pass
No dangerous CI workflow
No dangerous workflow pattern and no write-all token in 25 workflows
- Pass
- Pass
HTTPS endpoints, no credentials in shipped config
No plain-http endpoint or literal credential in 3 files
- Pass
No hidden Unicode in agent-facing text
No hidden Unicode in 2106 files
- Pass
A private way to report a vulnerability
Security policy published
- Pass
- Pass
No fake prerequisite or installer steps
No installer or prerequisite step in 6 files; read: commit 9a4da7a, npm codebase-memory-mcp@0.12.1, PyPI codebase-memory-mcp@0.12.1
- Pass
No email recipients added since the last checked version, no hidden BCC
No address added since the check on 2026-11-16 (commit cdfdf26) (0 in the code); npm codebase-memory-mcp@0.12.1: no address added since codebase-memory-mcp@0.12.1 (0 in the code); PyPI codebase-memory-mcp@0.12.1: no address added since codebase-memory-mcp@0.12.1 (0 in the code); read: commit 9a4da7a, npm codebase-memory-mcp@0.12.1, PyPI codebase-memory-mcp@0.12.1
- Pass
No shell commands built from input, no unchecked URL opening
No shell command built from a variable or unchecked URL opening in 2007 files; read: commit 9a4da7a
N/A: 2 checks do not apply here or had no data
- N/A
No override, concealment or secret-file instructions
Tool descriptions are built in code (not read in v1)
- N/A
HTTP endpoints check auth or stay on localhost
No HTTP or SSE transport in the code (stdio only)
Facts, not pass or fail
- Bundles scripts
- Yes, 2
- Hooks
- Yes
- A bin folder
- No
- MCP config file
- Yes
- Calls other MCP tools
- No
- Domains its agent files link to
- github.com
- Hosts in its code new since the last check
- None
Read on 23 Nov 2026 from the repo's files, npm, PyPI, deps.dev, OSV and the MCP Registry. We ran nothing from the project. N/A means the check does not apply or we could not read its data. Not part of the score: what each check looks at and what it cannot see. A result looks wrong? Tell us on GitHub (opens in a new tab).
Also in MCP servers for developers
See all 190| Rank | Project | Score |
|---|---|---|
| #23 | omnigetDesktop video downloader on yt-dlp with a built-in MCP server and agent window | 84 out of 100 |
| #24 | typescript-sdkOfficial TypeScript SDK for building MCP servers and clients | 84 out of 100 |
| #26 | lingo.devHosted translation engines with a CLI, API and GitHub App for app localization | 83 out of 100 |
| #27 | terminal-browserChromium browser that renders inside kitty-graphics terminals, scriptable by coding agents | 83 out of 100 |
| #28 | socraticodeMCP server that indexes a codebase for hybrid semantic and BM25 search | 83 out of 100 |