Skip to content
Grok

repo2graph for Grok

io.github.srinivasan-78/repo2graph

Ask a codebase questions and get cited code back, from a tree-sitter graph of the repo.

client:Grok transport:stdio runtime:pypi

Install repo2graph in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "repo2graph": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "repo2graph"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

repo2graph in other clients