Listed from the MCP registry; nobody on Odel publishes it.
Multi-model review gate for AI-written code: independent reviewers, one deterministic verdict.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx codereview-loop
MCP client config
{
"mcpServers": {
"codereview": {
"command": "uvx",
"args": [
"codereview-loop"
]
}
}
}One agent builds. Independent models review. A deterministic gate decides.
CodeReview is a review gate for AI-written code. A panel of models from different providers reviews every change, cross-checks each other's findings, and issues a recorded verdict: PASS, BLOCKED, or INCONCLUSIVE. The model that wrote the code is never the only one that checked it, and the builder can never approve its own work.
Ships as a CLI and an MCP server, so your coding agents can submit their own work to the gate before it merges. You bring your own API keys and assign models per role; your code goes to the providers you chose, nowhere else. MIT licensed. Python 3.11+, POSIX (Windows and macOS desktop apps in the works).
builder ──diff──▶ deterministic checks ──▶ reviewer A (correctness/security)
(secrets, injection, │
data-loss, your tests) ▼
reviewer B (operations/reliability)
│
┌───── gate ◀───────┘
│ PASS / BLOCKED / INCONCLUSIVE
▼
fix or rebut ──▶ verification round ──▶ PASS only when
every reviewer agrees
the block is resolved
pip install codereview-loop # or: pip install -e . from a clone
export GEMINI_API_KEY=... # any two providers are a good start
export OPENAI_API_KEY=...
# Review the staged diff in the current repo
codereview --repo . --staged --provider gemini --provider openai
echo $? # 0 = PASS, 1 = BLOCKED, 2 = INCONCLUSIVE
First run? codereview setup walks you through picking providers, keys, and a model per role. CodeReview ships no default panel: it never quietly substitutes a vendor-chosen lineup.
The report lands in codereview-out/ as Markdown (for humans) + JSON (for tooling), and every run writes one versioned verdict record you keep.
codereview loop runs the full cycle: review, hand BLOCKED findings to your builder agent, verify the fix, repeat up to --max-rounds, then hand back to a human.--post adds the report as a PR review comment (never auto-approves) and sets a codereview commit status.codereview mcp serve exposes the gate (run_gate / get_verdict) so agents submit their own work before merge.codereview intake turns an issue report into a ranked, testable solution plan before any code is written.codereview record-verify machine-checks whether a record may be called clean: gate PASS, not degraded, tests passed, at least two vendor families, reviewed range unchanged.The repo ships a labelled corpus (36 cases, public + holdout splits) and the harness to score any panel:
codereview bench run --config panel-gemini-nvidia --split public
codereview bench report --public
Headline metric is the escaped-defect rate: defects the gate would have shipped.
The default strict gate is deliberately unforgiving. In registered confirmation testing it caught every seeded defect (recall 1.00, 7 of 7) and blocked 94% of clean changes (32 of 34). That is the trade, stated plainly: strict is a high-recall gate for code you cannot afford to get wrong, with a documented waiver path. A balanced profile exists; an opt-in corroborated profile failed its registered confirmation and is marked dev-only. Numbers, intervals, and provenance: bench/README.md.
Set per project in .codereview.toml or per run with --gate-profile:
strict (default) - every blocking-severity finding blocks, whoever raised it.balanced - a blocking finding raised solely by the operations lens is demoted to a visible minor unless corroborated. Demote, never delete.corroborated - opt-in, dev evidence only (failed its registered confirmation).quiet - rejected by testing; naming it is an error.Keys come from environment variables only; nothing is stored or logged. Known secret shapes in the diff are redacted before anything is sent to a provider. Feedback is opt-in and off by default. The evidence sandbox and its limits are documented in THREAT-MODEL.md; exactly what any report sends is in PRIVACY.md.
bench/ - benchmark corpus, harness, and every registered result, including the failuresTHREAT-MODEL.md - every control, trust boundary, and residual risk, stated plainlyPRIVACY.md / SECURITY.md - what leaves your machine; how to report security problemsexamples/ - evidence configs, agent-seat wrapperscodereview --version, then re-run the failing command.codereview support-bundle writes one redacted zip you can attach to an issue.SECURITY.md; do not open a public issue.MIT