API & MCP

Everything a person can do on OpenAPI Diff Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

OpenAPI Diff Explorer

Paste or link two OpenAPI 3.x (or Swagger 2) documents in JSON or YAML. Every operation, parameter, request body, response and schema property is compared (with $ref resolution), and each change is classified as breaking, potentially breaking or non-breaking, with the direction-aware rules API teams use (e.g. a new required request field breaks clients; a new response field does not; a new response enum value might).

Inputs of OpenAPI Diff Explorer
FieldTypeDefaultDescription
oldSpectextarea—Old spec (JSON or YAML)
newSpectextarea—New spec (JSON or YAML)
oldUrlurl—Or: URL of the old spec
newUrlurl—Or: URL of the new spec

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "openapi-diff-explorer": { "type": "http", "url": "https://openapidiffexplorer.usefulweb.site/mcp" }
  }
}