Docs vs Live Checker

Published docs and the live API often disagree on status codes, so a client that follows the contract treats "refresh the token" as "you are not allowed, stop." $0.002 per call, USDC via x402 or MPP. Fetches caller-supplied public routes with no credentials and reports match or mismatch against the documented method and status, plus observed content-type and byte length. An empty call runs a built-in four-check pass against the FMF Tools Directory.

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.

Routes

RoutePriceWhat you get
POST /v1/docs-vs-live$0.002Docs vs Live Checker
Published docs and the live API often disagree on status codes, so a client that follows the contract treats "refresh the token" as "you are not allowed, stop." $0.002 per call, USDC via x402 or MPP. Fetches caller-supplied public routes with no credentials and reports match or mismatch against the documented method and status, plus observed content-type and byte length. An empty call runs a built-in four-check pass against the FMF Tools Directory.

Copy-paste examples

These call POST /v1/docs-vs-live ($0.002) — Docs vs Live Checker. Swap the path for any other route in the table.

mppx CLI

npx mppx https://docs-vs-live-checker.fmf-x402.workers.dev/v1/docs-vs-live -X POST -H 'content-type: application/json' -d '{"base_url":"https://tools.fmf-x402.workers.dev","checks":[{"id":"C01","method":"GET","path":"/openapi.json","expected_status":200},{"id":"C02","method":"GET","path":"/llms.txt","expected_status":200},{"id":"C03","method":"GET","path":"/api/summary.json","expected_status":200},{"id":"C04","method":"GET","path":"/api/tool/no-such-fmf-docs-check.json","expected_status":404}]}'

The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.

curl (unpaid — shows the 402, not charged)

curl -i -X POST https://docs-vs-live-checker.fmf-x402.workers.dev/v1/docs-vs-live -H 'content-type: application/json' -d '{"base_url":"https://tools.fmf-x402.workers.dev","checks":[{"id":"C01","method":"GET","path":"/openapi.json","expected_status":200},{"id":"C02","method":"GET","path":"/llms.txt","expected_status":200},{"id":"C03","method":"GET","path":"/api/summary.json","expected_status":200},{"id":"C04","method":"GET","path":"/api/tool/no-such-fmf-docs-check.json","expected_status":404}]}'

TypeScript SDK (mppx)

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://docs-vs-live-checker.fmf-x402.workers.dev/v1/docs-vs-live', {
  method: 'POST',  headers: {
    'content-type': 'application/json',
  },
  body: JSON.stringify({"base_url":"https://tools.fmf-x402.workers.dev","checks":[{"id":"C01","method":"GET","path":"/openapi.json","expected_status":200},{"id":"C02","method":"GET","path":"/llms.txt","expected_status":200},{"id":"C03","method":"GET","path":"/api/summary.json","expected_status":200},{"id":"C04","method":"GET","path":"/api/tool/no-such-fmf-docs-check.json","expected_status":404}]}),
})
console.log(await res.json())

Python SDK (pympp)

# 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://docs-vs-live-checker.fmf-x402.workers.dev/v1/docs-vs-live", method="POST", json={"base_url":"https://tools.fmf-x402.workers.dev","checks":[{"id":"C01","method":"GET","path":"/openapi.json","expected_status":200},{"id":"C02","method":"GET","path":"/llms.txt","expected_status":200},{"id":"C03","method":"GET","path":"/api/summary.json","expected_status":200},{"id":"C04","method":"GET","path":"/api/tool/no-such-fmf-docs-check.json","expected_status":404}]})
        print(await response.json())

asyncio.run(main())

MCP config (Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "fmf-mpp-docs-vs-live-checker": {
      "url": "https://docs-vs-live-checker.fmf-x402.workers.dev/mcp"
    }
  }
}

Transport is Streamable HTTP at https://docs-vs-live-checker.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.

Sources and licences

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.

Sister services