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, no-send email verification, and IP geolocation/ASN. 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.
| 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.0005 | 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.0008 | 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. |
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.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 -i -X POST https://mpp-tools.fmf-x402.workers.dev/mpp/tempo/peg -H 'content-type: application/json' -d '{"size":100}'
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.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.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.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://mpp-tools.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). Attestation public key (free): GET /attest/pubkey