Breakra
OpenAPI breaking-change checks with a safe, review or block verdict
Breakra is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 0.2.2
- Listing updated
Similar MCP servers
Install
Run in a terminal
claude mcp add breakra -- npx -y breakraAdd to claude_desktop_config.json
{
"mcpServers": {
"breakra": {
"command": "npx",
"args": [
"-y",
"breakra"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"breakra": {
"command": "npx",
"args": [
"-y",
"breakra"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"breakra": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"breakra"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"breakra": {
"command": "npx",
"args": [
"-y",
"breakra"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"breakra": {
"command": "npx",
"args": [
"-y",
"breakra"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
About Breakra
Breakra compares an old and a new OpenAPI 3.0 or 3.1 contract, in JSON or YAML, and classifies every difference by who it affects and how: request or response side, narrowing, widening or removal. Each finding comes with the evidence and a suggested fix, and the whole run ends in one verdict of safe, review or block plus a semver bump recommendation.
The engine is deterministic. The same two inputs always produce the same analysis ID and the same findings, so a result can be stored next to the change that caused it. A --use option narrows the check to the operations your own code calls, which suits SDK and integration maintainers watching an upstream API.
It runs locally through npx with Node.js 20 or later, as a CLI or as an MCP server exposing a single tool, and nothing leaves your machine. A hosted endpoint is also available for agents that pay per call. In CI, exit codes distinguish passing, failing and errors, and an unchecked spec is never reported as safe.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- check_openapi_change
- Compares two OpenAPI contracts and returns a verdict, classified findings and fixes.
What it does
- Safe, review, block verdicts
- Every comparison ends in one of three verdicts so an agent or a pipeline knows whether to proceed.
- Evidence and fixes
- Each classified change lists what changed and a recommended action for callers.
- Deterministic analysis IDs
- Identical inputs give identical findings and the same sha256 analysis ID.
- Consumer-focused checks
- The --use option limits the report to the operations your code depends on.
- CI exit codes
- Exit 0 for ok, 1 for failure and 2 for error, with --fail-on block or review to set strictness.
- Local CLI and MCP tool
- Runs through npx with no wallet and nothing sent off the machine.
- Pay-per-call hosted API
- One HTTP call at $0.02 USDC on Base via x402, with no account or API key.
Good for
- Gate pull requests that change an OpenAPI spec before an agent merges them
- See what an upstream API change means for the endpoints your integration calls
- Fail a release build on breaking contract changes
- Get semver advice for every API change
- Let an autonomous agent pay per check without an account
Pricing
Open source
Free locally (MIT); hosted calls $0.02 USDC via x402
Prices change. Check breakra.dev before you buy.
Breakra FAQ
Which OpenAPI versions does Breakra read?
OpenAPI 3.0.0 to 3.0.4 and 3.1.0 to 3.1.1, as JSON or YAML, up to 1 MB inline for the hosted call.
Does Breakra cost anything?
Local use through the CLI or MCP server is free. The hosted endpoint charges $0.02 USDC per call on Base via x402, and its own errors are never charged.
What is the MCP tool called?
check_openapi_change.
Is Breakra open source?
Yes, it is released under the MIT license.
How do I add Breakra to Claude Code?
Run this command in your terminal: claude mcp add breakra -- npx -y breakra
What are the best alternatives to Breakra?
The closest alternatives to Breakra are OpenAPI Diff, Breakwire, k11 API Contract QA, ParityDiff and MCP API Guardian.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.