LocalFree

repo2graph MCP server

Srinivasan-78/repo2graph

Ask a codebase a question, get back the source that answers it — every block cited to file:line.

9 GitHub stars11 forks

Install repo2graph in Claude Code

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

Frequently asked questions

What does the repo2graph MCP server do?

Ask a codebase a question, get back the source that answers it — every block cited to file:line.

Is the repo2graph 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 repo2graph run locally or remotely?

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

How do I add repo2graph to Claude Code?

Run: claude mcp add repo2graph -- uvx repo2graph

More developer tools MCP servers

View all