Pay-per-call headless Chrome for AI agents: website screenshots (viewport or full page, PNG/JPEG, mobile, dark mode), JavaScript-rendered page content as Markdown, text or HTML, and print-to-PDF. No account or API key: pay per call with MPP on Tempo (USDC.e or pathUSD). Invalid input, unreachable pages, a busy browser or reached daily capacity return 402 and are not charged.
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 /mpp/browser/screenshot | $0.005 | Website screenshot (real Chrome, JS rendered) Screenshot any public URL in headless Chrome after JavaScript runs: viewport or full page, PNG or JPEG, custom width/height, mobile and dark mode, extra wait. Returns the image. Daily capacity is limited; when it is reached, or the browser is momentarily busy, you get 402 and are not charged. |
POST /mpp/browser/render | $0.004 | Render a JS-heavy page to Markdown, text or HTML Load a URL in headless Chrome, let JavaScript run (SPAs, client-rendered sites), then return clean Markdown (default), visible text, or the rendered HTML, plus title, final URL, HTTP status and links. Daily capacity is limited; when it is reached, or the browser is momentarily busy, you get 402 and are not charged. |
POST /mpp/browser/pdf | $0.006 | Print a web page to PDF Render a URL in headless Chrome and print it to PDF (A4 or Letter, portrait or landscape, backgrounds on). Returns the PDF. Daily capacity is limited; when it is reached, or the browser is momentarily busy, you get 402 and are not charged. |
These call POST /mpp/browser/pdf ($0.006) — Print a web page to PDF. Swap the path for any other route in the table.
npx mppx https://mpp-browser.fmf-x402.workers.dev/mpp/browser/pdf -X POST -H 'content-type: application/json' -d '{"url":"https://mpp.dev","paper":"A4"}'
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://mpp-browser.fmf-x402.workers.dev/mpp/browser/pdf -H 'content-type: application/json' -d '{"url":"https://mpp.dev","paper":"A4"}'
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://mpp-browser.fmf-x402.workers.dev/mpp/browser/pdf', {
method: 'POST', headers: {
'content-type': 'application/json',
},
body: JSON.stringify({"url":"https://mpp.dev","paper":"A4"}),
})
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://mpp-browser.fmf-x402.workers.dev/mpp/browser/pdf", method="POST", json={"url":"https://mpp.dev","paper":"A4"})
print(await response.json())
asyncio.run(main())
{
"mcpServers": {
"fmf-mpp-browser": {
"url": "https://mpp-browser.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://mpp-browser.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.
Runs on Cloudflare Browser Rendering. Markdown conversion: Turndown (MIT).