mcpbeat Sign in

Codebase Brain MCP Server

by nomannazir Your server? Claim it
local only

Codebase Brain runs on your own machine — the client starts it, so there is no endpoint to ping. 1 032 installs a week from pypi. Last commit 7 Nov 2026.

Cited, searchable memory of a codebase: hybrid search, git history, impact analysis, doc drift.

Installs per day peak 537 · avg 34
a month agotoday
1 032
Installs / week
pypi · codebase-brain-mcp
0
Stars
0 open issues
7 Nov 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 14 h ago · rules 995398eba69f

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.

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-brain-mcp -- uvx codebase-brain-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "codebase-brain-mcp": {
      "command": "uvx",
      "args": [
        "codebase-brain-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.codebase-brain-mcp]
command = "uvx"
args = ["codebase-brain-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "codebase-brain-mcp": {
      "command": "uvx",
      "args": [
        "codebase-brain-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "codebase-brain-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "codebase-brain-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: GITHUB_TOKEN (Optional. Raises GitHub's rate limit when reading pull request titles and descriptions), CODEBASE_BRAIN_HOME (Where indexes and clones are stored (default ~/.codebase-brain)).

Alternatives to Codebase Brain

same job, measured the same way
Melchizedek
by louis49

Persistent memory for Claude Code — offline, single-file, hybrid search.

52 installs/wk local only
Dig
by nakishiyaman

MCP server for code archaeology: git blame, file history, contributors, and co-change analysis

80 installs/wk local only
Glasir
by attackwave

A queryable graph of a codebase: impact, callers, tests to run, history. No model, no network.

local only
sqry - Semantic Code Search
by verivusoss-releases

AST-based semantic code search: 33 tools, 35 languages, call tracing, impact analysis

local only
Devmap
by itsflaid

Query a codebase map (routes, features, flows, impact) built by static analysis.

502 installs/wk local only
sqry - Semantic Code Search
by verivus-oss

AST-based semantic code search: 39 tools over 37 languages. Call tracing and impact analysis.

local only
Flyto Indexer
by flytohub

Code intelligence MCP server — impact analysis, semantic search, dependency graphs

364 installs/wk local only
phpgraph
by hbenabdallah

Knowledge graph of a PHP codebase by static analysis: calls, routes, buses, layers, impact

local only

Codebase Brain — questions

Answers built from our own checks of this server.

Why is there no uptime for Codebase Brain?
Codebase Brain 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-brain-mcp was installed 1 032 times last week.
How do I connect Codebase Brain?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls codebase-brain-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Codebase Brain?
The pypi package codebase-brain-mcp was installed 1 032 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Codebase Brain open source?
Yes — it is published under the MIT licence, written in Python and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.