# Breakra

> Breakra is an open-source MCP server for developer tools. OpenAPI breaking-change checks with a safe, review or block verdict. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Website:** https://breakra.dev
- **Repository:** https://github.com/danbuildss/breakra
- **MCP Registry name:** io.github.danbuildss/breakra
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [agent tooling](https://ai-powered.com/categories/agent-tooling)
- **Listing updated:** 2026-11-20

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add breakra -- npx -y breakra
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "breakra": {
      "command": "npx",
      "args": [
        "-y",
        "breakra"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "breakra": {
      "command": "npx",
      "args": [
        "-y",
        "breakra"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "breakra": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "breakra"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "breakra": {
      "command": "npx",
      "args": [
        "-y",
        "breakra"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "breakra": {
      "command": "npx",
      "args": [
        "-y",
        "breakra"
      ]
    }
  }
}
```

## Tools

- `check_openapi_change`: Compares two OpenAPI contracts and returns a verdict, classified findings and fixes.

## 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.

## Alternatives

- [OpenAPI Diff](https://ai-powered.com/mcp/openapi-diff): OpenAPI Diff is a paid MCP server for developer tools.
- [Breakwire](https://ai-powered.com/mcp/breakwire): Breakwire is an MCP server for developer tools.
- [k11 API Contract QA](https://ai-powered.com/mcp/k11-api-contract-qa): k11 API Contract QA is an open-source MCP server for legal and government.
- [ParityDiff](https://ai-powered.com/mcp/paritydiff): ParityDiff is a freemium MCP server for developer tools.
- [MCP API Guardian](https://ai-powered.com/mcp/mcp-api-guardian): MCP API Guardian is an open-source MCP server for developer tools.
- [API Change Feed](https://ai-powered.com/mcp/api-change-feed-2): API Change Feed is a freemium MCP server for developer tools.
- [API Change Feed](https://ai-powered.com/mcp/api-change-feed): API Change Feed is a freemium MCP server for developer tools.
- [Specwise MCP](https://ai-powered.com/mcp/specwise-mcp): Specwise MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/breakra
