
Connects Claude to GitHub's REST and GraphQL APIs to automate PR and issue workflows. You get tools to fetch PR diffs, merge pull requests with squash or rebase, create and update issues, submit code reviews with inline comments, manage assignees and labels, and create tags and releases. Supports both static PAT authentication and GitHub OAuth2 with optional Redis-backed token storage for multi-user deployments. The OAuth flow uses dynamic client registration so each user's API calls run under their own token. Useful if you're doing code review in Claude, triaging issues conversationally, or building automated PR summaries without switching to the GitHub UI.
An MCP server that connects an LLM to GitHub's repository management features. It analyses pull requests, manages issues, and handles tags and releases, over stdio or HTTP, with a static token or GitHub OAuth2.
The full tool list is in docs/tools.md.
export GITHUB_TOKEN="<github-token>"
uvx https://github.com/saidsef/mcp-github-pr-issue-analyser.git
Then add it to your client:
{
"mcpServers": {
"github_prs_issues": {
"command": "uvx",
"args": [
"https://github.com/saidsef/mcp-github-pr-issue-analyser.git"
],
"env": {
"GITHUB_TOKEN": "<your-github-token>"
}
}
}
}
For HTTP mode, Docker, Kubernetes and OAuth2, see the documentation below.
The pages below are also published on Read the Docs.
| Page | Contents |
|---|---|
| Installation | Requirements, running from source, Docker, Kubernetes |
| Configuration | Auth modes, environment variables, OAuth App setup, token stores |
| Client configuration | Ready-to-paste configs for token and OAuth2, per client |
| Tools | Every tool the server registers, and the skills that drive them |
| Architecture | Request path from client to GitHub API |
| Metrics | Prometheus endpoint, metric names, scrape setup |
Python 3.12+, and a GitHub personal access token with repo scope or a GitHub OAuth App.
Our latest and greatest source of mcp-github-pr-issue-analyser can be found on GitHub. Fork us!
We would :heart: you to contribute by making a pull request.
Please read the official Contribution Guide for more information on how you can contribute.