github-twin for Cursor
io.github.christopherdavenport/github-twin
Personal RAG over your GitHub history (commits, code, reviews), served to Claude Code over MCP.
client:Cursor
transport:stdio
runtime:pypi
Install github-twin in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs