Pr MCP Server

AI-powered code review for GitHub & GitLab. Works with any LLM: GPT-4o, Claude, Llama, Gemini, Ollama. Free, open source.

Remote serverstreamable-httpPython

What is the Pr MCP Server?

AI-powered code review for GitHub & GitLab. Works with any LLM: GPT-4o, Claude, Llama, Gemini, Ollama. Free, open source.

The short version

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 }} ```

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Pr MCP 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.

Configuration

VariableDescriptionRequired
GITHUB_APP_IDConfiguration value read at startup.Optional
GITHUB_WEBHOOK_SECRETCredential the server authenticates with.Yes
GROQ_API_KEYCredential the server authenticates with.Yes
GITHUB_TOKENCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes
GITHUB_PRIVATE_KEYCredential the server authenticates with.Yes
GOOGLE_API_KEYCredential the server authenticates with.Yes
ANTHROPIC_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Pr to Configuration.”

Frequently asked questions

AI-powered code review for GitHub & GitLab. Works with any LLM: GPT-4o, Claude, Llama, Gemini, Ollama. Free, open source. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.