Codegraph MCP Server

A blazingly fast codebase graphRAG implementation in 100% Rust

Local serverstdioPython

What is the Codegraph MCP Server?

A blazingly fast codebase graphRAG implementation in 100% Rust

What the server does

CodeGraph transforms your entire codebase into a semantically searchable knowledge graph that AI agents can actually reason about—not just grep through.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
agentic_contextGathers the context you need—searches code, builds comprehensive context, answers semantic questions
agentic_impactMaps change impact—dependency chains, call flows, what breaks if you touch something
agentic_architectureThe big picture—system structure, API surfaces, architectural patterns
agentic_qualityRisk assessment—complexity hotspots, coupling metrics, refactoring priorities

How to install the Codegraph MCP Server

{
  "mcpServers": {
    "codegraph": {
      "command": "/full/path/to/codegraph",
      "args": [
        "start",
        "stdio",
        "--watch"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Codegraph to agentic context.”
  • “Use Codegraph to agentic impact.”
  • “Use Codegraph to agentic architecture.”

Frequently asked questions

A blazingly fast codebase graphRAG implementation in 100% Rust Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.