# Spec Compare: Diff OpenAPI Contracts on Mac

> Compare local API contracts before adopting a change.

- Canonical URL: https://getedith.pro/extensions/openapi-diff
- Category: [Developer & Data](https://getedith.pro/extensions/category/developer-tools)
- Extension ID: `specCompare`
- Updated: 2026-11-29
- Part of: [Edith](https://getedith.pro/), a Mac app for macOS 14 or later on Apple silicon, [$35 once for one Mac, plus $7 for each additional Mac](https://getedith.pro/pricing)

Select a base and revision OpenAPI file to review added, removed and changed operations, follow source locations and copy a Markdown report.

## Overview

Select a base and revision OpenAPI file to review added, removed and changed operations, follow source locations and copy a Markdown report.

## How it works

1. **Choose two files**: Select the base contract, then the revised contract.
2. **Compare operations**: Review grouped operations and breaking findings.
3. **Share the report**: Copy deterministic Markdown with source links.

## Command line and MCP

Run `ed spec-compare` from Terminal, and add `--json` for JSON output. Coding agents connected to the [Edith MCP server](https://getedith.pro/mcp) call the same commands as tools whose names start with `edith_spec_compare`.

```sh
ed spec-compare compare /tmp/base.yaml /tmp/revision.yaml
ed spec-compare compare /tmp/base.json /tmp/revision.json --json
```

## Requirements

- macOS 14 or later on Apple silicon
- oasdiff 1.37 or later in the 1.x series, installed with Homebrew

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
