Pay-per-call utilities for AI agents: signed timestamped attestation receipts for agent sessions and transcripts (SHA-256, RFC 6962 Merkle root, drand round, Tempo block; nothing stored) plus verification, Tempo gas/fees, transaction decoder, wallet snapshot and activity score, stablecoin peg monitor from on-chain DEX quotes, QR codes (PNG/SVG, Wi-Fi, vCard, Tempo payment) and QR/barcode scanning, city geocoding, reverse geocoding and timezones (GeoNames), website technology-stack detection, high-precision math with units and symbolic algebra, DNS lookup with SPF/DMARC, reverse DNS, DNS propagation across 5 resolvers, email-auth grading (SPF/DMARC/DKIM/MTA-STS), RDAP domain WHOIS and availability, IP RDAP owner and batch ASN, SSL certificate check, CT-log subdomains, HTTP headers + security grade, redirect chains, robots.txt checks, no-send email verification, IP geolocation/ASN, and data tools (CSV diff, JSON diff, JSON Schema validation, dedupe, CSV/JSON/YAML/XML conversion, text diff). Free ?sample=1 on every route except QR scan (real output for the documented default input, no payment). No account or API key: pay per call with MPP on Tempo (USDC.e or pathUSD). Invalid input or upstream failure returns 402 and is not charged.
Try it free first, no wallet: add ?sample=1 or ?test=1 (whichever the route documents) for a labelled sample. Your first real call on a read/check route is free: one per network (IPv4 address or IPv6 /64), for life; ask for it with header X-FMF-Trial: 1 or ?fmf_trial=1. A call that fails does not use it up.
Paid calls take USDC on Base via x402 where the route offers it (about $0.001–$0.01). A funding guide is at tools.fmf-x402.workers.dev/funds. Some routes also accept MPP. Invalid input or an upstream failure returns 402 and is not charged.
DNS lookup, SSL certificate check, email-auth (SPF/DKIM/DMARC) grading, RDAP WHOIS and IP/ASN lookup at $0.001/call, zero API key. Pay per call with MPP on Tempo mainnet (chainId 4217, USDC.e or pathUSD) or x402 on Base (USDC).
npx mppx account create --network mainnet
# fund it with USDC.e or pathUSD on Tempo mainnet (chainId 4217); `npx mppx account fund` is testnet-only
npx mppx https://mpp-tools-testnet.fmf-x402.workers.dev/mpp/dns/lookup --network mainnet -J '{"domain":"mpp.dev"}'
npx mppx https://mpp-tools-testnet.fmf-x402.workers.dev/mpp/ssl/cert --network mainnet -J '{}'
npx mppx https://mpp-tools-testnet.fmf-x402.workers.dev/mpp/dns/email-auth --network mainnet -J '{}'
Paid calls take USDC on Base via x402. Some routes also accept MPP (USDC.e 0x20C000000000000000000000b9537d11c60E8b50, pathUSD 0x20c0000000000000000000000000000000000000) — optional, not required for x402. Recipient 0xB2070a4A874E7141E551890a3642bF7B24a1a148. Invalid input is not charged. Free sample on every route (except QR scan): add ?sample=1. More: docs · llms.txt · OpenAPI · all FMF Tempo mainnet APIs · comparison vs other paid APIs (llms-comparisons.txt, comparisons.json)
| Route | Price | What you get |
|---|---|---|
POST /mpp/tempo/gas | $0.002 | Tempo gas price and fee costs Current Tempo mainnet gas price, base fee, block utilisation and the USD fee for common actions (TIP-20 transfer, transfer with memo, approve, DEX swap, contract deploy), computed exactly as Tempo charges (gas x price / 1e18 USD, paid in a stablecoin). |
POST /mpp/tempo/tx | $0.003 | Decode a Tempo transaction Decode a Tempo mainnet transaction by hash: status, block/time, from/to, fee paid (USD, fee token, fee payer/sponsor), decoded TIP-20 call (transfer/transferWithMemo/approve...), every TIP-20 Transfer/Approval event with token symbol, human amounts and decoded memo text. |
POST /mpp/tempo/wallet | $0.003 | Tempo wallet snapshot and activity score One-call Tempo wallet snapshot: every nonzero balance across the official token list (with USD total for USD stablecoins), transaction count (nonce), contract-or-EOA, and a transparent 0-100 activity score with its components. |
POST /mpp/tempo/peg | $0.002 | Tempo stablecoin peg monitor (DEX quotes) Live peg check for every Tempo stablecoin from on-chain Tempo DEX quotes against pathUSD: sell and buy price for a chosen size, mid, deviation in basis points, spread, liquidity status, and an off-peg flag. Read directly from the DEX precompile, no third-party price feed. |
POST /mpp/qr/png | $0.002 | QR code PNG Generate a QR code PNG for text/URL, Wi-Fi login (type=wifi: ssid,password,security), contact card (type=vcard: name,phone,email,org,website), email, SMS, geo, or a Tempo payment request (type=tempo: address, amount, token). Custom colours, size, error correction. Returns image/png (format=json for base64). |
POST /mpp/qr/svg | $0.001 | QR code SVG Generate a QR code as scalable SVG (same content types as /mpp/qr/png: text, wifi, vcard, email, sms, geo, tempo payment). Returns image/svg+xml. |
POST /mpp/qr/scan | $0.002 | Scan QR codes and barcodes in an image Decode every QR code, Data Matrix, Aztec, PDF417 and 1D barcode (EAN/UPC/Code128...) in an image: text, format, position, error-correction level. Send an image URL, base64, or raw image bytes (POST with content-type image/*). Max 8 MB. No codes found returns 402, not charged. |
POST /mpp/geo/search | $0.001 | Geocode a place name (city-level) Forward geocoding for 230k+ cities and towns worldwide (population 500+): "Paris", "Springfield, IL", "Sao Paulo, Brazil", accent and alternate-name aware (München -> Munich). Returns lat/lon, admin region, country, population, IANA timezone, elevation. City-level, not street addresses. |
POST /mpp/geo/reverse | $0.001 | Reverse geocode lat/lon to nearest places Nearest populated places to a coordinate with distance, plus the nearest city (population 15k+ within 40 km), admin region, country and IANA timezone. |
POST /mpp/geo/timezone | $0.001 | Timezone and local time for a place, coordinate or zone IANA timezone, current (or given-instant) local time, UTC offset, abbreviation and DST flag, from lat/lon (nearest populated place), a place name, or a tz name. Pass "at" (ISO 8601) to convert a specific instant. |
POST /mpp/tech/detect | $0.003 | Detect a website's technology stack Fingerprint the technologies behind a URL (7,700+ signatures: CMS, frameworks, analytics, CDNs, servers, e-commerce, payment, tag managers, JS libraries) from its headers, cookies, HTML, meta tags and scripts, with versions where visible and confidence. One page fetch, no JS execution. |
POST /mpp/math/eval | $0.001 | Evaluate math expressions (64-digit precision, units, matrices) Evaluate one or many expressions with 64-significant-digit arithmetic: functions, constants, complex numbers, matrices, statistics, combinatorics, and unit arithmetic/conversion ("5 km/h to m/s", "2 inch * 3 cm to cm^2"). Variables via scope or earlier lines (x = 3; x^2). Sandboxed parser, no code execution. |
POST /mpp/math/convert | $0.001 | Unit conversion (300+ units) Convert a value between units: length, mass, time, temperature, speed, area, volume, energy, power, pressure, data (bits/bytes, KiB/MB), angle, force, frequency, electric units and compound units (kWh, lbf*ft, mi/gal). Returns the converted value plus SI value. |
POST /mpp/math/symbolic | $0.002 | Symbolic algebra: simplify, derivative, rationalize Symbolic manipulation of an expression: simplify (with optional variable values), derivative with respect to a variable (any order), rationalize to a polynomial fraction, and evaluate the result at a point. Returns plain text and LaTeX. |
POST /mpp/dns/lookup | $0.001 | DNS lookup (all record types) Resolve DNS records for a domain (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS) via DNS-over-HTTPS with DNSSEC status, plus parsed SPF and DMARC policy. |
POST /mpp/email/verify | $0.002 | Email address verification (no-send) Check an email address without sending mail: syntax, domain exists, MX records (or A fallback), disposable/throwaway domain (open CC0 list), role account (info@, support@...), free webmail provider, SPF/DMARC presence, and a verdict (deliverable_domain / risky / undeliverable) with reasons. No SMTP probing. |
POST /mpp/ip/lookup | $0.001 | IP geolocation and ASN Geolocate IPv4/IPv6 addresses: city, region, country, continent, EU flag, coordinates, ASN and network operator, plus private/reserved flags. Up to 100 IPs per call for the same price. IP geolocation by DB-IP.com (CC BY 4.0). |
POST /mpp/attest/session | $0.002 | Attest an agent session (signed timestamped receipt) Post a session log, transcript, list of turns, per-turn hashes or just a SHA-256; get an Ed25519-signed receipt with the content SHA-256, an RFC 6962 Merkle root over the turns (optional per-turn inclusion proofs), a drand quicknet round and a Tempo mainnet block (time lower bound). Nothing is stored. Hash-only modes keep content private. |
POST /mpp/attest/verify | $0.001 | Verify an attestation receipt Check an /mpp/attest/session receipt: Ed25519 signature, optional content match (turns, transcript or sha256), optional single-turn inclusion proof, and that the drand round and Tempo block in it are real. Returns each check and an overall valid flag. |
POST /ipinfo/ip-lite | $0.001 | IP to country and ASN (IPinfo Lite-compatible) Drop-in for IPinfo Lite / "IPinfo via Locus" /ipinfo/ip-lite ($0.001): ip, asn ("AS15169"), as_name, country_code, country, continent_code, continent. Pass "me" for the caller IP. |
POST /ipinfo/ip-lookup | $0.001 | IP geolocation (IPinfo-compatible) Drop-in for IPinfo /{ip} and the "IPinfo via Locus" /ipinfo/ip-lookup route that mpp.dev still lists: ip, city, region, country (ISO), loc ("lat,lon"), org ("AS13335 Cloudflare, Inc."), timezone placeholder null, plus continent and EU flag. |
POST /mpp/dns/reverse | $0.001 | Reverse DNS (PTR) for IPs PTR (reverse DNS) hostnames for up to 50 IPv4/IPv6 addresses per call, with forward-confirmed check (the PTR name resolves back to the IP). Cloudflare 1.1.1.1 DNS-over-HTTPS. Free sample: add ?sample=1. |
POST /mpp/dns/propagation | $0.001 | DNS propagation check across 5 public resolvers Resolve one record on 5 independent public DNS-over-HTTPS resolvers (Cloudflare, Google, AliDNS, NextDNS, AdGuard) and report each answer, TTL and whether they agree. Use after a DNS change to see if it has propagated. Free sample: add ?sample=1. |
POST /mpp/dns/email-auth | $0.001 | Email auth check: MX, SPF, DMARC, DKIM, MTA-STS, BIMI Grade a domain's email authentication in one call: MX hosts, SPF record with recursive DNS-lookup count (RFC 7208 limit 10) and all/qualifier, DMARC policy tags (p, sp, pct, rua), DKIM keys found on common selectors (google, selector1/2, k1, s1/s2, default, mail, ...), MTA-STS, TLS-RPT and BIMI. Returns an A-F grade with reasons. Free sample: add ?sample=1. |
POST /mpp/domain/rdap | $0.001 | Domain WHOIS via RDAP: registrar, dates, status, age Registration data for a domain from the authoritative registry RDAP server (IANA bootstrap; the modern replacement for WHOIS): registrar, IANA ID, created / updated / expiry dates, age in days, days to expiry, EPP status codes, nameservers and DNSSEC. Personal registrant data is not returned. Free sample: add ?sample=1. |
POST /mpp/domain/available | $0.001 | Domain availability check (RDAP + DNS) Check up to 10 domains: registered or likely available, from the registry RDAP server (404 = not registered) plus a DNS NS check. Returns registrar and expiry when taken. Premium or reserved names can still show available; confirm at a registrar. Free sample: add ?sample=1. |
POST /mpp/ip/rdap | $0.001 | IP network owner via RDAP (RIR allocation) Who holds an IPv4/IPv6 address according to its Regional Internet Registry (ARIN, RIPE, APNIC, LACNIC, AFRINIC; RDAP chosen by the IANA bootstrap, registry whois as fallback): network name and handle, CIDR range, allocation type, country, organisation, registration dates and abuse contact role. Free sample: add ?sample=1. |
POST /mpp/ip/asn | $0.001 | IP to ASN, network and country (batch 100) Map up to 100 IPv4/IPv6 addresses to autonomous system number, AS organisation and country in one call. Lighter, cheaper sibling of /mpp/ip/lookup (no city or coordinates). IP data by DB-IP.com (CC BY 4.0). Free sample: add ?sample=1. |
POST /mpp/http/headers | $0.001 | HTTP response headers + security header grade Fetch a public URL once (no redirects followed) and return status, all response headers, and a security grade A-F for HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy and COOP/CORP, plus leaked server/version headers. Free sample: add ?sample=1. |
POST /mpp/http/redirects | $0.001 | Redirect chain trace / URL unshortener Follow a URL's redirects hop by hop (301/302/303/307/308 and meta-refresh-free HTTP only) and return each hop's status, Location and time, the final URL and status, whether HTTPS was enforced, and loop detection. Works as a link unshortener. Free sample: add ?sample=1. |
POST /mpp/ssl/cert | $0.001 | SSL/TLS certificate check: issuer, expiry, SANs Read the certificate a server presents (TLS 1.2 handshake, chain included): subject, issuer, validity dates, days remaining, SAN names, hostname match, key type/size, signature algorithm, serial and SHA-256 fingerprint. If the live handshake is not possible (TLS 1.3-only or Cloudflare-proxied hosts), falls back to the newest matching certificate in Certificate Transparency logs (crt.sh) and says so. Free sample: add ?sample=1. |
POST /mpp/domain/subdomains | $0.001 | Subdomain discovery from Certificate Transparency List subdomains of a domain seen in public Certificate Transparency logs (crt.sh), with first/last certificate dates and wildcard flags, deduplicated and sorted. Passive (no scanning of the target). Includes unexpired certificates only. Results cached up to 12 hours. Free sample: add ?sample=1. |
POST /mpp/url/robots | $0.001 | robots.txt check: may this agent fetch this URL? Fetch a site's robots.txt and answer whether the given user agent may fetch the URL (longest-match Allow/Disallow, wildcards and $), with the matching rule, crawl-delay and declared sitemaps. Missing robots.txt (404) means allowed. Free sample: add ?sample=1. |
POST /mpp/data/csv-diff | $0.001 | CSV diff: added, removed and changed rows by key Compare two CSV files (up to 1 MB / 50,000 rows each) by a key column and return added rows, removed rows and changed rows with the exact fields that changed (old -> new), plus column changes and duplicate keys. Comma, semicolon or tab auto-detected. Free sample: add ?sample=1. |
POST /mpp/data/json-diff | $0.001 | JSON diff as an RFC 6902 patch Structural diff of two JSON documents (up to 1 MB each): RFC 6902 JSON Patch operations (add / remove / replace with JSON Pointer paths) that turn a into b, optional old values, and counts. Arrays compared by index. Free sample: add ?sample=1. |
POST /mpp/data/json-schema | $0.001 | Validate JSON against a JSON Schema Validate a JSON document against a JSON Schema (drafts 4, 7, 2019-09, 2020-12; @cfworker/json-schema). Returns valid true/false and every error with instance location, schema keyword and message. Remote $refs are not fetched. Free sample: add ?sample=1. |
POST /mpp/data/dedupe | $0.001 | Deduplicate records or strings (exact, normalized, fuzzy) Remove duplicates from a list of strings or records: exact, normalized (case, accents, punctuation, whitespace) or fuzzy (character-trigram similarity >= threshold; fuzzy up to 3,000 items). Returns unique items (first kept), duplicate groups with indexes, and counts. Free sample: add ?sample=1. |
POST /mpp/data/convert | $0.001 | Convert data: CSV, TSV, JSON, NDJSON, YAML, XML Convert between CSV, TSV, JSON, NDJSON, YAML and XML in one call (up to 1 MB). CSV/TSV output flattens nested objects to dot.keys; XML attributes map to @_name. Returns the converted text plus a parsed preview. Free sample: add ?sample=1. |
POST /mpp/text/diff | $0.001 | Text diff: unified patch or line/word/char changes Diff two texts (up to 500,000 characters each; chars mode 20,000): unified diff patch, or structured added/removed/unchanged parts by lines, words or characters, with added/removed counts. Free sample: add ?sample=1. |
POST /mpp/pro/dns/lookup | $0.001 | DNS lookup (all record types) (listed tier) Resolve DNS records for a domain (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS) via DNS-over-HTTPS with DNSSEC status, plus parsed SPF and DMARC policy. Listed tier: same output as /mpp/dns/lookup ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/dns/reverse | $0.001 | Reverse DNS (PTR) for IPs (listed tier) PTR (reverse DNS) hostnames for up to 50 IPv4/IPv6 addresses per call, with forward-confirmed check (the PTR name resolves back to the IP). Cloudflare 1.1.1.1 DNS-over-HTTPS. Listed tier: same output as /mpp/dns/reverse ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/dns/email-auth | $0.001 | Email auth check: MX, SPF, DMARC, DKIM, MTA-STS, BIMI (listed tier) Grade a domain's email authentication in one call: MX hosts, SPF record with recursive DNS-lookup count (RFC 7208 limit 10) and all/qualifier, DMARC policy tags (p, sp, pct, rua), DKIM keys found on common selectors (google, selector1/2, k1, s1/s2, default, mail, ...), MTA-STS, TLS-RPT and BIMI. Returns an A-F grade with reasons. Listed tier: same output as /mpp/dns/email-auth ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/http/headers | $0.001 | HTTP response headers + security header grade (listed tier) Fetch a public URL once (no redirects followed) and return status, all response headers, and a security grade A-F for HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy and COOP/CORP, plus leaked server/version headers. Listed tier: same output as /mpp/http/headers ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/http/redirects | $0.001 | Redirect chain trace / URL unshortener (listed tier) Follow a URL's redirects hop by hop (301/302/303/307/308 and meta-refresh-free HTTP only) and return each hop's status, Location and time, the final URL and status, whether HTTPS was enforced, and loop detection. Works as a link unshortener. Listed tier: same output as /mpp/http/redirects ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/ssl/cert | $0.001 | SSL/TLS certificate check: issuer, expiry, SANs (listed tier) Read the certificate a server presents (TLS 1.2 handshake, chain included): subject, issuer, validity dates, days remaining, SAN names, hostname match, key type/size, signature algorithm, serial and SHA-256 fingerprint. If the live handshake is not possible (TLS 1.3-only or Cloudflare-proxied hosts), falls back to the newest matching certificate in Certificate Transparency logs (crt.sh) and says so. Listed tier: same output as /mpp/ssl/cert ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/data/json-schema | $0.001 | Validate JSON against a JSON Schema (listed tier) Validate a JSON document against a JSON Schema (drafts 4, 7, 2019-09, 2020-12; @cfworker/json-schema). Returns valid true/false and every error with instance location, schema keyword and message. Remote $refs are not fetched. Listed tier: same output as /mpp/data/json-schema ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/text/diff | $0.001 | Text diff: unified patch or line/word/char changes (listed tier) Diff two texts (up to 500,000 characters each; chars mode 20,000): unified diff patch, or structured added/removed/unchanged parts by lines, words or characters, with added/removed counts. Listed tier: same output as /mpp/text/diff ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/ip/asn | $0.001 | IP to ASN, network and country (batch 100) (listed tier) Map up to 100 IPv4/IPv6 addresses to autonomous system number, AS organisation and country in one call. Lighter, cheaper sibling of /mpp/ip/lookup (no city or coordinates). IP data by DB-IP.com (CC BY 4.0). Listed tier: same output as /mpp/ip/asn ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/domain/rdap | $0.001 | Domain WHOIS via RDAP: registrar, dates, status, age (listed tier) Registration data for a domain from the authoritative registry RDAP server (IANA bootstrap; the modern replacement for WHOIS): registrar, IANA ID, created / updated / expiry dates, age in days, days to expiry, EPP status codes, nameservers and DNSSEC. Personal registrant data is not returned. Listed tier: same output as /mpp/domain/rdap ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/domain/subdomains | $0.001 | Subdomain discovery from Certificate Transparency (listed tier) List subdomains of a domain seen in public Certificate Transparency logs (crt.sh), with first/last certificate dates and wildcard flags, deduplicated and sorted. Passive (no scanning of the target). Includes unexpired certificates only. Results cached up to 12 hours. Listed tier: same output as /mpp/domain/subdomains ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
POST /mpp/pro/data/dedupe | $0.001 | Deduplicate records or strings (exact, normalized, fuzzy) (listed tier) Remove duplicates from a list of strings or records: exact, normalized (case, accents, punctuation, whitespace) or fuzzy (character-trigram similarity >= threshold; fuzzy up to 3,000 items). Returns unique items (first kept), duplicate groups with indexes, and counts. Listed tier: same output as /mpp/data/dedupe ($0.001); $0.001 per call, x402 settled via the Coinbase CDP facilitator. |
These call POST /mpp/tempo/peg ($0.002) — Tempo stablecoin peg monitor (DEX quotes). Swap the path for any other route in the table.
npx mppx https://mpp-tools-testnet.fmf-x402.workers.dev/mpp/tempo/peg --network mainnet -J '{"size":100}'
Create a mainnet account once with npx mppx account create --network mainnet and fund it with USDC.e or pathUSD on Tempo mainnet (chainId 4217); npx mppx account fund is testnet-only. The CLI then pays the 402 automatically. See mpp.dev/sdk.
curl -i -X POST https://mpp-tools-testnet.fmf-x402.workers.dev/mpp/tempo/peg -H 'content-type: application/json' -d '{"size":100}'
{
"non_usd_skipped": 25,
"off_peg": [],
"quote_asset": "pathUSD",
"quote_size": 100,
"source": "Source: Tempo mainnet (chain 4217) public RPC and token list (tokenlist.tempo.xyz). On-chain facts; not financial advice. Prices are executable DEX quotes for the given size, not oracle prices.",
"threshold_bps": 50,
"tokens": [
{
"buy_price": 1.0002000300040006,
"deviation_bps": 2,
"mid": 1.0002000300040006,
"off_peg": false,
"sell_price": null,
"spread_bps": null,
"status": "quoted",
"symbol": "USDC.e",
"token": "0x20c000000000000000000000b9537d11c60e8b50"
},
{
"buy_price": 0.9991999206395454,
"deviation_bps": -8,
"mid": 0.9991999206395454,
"off_peg": false,
"sell_price": null,
"spread_bps": null,
"status": "quoted",
"symbol": "USDT0",
"token": "0x20c00000000000000000000014f22ca97301eb73"
},
{
"buy_price": 1.0001000100010002,
"deviation_bps": -0.5,
"mid": 0.9999500050005001,
"off_peg": false,
"sell_price": 0.9998,
"spread_bps": 3,
"status": "quoted",
"symbol": "cUSD",
"token": "0x20c0000000000000000000000520792dcccccccc"
}
]
}
Free, no wallet: https://mpp-tools-testnet.fmf-x402.workers.dev/mpp/tempo/peg?test=1. Output field types for every route: /openapi.json (responses, 200).
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-tools-testnet.fmf-x402.workers.dev/mpp/tempo/peg', {
method: 'POST', headers: {
'content-type': 'application/json',
},
body: JSON.stringify({"size":100}),
})
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-tools-testnet.fmf-x402.workers.dev/mpp/tempo/peg", method="POST", json={"size":100})
print(await response.json())
asyncio.run(main())
{
"mcpServers": {
"fmf-mpp-tools": {
"url": "https://mpp-tools-testnet.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://mpp-tools-testnet.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: Tempo mainnet public RPC and token list; drand quicknet (League of Entropy) public randomness; Cloudflare 1.1.1.1 DNS-over-HTTPS; disposable-email-domains (CC0); IP Geolocation by DB-IP (https://db-ip.com), CC BY 4.0; GeoNames (geonames.org), CC BY 4.0; webappanalyzer fingerprints (GPL-3.0); RDAP via IANA bootstrap and the regional internet registries; Certificate Transparency via crt.sh; public DoH resolvers (Cloudflare, Google, AliDNS, NextDNS, AdGuard). Attestation public key (free): GET /attest/pubkey