MCP Directory

PatrickSys/codebase-context

GitHub
Developer Tools

Local MCP server that shows AI agents which patterns your team actually uses, what files a change will affect, and when there is not enough context to trust an edit. 30+ languages, fully local.

Direct install

Run the underlying MCP server directly — without Agent-CoreX routing.

npx -y codebase-context

Use with Agent-CoreX

Agent-CoreX intelligently routes which tools from PatrickSys/codebase-context your AI agent actually needs per request — reducing token usage and cost.

agent-corex.json

{
  "mcpServers": {
    "codebase-context": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-context"
      ]
    }
  }
}

Route PatrickSys/codebase-context intelligently

Connect in 2 minutes. Only pay for the tools your agent actually uses.

Installation Guide

Use with Agent-CoreX

Recommended: intelligent tool routing, lower costs

uvx agent-corex mcp add codebase-context

Agent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.

Direct Install

Use PatrickSys/codebase-context directly without routing

npx -y codebase-context

New to Agent-CoreX? View setup guide →

PatrickSys/codebase-context MCP Server — Agent-CoreX