FMF Tools Utilities: pay-per-call DNS, RDAP/WHOIS, SSL, IP/ASN, HTTP headers, data diff/convert/validate, geocoding, QR, math and Tempo tools (no API key, MPP + x402)

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). New routes $0.0005 with a free ?sample=1. 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.

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/tempo/gas$0.002Tempo 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.003Decode 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.003Tempo 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.002Tempo 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.002QR 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.001QR 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.002Scan 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.001Geocode 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.001Reverse 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.001Timezone 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.003Detect 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.001Evaluate 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.001Unit 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.002Symbolic 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.0005DNS 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.002Email 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.0008IP 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.002Attest 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.001Verify 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.0008IP 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.0008IP 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.0005Reverse 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.0005DNS 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.0005Email 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.0005Domain 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.0005Domain 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.0005IP 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.0005IP 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.0005HTTP 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.0005Redirect 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.0005SSL/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.0005Subdomain 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.0005robots.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.0005CSV 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.0005JSON 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.0005Validate 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.0005Deduplicate 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.0005Convert 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.0005Text 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.001DNS 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/dns/reverse$0.001Reverse 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/dns/email-auth$0.001Email 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/http/headers$0.001HTTP 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/http/redirects$0.001Redirect 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/ssl/cert$0.001SSL/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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/data/json-schema$0.001Validate 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/text/diff$0.001Text 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/ip/asn$0.001IP 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/domain/rdap$0.001Domain 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/domain/subdomains$0.001Subdomain 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.
POST /mpp/pro/data/dedupe$0.001Deduplicate 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.0005); $0.001 per call, x402 settled via the Coinbase CDP facilitator.

Copy-paste examples

These call POST /mpp/tempo/peg ($0.002) — Tempo stablecoin peg monitor (DEX quotes). Swap the path for any other route in the table.

mppx CLI

npx mppx https://mpp-tools-testnet.fmf-x402.workers.dev/mpp/tempo/peg -X POST -H 'content-type: application/json' -d '{"size":100}'

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://mpp-tools-testnet.fmf-x402.workers.dev/mpp/tempo/peg -H 'content-type: application/json' -d '{"size":100}'

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://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())

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://mpp-tools-testnet.fmf-x402.workers.dev/mpp/tempo/peg", method="POST", json={"size":100})
        print(await response.json())

asyncio.run(main())

MCP config (Cursor, Claude Desktop, VS Code)

{
  "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 and licences

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

Sister services