The API safety layerfor developers and AI agents.
Catch breaking API changes before they ship.
Developers run it from the terminal or CI; coding agents call it through the CLI, MCP or the x402 API. Every check compares two OpenAPI contracts and returns a verdict (safe · review · block), the evidence and a fix for every finding. Deterministic, and free to run locally.
$ npx -y breakra check old.yaml new.yamlread breakra.dev/skill.mdWorks with
Claude Code
GitHub Actions
Bankr agents
agents
Any MCP client
See it work
verdict: block bump: major
- breaking Operation POST /orders was removed. Callers of it will receive errors.
→ Find and replace all calls to POST /orders.
analysis_id: sha256:ebc9d09829404d13…
verdict: review bump: major
- potentially breaking A new required query parameter `region` was added to GET /orders/{id}. Callers that do not send it may be rejected.
→ Update callers of GET /orders/{id} to send `region`.
analysis_id: sha256:cb5bd848db2b3f06…
verdict: review bump: major
- potentially breaking Property `email` was removed from the 200 response body. Consumers that read it may break.
→ Find code that reads `email` from GET /orders/{id} and handle its absence.
analysis_id: sha256:b41bccfb6ea2688e…
verdict: review bump: major
- potentially breaking `type` of field `total` in the 200 response body changed ("number" → "string"), so the set of returned values changed.
→ Check that consumers of GET /orders/{id} handle the new `type` of field `total`.
analysis_id: sha256:1364d0ea25bc565e…
verdict: review bump: major
- potentially breaking `type` of field `email` in the 200 response body changed ("string" → ["string","null"]), so the set of returned values widened.
→ Check that consumers of GET /orders/{id} handle the new `type` of field `email`.
analysis_id: sha256:366a337a68c26f1a…
verdict: safe bump: patch
- safe 1 change(s), none that may break callers.
analysis_id: sha256:865bde3687347cec…
Real engine output for curated benchmark cases. Same inputs, same analysis_id; a test keeps this page identical to the engine.
Products
Live
Breakra Core
Check API contract changes before they ship: CLI, MCP, GitHub Actions and the x402 API.
Private preview
Orric
An AI research agent for API compatibility, built on Breakra. Running privately; not open yet.
Before / after
Without Breakra
- Agent renames a response field
- Tests pass ✓
- Merged and deployed
- Every client that read it breaks ✗
With Breakra
- Agent runs
breakrabefore merging - verdict: block, field removed
- The exact fix, before anything ships
- Clients keep working ✓
Built for developers and their agents
Coding agents
Check spec changes inside the PR loop, with the CLI or the MCP tool.
SDK & integration maintainers
See what an upstream change means for the endpoints you call (--use).
API platform teams
Gate releases on the verdict, with semver advice for every change.
Autonomous agents
Pay $0.02 per check via x402. No account, no API key.
Get started
# same engine, on your machine
npx -y breakra check old.yaml new.yaml
npx -y breakra check old.yaml new.yaml --use "GET /orders/{id}"
npx -y breakra check old.yaml new.yaml --json # the hosted API's exact result
# Claude Code
claude mcp add --scope user breakra -- npx -y breakra mcp
# any MCP client (e.g. Cursor: ~/.cursor/mcp.json)
{ "mcpServers": { "breakra": { "command": "npx", "args": ["-y", "breakra", "mcp"] } } }
# fail the build on breaking changes (2 = unchecked, never "safe")
npx -y breakra@0.2.2 check main.yaml pr.yaml --fail-on block
# stricter: also stop on potentially breaking / unknown
npx -y breakra@0.2.2 check main.yaml pr.yaml --fail-on review
A complete, tested workflow: Integrations → GitHub Actions.
# give your agent the guide: when to call, how to pay safely
read breakra.dev/skill.md
# the hosted check (x402: only a 200 is charged)
POST https://breakra.dev/api/analyze
Measured on real API history
7
GitHub API version pairs compared
2 · 4 · 1
block · review · safe
15/15
curated scenarios as expected
Every breaking finding we checked by hand was real. Where Breakra is noisy or can't assess (very large specs like Stripe exceed its limits), the benchmark says so. Read the benchmark →
Open source (MIT) · Deterministic · Automated tests and CI · Cross-checked with oasdiff · Security-scanned
Listed on npm · MCP Registry · Glama · Tessl · skills.sh · x402scan · Bankr
For AI agents
- skill.md
- breakra.dev/skill.md: when to call, how to pay safely, how to read results
- llms.txt
- breakra.dev/llms.txt: a map of this site for language models
- Contract
- /openapi.json (OpenAPI 3.1)
- MCP
claude mcp add breakra -- npx -y breakra mcp- Hosted API
POST https://x402.bankr.bot/0xb98f0de777eea8c481b64e33d3e0066cea38fa91/breakra-analyze- Input
- OpenAPI 3.0.0–3.0.4 or 3.1.0–3.1.1, JSON or YAML, inline, ≤ 1 MB
{
"mcpServers": {
"breakra": { "command": "npx", "args": ["-y", "breakra", "mcp"] }
}
}
{
"verdict": "block",
"suggested_version_bump": "major",
"compatibility": "breaking",
"summary": { "total_changes": 15, "breaking": 1,
"potentially_breaking": 10, … },
"changes": [ …, {
"id": "change-002",
"compatibility": "potentially_breaking",
"operation": { "method": "GET", "path": "/orders" },
"location": { "in": "query", "name": "customer_id" },
"reason": "A new required query parameter `customer_id` was added to GET /orders. Callers that do not send it may be rejected.",
"recommended_action": "Update callers of GET /orders to send `customer_id`."
}, … ]
}
Pricing
Free
$0
CLI and MCP server on your machine. Nothing leaves it.
npx -y breakra
Hosted
$0.02 / check
$0.02 USDC on Base, only on a 200. Breakra's own errors are never charged. No account.
FAQ
Is it really deterministic?
Yes. Findings come from versioned rules and the evidence in your contracts; there's no AI in the check. The same inputs always give the same result and analysis_id.
Where do my contracts go?
Locally (CLI or MCP): nowhere. Hosted: to Bankr x402 Cloud (and Vercel for the breakra.dev forward). Contracts are never stored or logged. Don't send contracts you aren't allowed to share.
What does "unknown" mean?
A change the rules don't evaluate. It's never treated as safe: the verdict becomes review.
How is it different from oasdiff?
oasdiff is the mature open-source diff tool, with more rules and a free hosted MCP. Breakra focuses on a single agent-ready decision (safe/review/block), evidence and a fix per finding, honest unknowns, usage filtering, and pay-per-call without an account. We cross-check against oasdiff in CI. Full comparison →
Is Breakra a security scanner?
No. "API safety" here means compatibility: Breakra checks whether a change to an OpenAPI contract may break the clients and integrations that depend on it. It doesn't scan for security vulnerabilities, test your running API, or read your code. Pair it with a security scanner for that.
What can't it do (yet)?
It doesn't read your code: --use filters contract findings to the endpoints you list. Very large specs (like Stripe's) exceed its limits. It doesn't fetch URLs or external $refs.