github-twin

io.github.ChristopherDavenport/github-twin

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "github-twin": {
      "command": "uvx",
      "args": [
        "github-twin"
      ],
      "env": {
        "GITHUB_TOKEN": "<your GITHUB_TOKEN>",
        "ANTHROPIC_API_KEY": "<your ANTHROPIC_API_KEY>",
        "GEMINI_API_KEY": "<your GEMINI_API_KEY>"
      }
    }
  }
}
Environment variables
  • GITHUB_TOKENsecretGitHub personal access token. Optional: github-twin can also pick the token up from `gh auth token` or from its own OAuth device-flow login (`gt auth login`).
  • ANTHROPIC_API_KEYsecretOptional. Enables the Claude backend for `gt summarize`, `gt distill`, and `gt eval`. Defaults to local Ollama when unset.
  • GEMINI_API_KEYsecretOptional. Enables the Gemini backend for embedding and the LLM seam. Vertex AI ADC via `GT_GEMINI_PROJECT` is also supported.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.0.17
Registry
active
Published
5/29/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that github-twin is listed here — it’s also the link we check for a free listing.

github-twin — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-christopherdavenport-github-twin?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="github-twin — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![github-twin — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-christopherdavenport-github-twin?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.