Koskamo

Codebase Brain MCP

An MCP server that provides AI agents with a cited, searchable memory of a codebase. It supports hybrid search, git history analysis, impact analysis, and documentation drift detection. The server runs locally and privately, allowing agents to answer questions about code with exact file and line citations, understand the history behind changes, and identify outdated documentation without sending code to external servers.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Codebase Brain MCP logo, by NomannazirCommunity listingLocal stdioSource reviewed; not executedPublished by Nomannazir
Vendor documentation

What you can do with it

  • Perform hybrid search across codebase files using exact names or plain language descriptions
  • Analyze git history to understand why specific code changes were made
  • Determine impact analysis by finding all callers and tests for a function
  • Detect documentation drift by finding references to non-existent functions or settings

Source and maintenance

Community listingRegistry 0.2.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

codebase-brain-mcp 0.2.0

pypiuvx
codebase-brain-mcp package definition
{
  "version": "0.2.0",
  "transport": "stdio",
  "identifier": "codebase-brain-mcp",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "registryBaseUrl": "https://pypi.org",
  "environmentVariables": [
    {
      "name": "GITHUB_TOKEN",
      "description": "Optional. Raises GitHub's rate limit when reading pull request titles and descriptions."
    },
    {
      "name": "CODEBASE_BRAIN_HOME",
      "description": "Where indexes and clones are stored (default ~/.codebase-brain)."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "codebase-brain-mcp": {
      "command": "uvx",
      "args": [
        "codebase-brain-mcp==0.2.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
        "CODEBASE_BRAIN_HOME": "<YOUR_CODEBASE_BRAIN_HOME>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "codebase-brain-mcp": {
      "command": "uvx",
      "args": [
        "codebase-brain-mcp==0.2.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
        "CODEBASE_BRAIN_HOME": "<YOUR_CODEBASE_BRAIN_HOME>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "codebase-brain-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "codebase-brain-mcp==0.2.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
        "CODEBASE_BRAIN_HOME": "<YOUR_CODEBASE_BRAIN_HOME>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "codebase-brain-mcp": {
      "command": "uvx",
      "args": [
        "codebase-brain-mcp==0.2.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
        "CODEBASE_BRAIN_HOME": "<YOUR_CODEBASE_BRAIN_HOME>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Codebase Brain MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.