Skip to content

Requirements

Everything you need before installing ClearPR.

System Requirements

RequirementMinimumRecommended
Docker20.10+Latest stable
Docker Composev2.0+Latest stable
RAM512 MB (idle)1 GB+ (under load)
Disk1 GB2 GB+ (grows with PR memory)
CPU1 core2-4 cores (for concurrent reviews)

For local development without Docker:

RequirementVersion
Node.js20 LTS or later
npm10+
PostgreSQL16+ with pgvector extension
Redis7+

GitHub App

You need a GitHub App registered in your GitHub account or organization. ClearPR uses it to:

  • Receive webhook events when PRs are opened or updated
  • Read file contents for semantic diffing
  • Post review comments

See GitHub App Setup for step-by-step instructions.

Required Permissions

PermissionAccessWhy
Pull requestsRead & WriteRead PR metadata/diff, post review comments
ContentsReadFetch file contents for AST parsing, read guideline files
MetadataReadRequired for all GitHub Apps
IssuesReadRead issue comments for @clearpr commands

LLM Provider API Key

ClearPR needs an API key for at least one LLM provider to generate reviews:

ProviderEnv varNotes
Anthropic (default)LLM_API_KEYClaude models
OpenAILLM_API_KEYGPT-4o and similar
MistralLLM_API_KEYMistral Large
Google GeminiLLM_API_KEYGemini Pro
OllamaLLM_BASE_URLSelf-hosted, no API key needed

See LLM Providers for configuration details.

Embedding Provider (Optional)

For the past PR memory feature, ClearPR uses vector embeddings. By default it uses Voyage AI (voyage-3-lite), which requires a VOYAGE_API_KEY. If you don't configure this, ClearPR still works — it just skips the memory context during reviews.

Network Access

ClearPR needs outbound access to:

  • api.github.com — GitHub API for reading PRs and posting reviews
  • Your LLM provider's API endpoint (e.g., api.anthropic.com)
  • Your embedding provider's API endpoint (if using memory)

Inbound, your server needs to be reachable from GitHub's webhook IPs on the port you configure (default: 3000). You'll typically put ClearPR behind a reverse proxy with HTTPS.

Released under the MIT License.