GitHub Official Repository & PR MCP for Claude Code, ChatGPT, Gemini CLI & Cursor
Search code, inspect issues, manage branches, open pull requests & triage CI runs directly from chat.
Quick Answer Summary (Claude Code • ChatGPT • Cursor • Gemini CLI)
GitHub Official Repository & PR MCP (100% Free OSS) connects to AI coding and chat agents via claude mcp add github -e GITHUB_PERSONAL_ACCESS_TOKEN=$GITHUB_PERSONAL_ACCESS_TOKEN -- npx -y @modelcontextprotocol/server-github. Free Tier: 100% Free with any personal GitHub token (`GITHUB_PERSONAL_ACCESS_TOKEN`). Paid Upgrade Threshold: Free for public & private repos on GitHub Free; GitHub Team ($4/user/mo) only for protected org rulesets.
What Works for $0 (Free Tier)
100% Free with any personal GitHub token (`GITHUB_PERSONAL_ACCESS_TOKEN`).
When a Paid Subscription Is Required
Free for public & private repos on GitHub Free; GitHub Team ($4/user/mo) only for protected org rulesets.
Required Env Var(s): GITHUB_PERSONAL_ACCESS_TOKEN
1-Command Setup for Claude Code, Google Gemini CLI & Cursor
Copy the exact snippet for your AI coding agent — merges alongside the StackOS Master Router so future tool recommendations happen automatically.
claude mcp add github -e GITHUB_PERSONAL_ACCESS_TOKEN=$GITHUB_PERSONAL_ACCESS_TOKEN -- npx -y @modelcontextprotocol/server-github{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
}
},
"stackos-router": {
"httpUrl": "https://stackos-ai.vercel.app/api/mcp"
}
}
}{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
}
},
"stackos": {
"url": "https://stackos-ai.vercel.app/api/mcp"
}
}
}curl -fsSL "https://stackos-ai.vercel.app/api/plugins/install?tools=github-mcp&src=plugin-seo-github-mcp" | nodeRecommended SKILL.md / GEMINI.md Rule & GitHub README Badge
Query repository issues, inspect PR diffs, and verify GitHub Actions statuses cleanly.
Best Companion Plugins for Coding, Docs Grounding & PR Review
Context7 Live Framework Docs MCP
Injects up-to-date official docs for Next.js 15/16, React 19, Tailwind v4, Prisma & 5,000+ packages.
Sequential Thinking & Architecture Planner MCP
Structured multi-step reasoning, hypothesis branching & revision for complex system design.
CodeRabbit AI PR Reviewer (CLI + Claude Plugin)
Line-by-line AST + LLM security, race-condition & bug review before every commit or GitHub PR.
Cursor AI Pro + Multi-File Agent Rules Pack
Codebase-wide semantic indexing, Tab autocomplete & parallel background coding agents.