GitHub PR Issue Analyser
# MCP for GitHub PR, Issues, Tags and Releases
[](https://github.com/saidsef/mcp-github-pr-issue-analyser/actions/workflows/ci.yml) [](https://github.com/saidsef/mcp-github-pr-issue-analyser/actions/workflows/tag_release.yml) [](https://qlty.sh/gh/saidsef/projects/mcp-github-pr-issue-analyser) [](https://app.codacy.com/gh/saidsef/mcp-github-pr-issue-analyser/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
An [MCP](https://www.anthropic.com/news/model-context-protocol) 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.
- **Pull requests** - fetch diffs, content, linked issues and CI status, create, comment, review, merge and update, close, retarget, label and flip draft status, read and correct posted comments
- **Issues** - create, update, list, search and assign, read a repository's labels, run milestones and file issues under them
- **Releases** - tag commits, publish releases, and list, correct or withdraw what is published
- **Project boards** - find boards, add and remove cards, and set their fields
- **CI** - read check status, workflow runs and job logs, and re-run a job
- **Users** - profile lookup, contribution activity over GraphQL, and star growth from each repository's star history
- **Repositories** - list what a user, an organisation or the caller owns, and read any file or directory tree at a branch, tag or SHA
- **Any other endpoint** - search GitHub's REST routes, and send a REST or GraphQL request
The full tool list is in [docs/tools.md](./docs/tools.md).
## Quick start
```sh
export GITHUB_TOKEN="<github-token>"
uvx https://github.com/saidsef/mcp-github-pr-issue-analyser.git
```
Then add it to your client:
```json
{
"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.
## Documentation
The pages below are also published on [Read the Docs](https://mcp-github-pr-issue-analyser.readthedocs.io/en/latest/architecture/).
| Page | Contents |
|------|----------|
| [Installation](./docs/installation.md) | Requirements, running from source, Docker, Kubernetes |
| [Configuration](./docs/configuration.md) | Auth modes, environment variables, OAuth App setup, token stores |
| [Client configuration](./docs/mcp-clients.md) | Ready-to-paste configs for token and OAuth2, per client |
| [Tools](./docs/tools.md) | Every tool the server registers, and the skills that drive them |
| [Architecture](./docs/architecture.md) | Request path from client to GitHub API |
| [Metrics](./docs/metrics.md) | Prometheus endpoint, metric names, scrape setup |
## Requirements
Python 3.14, and a GitHub personal access token with the `repo` and `workflow` scopes or a GitHub OAuth App.
## Source
Our latest and greatest source of *mcp-github-pr-issue-analyser* can be found on [GitHub](https://github.com/saidsef/mcp-github-pr-issue-analyser). [Fork us](https://github.com/saidsef/mcp-github-pr-issue-analyser/fork)!
## Contributing
We would :heart: you to contribute by making a [pull request](https://github.com/saidsef/mcp-github-pr-issue-analyser/pulls).
Please read the official [Contribution Guide](./CONTRIBUTING.md) for more information on how you can contribute.
TDQS
Scored across 44 tools
The GitHub tools each target a distinct resource+action (get_pr_diff vs get_pr_content vs get_pr_status_checks vs get_job_log vs get_workflow_runs are all separable), and the generic api_read/write/delete trio is explicitly scoped as an escape hatch for uncovered endpoints. The only soft overlaps are api_* vs the specific tools and the bundled UI/skill tools, which are unrelated to the GitHub domain but still internally distinct.
Almost every tool follows a clean github_verb_noun snake_case convention (github_create_issue, github_delete_release, github_list_projects). The exceptions are `choose` (bare verb, no namespace/object), `github_pr_issue_analyser_ui` (noun-only, name mirrors the server rather than an action), and `github_search_prefab_components`, which is a mild outlier but still readable.
44 tools is far above a well-scoped surface for PR/issue analysis, and the set sprawls across releases, project boards, CI, user activity, skills, and a full Prefab UI framework. Several tools (choose, github_pr_issue_analyser_ui, github_search_prefab_components, list/get_skill) serve an unrelated presentation layer rather than the stated GitHub domain.
PR analysis, diffing, status checks, review comments, releases, and project boards are well covered, but core lifecycle gaps exist: no issue update/close tool (only create/get/set_milestone), no PR merge or general (non-inline) PR/issue comment tool, and no list_issues beyond search. The api_write/api_delete passthroughs let agents work around these, but the domain surface itself is incomplete.