FMF Tools Read: any page or PDF as clean Markdown with an injection verdict (MPP + x402)

POST /mpp/read {url | pdf_url | html, max_chars?} for $0.003. Returns url, final_url, status, title, markdown, tables [{rows}], truncated, tokens_estimate, injection {verdict, spans}, rendered, fetched_at. JS shells are rendered in headless Chrome. Not charged when the fetch fails or the text is empty. Free sample: ?test=1.

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 /mpp/read$0.003Read a page, PDF or HTML as clean Markdown you can trust
One call: give url, pdf_url or html; get clean Markdown, tables as rows, title, final URL, HTTP status, token estimate, and a prompt-injection verdict (safe|suspicious|malicious with spans) covering both visible text and hidden markup. JS-only pages are rendered in headless Chrome automatically (rendered=true). Not charged if the fetch fails or no text comes out. Free sample: ?test=1.

Copy-paste examples

These call POST /mpp/read ($0.003) — Read a page, PDF or HTML as clean Markdown you can trust. Swap the path for any other route in the table.

mppx CLI

npx mppx https://fmf-read.fmf-x402.workers.dev/mpp/read -X POST -H 'content-type: application/json' -d '{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402"}'

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://fmf-read.fmf-x402.workers.dev/mpp/read -H 'content-type: application/json' -d '{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402"}'

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://fmf-read.fmf-x402.workers.dev/mpp/read', {
  method: 'POST',  headers: {
    'content-type': 'application/json',
  },
  body: JSON.stringify({"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402"}),
})
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://fmf-read.fmf-x402.workers.dev/mpp/read", method="POST", json={"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402"})
        print(await response.json())

asyncio.run(main())

MCP config (Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "fmf-mpp-fmf-read": {
      "url": "https://fmf-read.fmf-x402.workers.dev/mcp"
    }
  }
}

Transport is Streamable HTTP at https://fmf-read.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 a failed fetch returns 402 and is not charged.

Sister services