Mergerie

Open source · runs on your machine · GitLab and GitHub

AI code review for your merge requests — on your machine, on the subscription you already pay for.

Mergerie turns the claude or copilot CLI you already have into a review-and-ship workstation for GitLab and GitHub. No API key, no SaaS, no code leaving your laptop. The AI scores, explains, fixes and converges. You merge.

Try it in 30 seconds

git clone https://github.com/debugall/mergerie && cd mergerie && npm install && npm run demo

No token, no account: a seeded demo with fictional data.

★ Star on GitHub Read the guide

A merge request arrives, the AI reviews it, the report is published on the MR.

Local.

A Node + SQLite server on your machine. The only network calls are the ones you configure: your forge, your Jira, your Jenkins.

Your subscription.

It drives the claude or copilot CLI you already have. Zero extra cost per review, nothing new to buy.

You merge.

The AI scores, explains, fixes, converges. Nothing is merged, published or pushed without your click.

Reviews

What a review looks like

A merge request lands in your queue. One click: the AI reads the diff, not the whole repository, and returns a score out of 10 with findings that point at a file and a line. Ask for a plain-language explanation when the subject is new to you. Your own remarks anchor on the line they are about, stay pending while you finish reading, then go out to the merge request in one go.

  • Scored, versioned reviews; incremental re-review of what changed since
  • Findings tracked to resolution, with a git guard: resolved means gone from the diff
  • Team rules that fire on a path (**/migrations/**) and badge the MR before the review
  • Per-MR context: the domain rule, last year's incident, a screenshot — sent with the diff, kept for the next pass
A Mergerie review report: score, findings pointing at files and lines, pending comments

Convergence

Review → fix → re-review, until it passes

The autonomous loop reviews, lets the AI fix what it found, commits, pushes, and reviews again — until the score threshold you set, or the cap on passes. When the AI cannot settle a decision, it asks you instead of guessing, and the loop resumes where it stopped.

  1. ReviewScore and findings on the diff.
  2. FixThe agent corrects, commits and pushes on the same branch.
  3. Re-reviewOnly what changed. Stop at the threshold.

A verdict that isn't an opinion

A plain list of commands — npm ci, npm test — gives a merge request an objective verdict: ✓ verified, ✗ 2 tests broken, ⚠ base already red. Broken test names are read straight from TAP or JUnit output. Merge requests from several repositories that only hold together as a set are verified together.

Install

Try it, then plug it in

  1. The demo, no token

    Seeded fictional data, dry-run AI. Explore every screen.

    git clone https://github.com/debugall/mergerie && cd mergerie && npm install && npm run demo
  2. The real thing

    Then Settings → your GitLab or GitHub token, and the folder where clones go.

    npm start
  3. Claude Code, installed and logged in

    Mergerie drives the claude CLI through your existing subscription. Claude Code docs.

    npm install -g @anthropic-ai/claude-code && claude

Requires Node 22.9+ and git. macOS, Linux, Windows (WSL). Voice dictation is optional and installed from the settings screen.

Compare

Why not a hosted reviewer?

Hosted reviewers are good. They also read your code on their servers, bill per seat, and mostly speak GitHub. Mergerie is the local, GitLab-first, no-extra-bill answer.

MergerieCodeRabbitCopilot code reviewGitLab Duo
Runs on your machine✓ yes✗ no✗ no✗ no
GitLab support✓ yes✓ yes✗ no✓ yes
Extra cost per seatnone on top of your Claude / Copilot planper seatper seatper seat
Convergence loop (review → fix → re-review)✓ yes✗ no✗ no✗ no

The full table, sourced and dated →

Teams

Single-user by design. Team edition, if you ask for it.

Mergerie runs on one developer's machine, for that developer. If your team wants a shared server on your own infrastructure — shared review rules and verifiers, a dashboard, SSO, an audit trail — tell me what you would need. No form, no newsletter: an email.

Write to teams@mergerie.dev For teams →