mcpbeat Sign in

Codebase Memory MCP Server

local only

Codebase Memory runs on your own machine — the client starts it, so there is no endpoint to ping. 30 453 installs a week from npm. Last commit 16 Sep 2026.

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

Installs per day peak 3 725 · avg 701 · -15% w/w
a month agotoday
30 453
Installs / week
pypi · codebase-memory-mcp
43704
Stars
488 open issues
16 Sep 2026
Last commit
0 releases in 90 days
MIT
License
C

What the code does

We read the source, 20 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs a command on install [пакет] package.json:1
postinstall: node install.js
File ships in the package but is absent from the source [пакет] bin.js:1, [пакет] install.js:1
этот файл ставится пользователю, но в репозитории его нет
    archivePath := filepath.Join(tmp, "cbm."+ext)
  const probe = spawnSync(binPath, ['--version'], {
        subprocess.run(
RUN apt-get update && apt-get install -y --no-install-recommends \
    gcc g++ make cmake \
Runs an external command src/foundation/compat_fs.c:395
    return _popen(cmd, mode);
KEY="${HOME}/.claude/cbm-vm/id_ed25519"

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add codebase-memory-mcp -- uvx codebase-memory-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "codebase-memory-mcp": {
      "args": [
        "codebase-memory-mcp"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.codebase-memory-mcp]
command = "uvx"
args = ["codebase-memory-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "codebase-memory-mcp": {
      "args": [
        "codebase-memory-mcp"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "codebase-memory-mcp": {
      "args": [
        "codebase-memory-mcp"
      ],
      "command": "uvx"
    }
  }
}

Alternatives to Codebase Memory

same job, measured the same way
Memory for AI
by lonelytraderbay

Local codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

234 installs/wk local only
Cgraphy
by pmgarg

Code knowledge graph over MCP: token-budgeted context for AI coding agents.

63 installs/wk local only
Forensic Deepdive
by dhevenddra

Persistent code knowledge graph + 9 composite MCP tools for AI coding agents.

147 installs/wk local only
RemembrallMCP
by cdnsteve

Persistent knowledge memory for AI agents. Hybrid search, code graph, pgvector.

20 installs/wk local only
MCP Memory Graph
by yonasvalentin

Local-first memory for Claude Code and any MCP client: hybrid search + knowledge graph, $0/token.

84 installs/wk local only
Pharaoh
by pharaoh

Codebase knowledge graph — architectural awareness for AI coding agents via MCP

461 installs/wk answering
NervaPack
by ramdhavepreetam

Offline codebase knowledge graph: 91% token reduction vs naive RAG, plus cross-session agent memory.

696 installs/wk local only
Hypermnesia MCP Viz
by cdeust

Read-only visualization for Cortex memory, knowledge, sessions, traces, and codebase graphs.

95 installs/wk local only

Codebase Memory — questions

Answers built from our own checks of this server.

Why is there no uptime for Codebase Memory?
Codebase Memory runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package codebase-memory-mcp was installed 30 453 times last week.
How do I connect Codebase Memory?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls codebase-memory-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Codebase Memory?
The pypi package codebase-memory-mcp was installed 30 453 times in the last week. Week over week that is -15%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Codebase Memory open source?
Yes — it is published under the MIT licence, written in C, 43 704 stars on GitHub and 488 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.