What you get
- Docker container + PostgreSQL — runs on any cloud, any VM, or bare metal
- No AWS required — unless you choose Amazon Bedrock as your LLM provider
- You control the LLM — pick the provider that fits your needs
- Always free — no MergeWatch billing, you pay your LLM provider directly
LLM providers
You choose which LLM powers your reviews by setting theLLM_PROVIDER environment variable:
Architecture
The Docker image (ghcr.io/mergewatch/mergewatch:latest) runs an Express server that:
- Receives GitHub webhooks on
/webhook(port 3000) - Validates the HMAC-SHA256 signature
- Fetches the PR diff from GitHub
- Runs eight review agents in parallel against your chosen LLM
- Posts review comments and a Check Run back to the PR
- Stores the review record in PostgreSQL
Self-hosted vs Managed SaaS
Next steps
Prerequisites
Docker and GitHub requirements before you start.
Install
Step-by-step install with Docker Compose.
LLM Providers
Configure Anthropic, LiteLLM, Bedrock, or Ollama.