Home / Servers / Data Formats / json_diff

Json diff

An MCP tool from the Data Formats server, hosted on mcp.hjlabs.in.

Compare two JSON values structurally and list what was added, removed or changed, with the path of each difference. Order of object keys does not matter; order of array items does.

Name on the gateway: data__json_diff · read-only.

Parameters

NameTypeDescription
before requiredstringThe original JSON.
after requiredstringThe new JSON.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "data__json_diff",
  "arguments": {
    "before": "…",
    "after": "…"
  }
}

Or connect the Data Formats server directly, which lists 26 tools including this one:

Run in your terminal
claude mcp add --transport http hj-data https://mcp.hjlabs.in/mcp/data \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the json diff tool with before set to ….

More from Data Formats