MCP.Market

github-twin MCP server

by ChristopherDavenport·io.github.ChristopherDavenport/github-twin·v0.0.17

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

B71/100grade B
What users say
No reviews yet
Be the first
Safety scan
B71/100

full report

Adoption
New

0 stars

Reviews

Write one

Nobody has reviewed github-twin yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

github-twin tools (12)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • _get_llm
  • bootstrap

    One-shot setup: discover the target, ingest, embed.

  • bootstrap_status

    Report whether this DB is ready for retrieval.

  • developer_profile

    Synthesize a short Markdown profile of one developer's review voice.

  • find_applicable_rules

    Find distilled code-pattern rules that apply to a coding task.

  • find_code

    Find source snippets at HEAD across every indexed target.

  • find_review_comments

    Find past review comments on diffs similar to `diff_hunk`.

  • find_style_examples

    Find code that matches a description, for style reference.

  • house_rules

    Return all distilled rules as a single Markdown block.

  • predict_review_outcome

    Predict how a candidate PR would be reviewed.

  • summarize_review_patterns

    Return distilled review rules.

  • sync

    Incremental: pull new commits + review comments and embed them.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

1 medium
  • Code scan75 source files scanned20/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 88 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10

Findings (1)

  • mediumeval / new Function usedexec.eval
    github_twin-0.0.17/src/github_twin/eval/report.py: …rn t = Table(title=f"Review-comment eval (n={result.n})") t.add_column("metric…
Overall 71/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How github-twin compares

Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
71/100
higher than 32% of 1,119 Developer tools servers
Tools
12
the typical Developer tools server has 7
Tools that change things
0%
typical: 5%. Fewer write tools means less an agent can break

What its tools let an agent do: 11 read · 1 change

Install github-twin in Claude Code, Cursor or VS Code

claude mcp add github-twin -- uvx github-twin
Add to Cursor

What the publisher says

From the github-twin repository's README, as published. We do not edit it. Read it on GitHub

github-twin

You reviewed a permission check six months ago. Claude doesn't remember

it. github-twin does — it indexes your commits and review comments,

and surfaces them as retrieval hits whenever an agent writes or reviews

new code in your style.

<!-- Demo assets: see docs/assets/README.md for recording recipes. -->

Try it now from Claude Code — drop this into ~/.claude.json and reload:

{
  "mcpServers": {
    "github-twin": { "command": "uvx", "args": ["github-twin", "serve"] }
  }
}

Your code stays on your box. Embeddings are computed locally

(Ollama or sentence-transformers); only the LLM seam (gt summarize,

gt distill, gt eval) optionally calls a hosted provider, and even

that's swappable to local Ollama. The gemini embedder is the one

exception — opt-in only.

A personal RAG over your GitHub history, served to Claude Code (or any MCP client) as a stdio server. Two scopes, one codebase:

past code as style examples and your past comments as review hints when an agent is writing or reviewing new code.

  • User mode — index your own commits + review comments. Surfaces your

reviews across every member. Queries scope by repo, language, or reviewer login.

  • Org mode — index a whole GitHub org's files-at-HEAD, commits, and PR

Retrieval is hybrid (BM25 + vector via RRF), AST-aware via tree-sitter for python/scala/javascript/typescript/go/rust, and contextually enriched at embed time with per-chunk headers + optional LLM-generated summaries.

Install

The fastest path is uvx — no virtualenv to manage, isolated per-tool:

# One-shot
uvx github-twin --help

# Pinned version
uvx github-twin@0.1.0 --help

# With sentence-transformers for the alt embedder
uvx --with 'github-twin[st]' github-twin --help

If you prefer a project-local install:

uv add github-twin            # or: pip install github-twin
gt --help

gt and github-twin are the same Typer app — use whichever fits your muscle memory.

Authenticate

Pick whichever is least friction — github-twin tries them in this order:

  1. OAuth device flow (no gh install needed):
uvx github-twin auth login        # opens browser, persists token
   uvx github-twin auth status       # show which source is active

Token persists in the OS keyring (macOS Keychain / Linux Secret Service / Windows Credential Manager) or, when unavailable, a 0600 file under your data dir.

gt picks up the token via gh auth token — nothing to do.

  1. Existing gh CLI: if you've already run gh auth login,

headless / docker. Required scopes: repo, read:org, user:email.

  1. GITHUBTOKEN env var**: a classic PAT works too; useful for CI /

Wire into Claude Code

The MCP server runs over stdio via github-twin serve (or gt serve). Run uvx github-twin auth login once on the box that will host the server.

Option A — via the Claude Code plugin marketplace (lowest-friction):

/plugin marketplace add ChristopherDavenport/christopherdavenport-marketplace
/plugin install github-twin@christopherdavenport

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

github-twin: common questions

Is github-twin MCP server safe?
Mostly: it is graded B (71/100). Read the github-twin safety report
How do I install github-twin?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does github-twin need an API key?
Yes. The registry entry asks for GITHUB_TOKEN, ANTHROPIC_API_KEY, GEMINI_API_KEY.
Is github-twin maintained?
The last commit was 125 days ago (2026-07-02). The latest release is v0.0.17.
What can I use instead of github-twin?
Servers from other publishers that do the same job: Suvadu MCP server, GitDiagram MCP server and GitHub MCP server.
How does github-twin compare with other Developer tools MCP servers?
safety score 71/100 (higher than 32% of 1,119 Developer tools servers); tools 12 (the typical Developer tools server has 7); tools that change things 0% (typical: 5%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to github-twin

Same job from other publishers: the closest match first, then the best rated.

  • Suvadu
    Local shell history and AI agent sessions over MCP: search commands, failures, risk and git changes
    A
  • GitDiagram
    Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
    A
  • GitHub
    Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
    A
  • Gk CLI
    The GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.
    B
  • Agent Harnesses
    Agent-harness picks, decision guides, setup templates, and skills; live GitHub/HN discovery.
    A