Skip to content
Cursor

Codebase Brain for Cursor

io.github.nomannazir/codebase-brain-mcp

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

client:Cursor transport:stdio runtime:pypi

Install Codebase Brain in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "codebase-brain-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "codebase-brain-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "CODEBASE_BRAIN_HOME": "<CODEBASE_BRAIN_HOME>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Codebase Brain in other clients