Skip to content
VS Code

github-twin for VS Code

io.github.christopherdavenport/github-twin

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

client:VS Code transport:stdio runtime:pypi

Install github-twin in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "github-token",
      "description": "GITHUB_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemini-api-key",
      "description": "GEMINI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gt-paths--data-dir",
      "description": "GT_PATHS__DATA_DIR",
      "password": true
    }
  ],
  "servers": {
    "github-twin": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "github-twin"
      ],
      "env": {
        "GITHUB_TOKEN": "${input:github-token}",
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}",
        "GEMINI_API_KEY": "${input:gemini-api-key}",
        "GT_PATHS__DATA_DIR": "${input:gt-paths--data-dir}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

github-twin in other clients