AI-powered code review for GitHub & GitLab. Works with any LLM: GPT-4o, Claude, Llama, Gemini, Ollama. Free, open source.
AI-powered code review for GitHub & GitLab. Works with any LLM: GPT-4o, Claude, Llama, Gemini, Ollama. Free, open source. That is what the pr mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
jobs: review: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: mara-werils/ai-code-reviewer@v1 env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} ```
The server publishes 1 tool. What each one is for:
Configuration — The Configuration tool exposed by this serverConfiguration is passed through the environment: GITHUB_APP_ID, GITHUB_WEBHOOK_SECRET, GROQ_API_KEY, GITHUB_TOKEN, OPENAI_API_KEY, GITHUB_PRIVATE_KEY, GOOGLE_API_KEY, ANTHROPIC_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Pr's toolset — Configuration — is a fair guide to whether it matches your workflow.
This entry was verified against Pr's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Configuration | The Configuration tool exposed by this server. |
{
"mcpServers": {
"pr-reviewer": {
"command": "uvx",
"args": ["pre-commit"],
"env": {
"GITHUB_APP_ID": "your-value",
"GITHUB_WEBHOOK_SECRET": "your-value",
"GROQ_API_KEY": "your-value",
"GITHUB_TOKEN": "your-value",
"OPENAI_API_KEY": "your-value",
"GITHUB_PRIVATE_KEY": "your-value",
"GOOGLE_API_KEY": "your-value",
"ANTHROPIC_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| GITHUB_APP_ID | Configuration value read at startup. | Optional |
| GITHUB_WEBHOOK_SECRET | Credential the server authenticates with. | Yes |
| GROQ_API_KEY | Credential the server authenticates with. | Yes |
| GITHUB_TOKEN | Credential the server authenticates with. | Yes |
| OPENAI_API_KEY | Credential the server authenticates with. | Yes |
| GITHUB_PRIVATE_KEY | Credential the server authenticates with. | Yes |
| GOOGLE_API_KEY | Credential the server authenticates with. | Yes |
| ANTHROPIC_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.