Skip to content
mcp/skillhub

github-twin MCP Server

by christopherdavenportio.github.ChristopherDavenport/github-twinv0.0.17

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

0Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Slowing3mo ago

Install github-twin MCP server

Install in Claude Code

claude mcp add github-twin -e GITHUB_TOKEN='<github-token>' -e ANTHROPIC_API_KEY='<anthropic-api-key>' -e GEMINI_API_KEY='<gemini-api-key>' -- uvx github-twin

Configuration

VariableRequiredSecretDescription
GITHUB_TOKEN—yesGitHub 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_KEY—yesOptional. Enables the Claude backend for `gt summarize`, `gt distill`, and `gt eval`. Defaults to local Ollama when unset.
GEMINI_API_KEY—yesOptional. Enables the Gemini backend for embedding and the LLM seam. Vertex AI ADC via `GT_GEMINI_PROJECT` is also supported.
GT_PATHS__DATA_DIR——Optional. Override the on-disk data directory holding the SQLite index, embeddings, and cached GitHub responses. Defaults to `$XDG_DATA_HOME/github-twin`.

Freshness

Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-07-02 · 3mo ago · GitHub

  2. Latest release

    2026-05-18 · 5mo ago · GitHub · v0.0.9

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-05-29 · 4mo ago · official registry · v0.0.17

FAQ

›How do I install the github-twin MCP server in Claude Code?

Run: claude mcp add github-twin -e GITHUB_TOKEN='<github-token>' -e ANTHROPIC_API_KEY='<anthropic-api-key>' -e GEMINI_API_KEY='<gemini-api-key>' -- uvx github-twin. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does github-twin require an API key?

Yes. It expects GITHUB_TOKEN, ANTHROPIC_API_KEY, GEMINI_API_KEY, of which 3 are secrets.

›Can I use github-twin as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is github-twin in the official MCP registry?

Yes, as io.github.ChristopherDavenport/github-twin.

Alternatives to github-twin

Other version control MCP servers.

View all