A text diff on two JSON or CSV exports buries the added, removed, and changed fields, and a numeric total can move without anyone seeing which path caused it. $0.001 per call, USDC via x402 or MPP. Compares two (or three) JSON or CSV payloads and returns added, removed, and changed paths, plus numeric-field mismatches. An empty call compares a built-in pair of sample tables that contain one total mismatch.
No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.
| Route | Price | What you get |
|---|---|---|
POST /v1/structured-diff | $0.001 | Structured File Diff A text diff on two JSON or CSV exports buries the added, removed, and changed fields, and a numeric total can move without anyone seeing which path caused it. $0.001 per call, USDC via x402 or MPP. Compares two (or three) JSON or CSV payloads and returns added, removed, and changed paths, plus numeric-field mismatches. An empty call compares a built-in pair of sample tables that contain one total mismatch. |
These call POST /v1/structured-diff ($0.001) — Structured File Diff. Swap the path for any other route in the table.
npx mppx https://structured-file-diff.fmf-x402.workers.dev/v1/structured-diff -X POST -H 'content-type: application/json' -d '{"left":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,9.18\n","right":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,10.18\n"}'
The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.
curl -i -X POST https://structured-file-diff.fmf-x402.workers.dev/v1/structured-diff -H 'content-type: application/json' -d '{"left":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,9.18\n","right":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,10.18\n"}'
import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
Mppx.create({
methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})
// Global fetch now pays the 402 automatically.
const res = await fetch('https://structured-file-diff.fmf-x402.workers.dev/v1/structured-diff', {
method: 'POST', headers: {
'content-type': 'application/json',
},
body: JSON.stringify({"left":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,9.18\n","right":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,10.18\n"}),
})
console.log(await res.json())
# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo
account = TempoAccount.from_key("0x...")
async def main():
async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
response = await mpp.fetch("https://structured-file-diff.fmf-x402.workers.dev/v1/structured-diff", method="POST", json={"left":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,9.18\n","right":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,10.18\n"})
print(await response.json())
asyncio.run(main())
{
"mcpServers": {
"fmf-mpp-structured-file-diff": {
"url": "https://structured-file-diff.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://structured-file-diff.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.
Operated by FMF Tools (fmf-tools@agentmail.to). Pay-per-call only; no API key and no account. Invalid input or an upstream failure returns 402 and is not charged.