Skip to content
Grok

github-twin for Grok

io.github.christopherdavenport/github-twin

Personal RAG over your GitHub history (commits, code, reviews), served to Claude Code over MCP.

client:Grok transport:stdio runtime:pypi

Install github-twin in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "github-twin": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "github-twin"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "GT_PATHS__DATA_DIR": "<GT_PATHS__DATA_DIR>"
      }
    }
  }
}

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

github-twin in other clients