Claude Code Review runs several agents on each pull request and verifies what they find before posting it. Perch runs each rule in your perch.yaml on every method the rule covers, and if a rule breaks, the Perch check fails.
Perch and Claude Code Review side by side
| Perch | Claude Code Review | |
|---|---|---|
| Price per pull request | About 20¢ | $15–25, Anthropic’s stated average |
| How you pay | 10¢ per 1,000 rule checks, no seats | Token usage on a Claude Team or Enterprise plan |
| Your rules | Checked on every method they cover | Guidance in REVIEW.md and CLAUDE.md |
| Blocking a merge | A broken rule fails the check | The check run never concludes as a failure |
| Reviewing again | Unchanged code is free and gets the same answer | Every push is reviewed and billed by default |
| Before you commit | perch check reads uncommitted files |
/code-review in Claude Code, on any plan |
| Code hosts | GitHub; the CLI runs in any CI | GitHub, including Enterprise Server |
| Free to start | $5 of usage, no card | Needs a Team or Enterprise plan |
A broken rule fails the pull request
Claude Code Review leaves comments, and its check never fails, so the merge is always your call. When a Perch rule breaks, the Perch check fails and names the method that broke it. Branch protection can require it to pass.
Here’s one of four rules written for an order service in Perch’s public repository, along with the method it covers. This version of the file has a bug in each method:
- name: eval-adjacent-expirations
where: "review-evaluation/order_service.py"
ensure: >-
Read release_expired only. It releases every expired reservation,
including adjacent expired entries, removes those entries, and leaves
unexpired reservations intact.
def release_expired(stock, reservations, now):
"""Return expired stock and retain unexpired reservations."""
for reservation in reservations:
if reservation.expires_at < now:
stock[reservation.sku] = stock.get(reservation.sku, 0) + reservation.quantity
reservations.remove(reservation)
Removing items from a list while looping over it skips the item after each one removed, so if two reservations in a row have expired, the second one stays. Perch failed all four rules on the broken file and passed all four on the fixed one:
| Rule | Broken file | Fixed file |
|---|---|---|
eval-adjacent-expirations |
Fails, 69% | Passes |
eval-malformed-order-errors |
Fails, 96% | Passes |
eval-complete-subtotal |
Fails, 96% | Passes |
eval-all-stock-lines |
Fails, 95% | Passes |
The raw output of the perch check run on October 14, 2026 has both commits.
Every push for about 20¢
Perch bills 10¢ per 1,000 rule checks. A typical pull request has about 60 methods, including the code around each change, so it costs about 20¢. Perch remembers the answer for anything you didn’t change, so reviewing every push stays cheap.
| Pull requests a month | Perch | Claude Code Review |
|---|---|---|
| 100 | About $20 | $1,500–2,500 |
| 400 | About $80 | $6,000–10,000 |
| 1,000 | About $200 | $15,000–25,000 |
Assumes one review per pull request. Anthropic says reviews generally average $15–25, and Claude Code Review runs on every push by default, which multiplies the cost by the number of pushes.
Use it from Claude Code
Run perch setup claude-code and Claude Code checks every file it edits with Perch, fixes what fails, and checks again before it commits:
perch setup claude-code
perch check review-evaluation/order_service.py --rules eval-adjacent-expirations
Claude Code Review or Perch?
Choose Claude Code Review if
- You have a Team or Enterprise plan and want several agents on each pull request
- You want an extra verification pass before comments are posted
- You want comments, not a failing check
Choose Perch if
- You want a failing check when a rule breaks
- You want every push to a pull request reviewed for about 20¢
- You want Claude Code to check its edits before committing them