Json Comparer

Data REST API MCP

Returns a git-style line diff of two JSON documents after both are pretty-printed with 2-space indentation. Each line is marked added, removed or unchanged with its line numbers; a unified text block and counts are included.

This page documents the HTTP endpoint POST /api/tools/json-comparer/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/json-comparer/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/json-comparer/execute \
  -H "Content-Type: application/json" \
  -d '{
    "left": "{\"a\":1,\"b\":2}",
    "right": "{\"a\":1,\"b\":3}"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/json-comparer

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
left string yes The original JSON document (text).
right string yes The changed JSON document (text).
sort_keys boolean no Sort object keys recursively before formatting, so key order does not show as a change. Default: false. Default: false.

Example arguments (verified)

{
  "left": {
    "a": 1,
    "b": 2
  },
  "right": {
    "a": 1,
    "b": 3
  }
}

Arguments that carry JSON as a string are shown decoded for readability. The Copy button copies the exact wire arguments.

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:json_comparer after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Json Comparer →

More Data tools