# The AI code review agent that knows your whole codebase

MergeHarbor follows each pull request through your code graph, linked repositories, tickets, team rules and CI, then tries to disprove every finding before it posts.

[Start free trial](https://app.mergeharbor.com/signup) [Book a demo](https://mergeharbor.com/contact?topic=sales&source=demo)

-   14-day trial, no card required
-   Self-hosting available
-   Your code is never used for training

Pull requests from many repositories flow into MergeHarbor. Fewer streams leave on the other side as verified review comments, and a few end early: findings the verifier disproved, which are never posted.

Pull requests from every repository

Verified comments

Disproved, never posted

## One reviewer for code, issues, scans, dependencies and changes

Review, triage, security scans, dependency risk and the Shipyard coding agent read the same code graph and context, so each one knows what your code actually calls.

[All features](https://mergeharbor.com/features)

### Review

Comments that survive a second look

Each pull request is read with its callers, linked tickets and your rules. A verifier tries to disprove every finding before it is posted.

-   Standard, Deep and Max tiers, or Auto per pull request
-   Suggested changes and a prompt for your coding agent
-   Incremental on every push

[Explore review](https://mergeharbor.com/features/review-agent)

### Context

Every sentence traces back to a source

The code graph, up to 20 linked repositories, tickets and docs, your rules, and CI and production signals feed one comment.

[Explore context](https://mergeharbor.com/features/context)

### Triage

One useful comment on every new issue

Likely duplicates, the questions still open and likely owners, from Jira, Linear, Asana, Azure Boards, GitHub and GitLab.

[Explore triage](https://mergeharbor.com/features/issue-triage)

### Security

Whole-repository scans, verified

Every finding is verified before it is reported, with CWE and OWASP categories and the entry points that reach it.

[Explore security scans](https://mergeharbor.com/features/security-scans)

### Vulnerabilities

Dependency risk with an owner and a fix

Ranked by CVSS, EPSS, KEV and whether your code reaches it, with fix pull requests to the minimal safe version.

Reachable from your code Not reachable

[Explore vulnerabilities](https://mergeharbor.com/features/vulnerabilities)

### Shipyard

A coding agent that ends in a reviewed pull request

Hand it a task from an issue, chat or the console. It drafts a plan you approve, works in an isolated sandbox, runs your tests and lint, and opens a pull request MergeHarbor reviews.

[Explore Shipyard](https://mergeharbor.com/features/shipyard)

Sample task

1.  Issue labelled in Jira

    ACME-212 Add an endpoint to look up one refund

    Trigger: label shipyard Playbook: Add an API endpoint

2.  Plan approved

    Edit 3 files, add 2 tests

    Approved by Dana Deep tier Cap 40 credits

3.  Sandbox

    Tests and lint pass

    -   `go test ./...` Passed
    -   `golangci-lint run` Passed

    Network: none

4.  Pull request

    #482 opened and reviewed by MergeHarbor

    mergeharbor/task-1043 22 credits used

Charts show a sample repository.

## Works with the code hosts you already run, in the cloud or self-managed

-   GitHub

    Cloud · Enterprise Server

-   GitLab

    Cloud · Self-Managed

-   Bitbucket

    Cloud · Data Center

-   Azure DevOps

    Services · Server

-   Gitea

    Gitea · Forgejo

## The context behind every comment

A reviewer is only as good as what it reads. MergeHarbor reads what a senior engineer would check before leaving a comment, and every sentence it writes traces back to a source.

1.  Every function, call and type in the repository. The review starts from the change and everything that calls it.

2.  Up to 20 linked repositories, your team's rules, rules learned from feedback, earlier findings and CI results.

3.  The tickets and docs linked to the change, production errors and metrics, and security checks.

4.  The reviewer reads what it needs. A second pass tries to disprove every finding; refuted ones are dropped and never posted.

5.  A review tier fits the change, from free deterministic checks to Standard, Deep or Max, and each finding lands on its lines with its sources.

## Investigation first, comments last

Diff-only tools comment on the lines that changed. MergeHarbor does the reading first and checks its own work before anything reaches your pull request.

[How a review works](https://mergeharbor.com/product)

acme/payments #1482 Validate refund amounts in the handler. Sample pull request. Standard tier median **18 s** end to end

1.  ### Index

    **3 files** re-indexed after the push

    A code graph, text and semantic index per repository. Only changed files are indexed again.

2.  ### Rank

    **12 hunks** ranked by what they touch

    Removed guards, queries, concurrency, money and authentication are read first.

3.  ### Investigate

    **9 files** read beyond the diff

    Callers, similar code, file history, linked tickets and your rules. The tier sets how far it goes.

4.  ### Verify

    **1 of 3** findings survive

    A second pass tries to disprove each finding and cites what it checked. Refuted ones are dropped.

5.  ### Post

    **1 comment** with a suggested change

    On the exact line, with a prompt for your coding agent, and one merge gate status check.

## Measured on real bugs, with the misses shown

Pull requests that introduced bugs later fixed in well-known open source projects, plus clean changes that should get no comment at all.

Bugs caught, and comments that were real bugs By review tier

Comments that were real bugs Bugs caught

Every bug in the set, Standard tier 31 of 34 caught

Major

**23** of 24

Minor

**8** of 10

Clean changes commented on

**0** of 7

Cost per review against review time Median to 95th percentile

Median time 95th percentile

Pilot run on October 21, 2026: 33 pull requests with 34 real bugs and 7 clean changes from 24 open source projects, one review per case and tier. Model cost only.

[Method and every case](https://mergeharbor.com/benchmarks)

## Every change has a blast radius

A diff shows the lines that changed. MergeHarbor follows each changed function through the code graph to its callers and the entry points they serve, and marks what no test covers.

ledger/updateBalance changed auth/verifySession changed search/rankResults changed **60** functions in **7** packages

Sample: changing updateBalance reaches 60 functions in 7 packages: 36 callers and 24 entry points; 6 have no test. Sample: changing verifySession reaches 52 functions in 6 packages: 30 callers and 22 entry points; 4 have no test. Sample: changing rankResults reaches 28 functions in 3 packages: 16 callers and 12 entry points; 3 have no test.

Changed function Affected caller Entry point No test covers it Blast radius Sample codebase, 428 functions

Entry points

24

Paths into this change

Callers

36

Up to four calls away

No test coverage

6

Functions at risk

Risk paths

-   GET /admin/sessions → AccountsGuard → UsersGuard → ProrateCredit → updateBalance
-   GET /v1/charges → RefundsGuard → AccountsHandler → ProrateCredit → updateBalance
-   PUT /v1/refunds → ExportValidator → DisputesValidator → ApproveDispute → updateBalance

-   POST /v1/suggest → PlansGuard → CreditsValidator → verifySession
-   POST /webhooks/payments → BankVerifier → DisputesRouter → verifySession
-   POST /admin/audit → UsersHandler → UsersGuard → verifySession

-   cron ledger-close → LedgerCloseBatch → rankResults
-   GET /v1/charges → PlansGuard → ExportHandler → FilterSnippet → rankResults
-   POST /v1/plans → DisputesValidator → MergeSnippet → BoostFacet → rankResults

Repository insights

Open pull requests, high-risk changes and open findings for every repository, at a glance. Sample organization.

-   **platform** acme/platform

    12

    Open PRs

    2

    High risk

    3 open findings
-   **payments** acme/payments

    8

    Open PRs

    1

    High risk

    1 open finding
-   **infrastructure** acme/infrastructure

    5

    Open PRs

    0

    High risk

    All clear

## See what needs attention across every repository

Critical findings, pull requests waiting on a fix, and spend against budget, in one place for every team.

![The console overview: reviews run, bugs caught and spend, and the open critical and major findings across repositories](https://mergeharbor.com/_astro/light-overview-wide.BGCCjPOi_U30DN.png)

1.  Reviews, bugs caught and spend for the last 30 days
2.  Open critical and major findings across repositories
3.  Each finding names its pull request and file

From the console, with a sample organization

## From review comments to a merge decision

A review lists what is wrong. MergeHarbor also tells you whether the pull request is safe to merge, how risky it is, what it left untested, and keeps the evidence your auditors ask for.

Merge gate

Ready 80–100 Warnings 50–79 Blocked 0–49

-   #4812 Idempotent capture for card payments All checks passed Ready to merge
-   #4815 Invoice export endpoint Fix: add the tenant filter to the export query Blocked
-   #4817 Retry helper for webhook delivery 1 test gap: retry backoff is untested Ready with warnings

Release radar 39 pull requests in a sample release, by risk score

**3 high-risk changes** to look at before the release: a removed auth check, a locking migration and a payments retry.

### One safe-to-merge verdict

A merge readiness score from 0 to 100 and a checklist of exactly what to fix, published as a status check you can require.

[One safe-to-merge verdict](https://mergeharbor.com/docs/merge-gate)

### Risk score and release radar

Every pull request gets a 0–100 risk score with the reasons, and the radar shows what is risky in your next release.

[Risk score and release radar](https://mergeharbor.com/docs/change-risk)

### Test and migration gaps

Changed functions with no test, migrations that lock or lose data, and API changes that break the clients that call them.

[Test and migration gaps](https://mergeharbor.com/docs/test-gaps)

### Sealed audit evidence

Change-management evidence for every merged pull request, mapped to SOC 2, ISO 27001 and PCI DSS for your auditors.

[Sealed audit evidence](https://mergeharbor.com/docs/compliance)

## Reviews that follow your rules, not generic advice

Set strictness, categories, and filters for the organization, override them per repository, and keep repository-specific rules in version control.

-   **Plain-English rules.** Teach a rule from the console or in a pull request with `@mergeharbor remember`, scoped to the paths it applies to.

-   **Context you already wrote.** CLAUDE.md, AGENTS.md, Cursor rules, Copilot instructions, and a knowledge base of design documents are read on every review.

-   **Learning with approval.** Patterns in your team's reactions become proposed rules that an admin approves before they take effect.

-   **Tamper-resistant configuration.** `.mergeharbor.yml` is read from the merge base, so a pull request cannot change how it is reviewed.

![Recommended review setups and the essential review settings: automatic reviews, drafts and review tier](https://mergeharbor.com/_astro/light-settings-review.asFU7Qjl_ZQ80Me.png)

1.  Start from a recommended setup
2.  Choose which pull request events trigger a review

From the console, with a sample organization

## Feedback where your engineers already work

MergeHarbor posts on the pull request and stays out of the way. There is no new tool to check and no extra step before merging.

### Inline comments with fixes

Findings land on the exact lines with a suggested change. On GitHub, one click opens a fix pull request you can merge from the console, and every finding includes a ready-to-paste prompt for your coding agent.

### Summaries reviewers can trust

Each review opens with a summary of the change, a confidence score, and an optional sequence diagram of the new flow.

### Commands in the conversation

Ask for a re-review with `@mergeharbor review`, or teach a rule without leaving the pull request.

### Incremental on every push

New commits are reviewed on their own, earlier findings carry forward, and findings you fixed are marked addressed.

## The right depth of review for each pull request

A documentation change does not need the most expensive model. A change to payments code does. MergeHarbor decides per pull request and shows you the bill.

-   Free deterministic checks on every pull request: secrets, SQL and shell injection, XSS sinks, eval, disabled TLS verification, conflict markers, and large binaries or data dumps
-   One focused model pass for ordinary changes; an agentic deep review only for high-risk or cross-cutting ones
-   A cost cap on every review, and monthly budgets that warn or pause before you overspend
-   Cost per review, per pull request, and per developer, visible to admins

[See plans and credits](https://mergeharbor.com/pricing)

## Security your review board will sign off on

Run MergeHarbor in your own cloud, connect it to your identity provider, and keep a tamper-evident record of every action.

### Self-hosted or cloud

Use the hosted service, or deploy on Kubernetes with our Helm chart or on AWS with Terraform. Self-hosted installs can use your own model provider accounts, so code stays in your cloud.

### SSO and fine-grained roles

On Enterprise: SAML 2.0 or OIDC single sign-on with enforcement, SCIM provisioning, group-to-role mapping, and custom roles.

### Tamper-evident audit log

Every change, login, and export is recorded in an append-only, hash-chained log you can verify and stream to your SIEM.

[Read about security](https://mergeharbor.com/security)

## Frequently asked questions

How is MergeHarbor different from a linter or a diff-based AI reviewer?

Linters check rules on individual files, and most AI reviewers only see the lines that changed. MergeHarbor indexes your repositories as a graph of files, symbols, and calls, so the reviewer can trace a change to its callers, compare it with similar code, and read history before reporting. Each finding then passes an independent verification step before it is posted.

Which code hosts are supported?

GitHub, GitHub Enterprise Server, GitLab (including self-managed), Bitbucket Cloud, Bitbucket Data Center, Azure DevOps Services, Azure DevOps Server (2020 and later), Gitea or Forgejo, and Perforce Helix Core through Helix Swarm. GitHub Enterprise Server needs a self-hosted MergeHarbor; other self-managed hosts on private networks are supported when MergeHarbor is self-hosted or can reach them.

Which languages does MergeHarbor understand?

Reviews support 22 languages in full, including Python, Java, C, C++, C#, JavaScript, TypeScript, Kotlin, PHP, Swift, Go, Ruby, Scala, Rust and Terraform, and 35 more with structural or text support, from COBOL and ABAP to YAML. The code graph resolves calls and marks them exact or likely in Go, Java, JavaScript, TypeScript and Python, and matches symbols by name in the others. The full list is in the documentation.

Is our code used to train models?

No. Customer code is never used for training, and secrets are removed before content reaches a model. Enterprise organizations can restrict inference to US or EU regions, and self-hosted deployments can use your own model provider accounts.

Can we self-host MergeHarbor?

Yes, on the Enterprise plan. MergeHarbor ships as container images with a Helm chart for Kubernetes and Terraform for AWS. Self-hosted deployments support SSO, audit export, and your own model provider accounts. The hosted service always runs reviews on MergeHarbor's models, with no keys to supply.

How long does setup take?

Sign up, start the 14-day Team trial with no card, then connect a code host and choose repositories: a few minutes in all. Reviews start immediately; indexing runs in the background and adds codebase context as it completes.

Have another question? [Talk to our team](https://mergeharbor.com/contact)

## Review every pull request with the context of your whole codebase

Connect a code host in minutes. Reviews start right away, and codebase context is added as indexing completes.

[Start free trial](https://app.mergeharbor.com/signup) [Book a demo](https://mergeharbor.com/contact?topic=sales&source=demo)
