LocalFree

code-graph MCP server

cyberchronos00/code-graph

Local dependency graph: callers, entry points and file:line evidence for what a change affects.

4 GitHub stars1 forks

Install code-graph in Claude Code

Claude Code
claude mcp add code-graph -- uvx cg-code-graph
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "code-graph": {
      "command": "uvx",
      "args": [
        "cg-code-graph"
      ]
    }
  }
}

Frequently asked questions

What does the code-graph MCP server do?

Local dependency graph: callers, entry points and file:line evidence for what a change affects.

Is the code-graph MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does code-graph run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add code-graph to Claude Code?

Run: claude mcp add code-graph -- uvx cg-code-graph

More developer tools MCP servers

View all