# FMF Tools Dev & Data Utils: IBAN, GTIN, ISIN, crypto addresses, JWT, hashes, cron, RRULE, semver, CSV - $0.001 (no API key, MPP + x402) > Deterministic utilities agents call constantly, at $0.001 per call and batched (up to 100 items): IBAN, EAN/UPC/ISBN, ISIN/CUSIP/SEDOL and card-number checks; multi-chain address validation; JWT decode, hashes/HMAC, semver, URL + Public Suffix parsing, UUID/ULID; cron and RRULE expansion, business days, time-zone conversion; string similarity and slugs; geodesic distance and geohash; CSV<->JSON. Pure compute, nothing stored. Pay with MPP on Tempo (USDC.e/pathUSD) or x402 on Base (USDC). Invalid input returns 402 and is not charged. ## Docs (free) - Human docs with copy-paste examples: https://mpp-utils.fmf-x402.workers.dev/docs - OpenAPI 3.1: https://mpp-utils.fmf-x402.workers.dev/openapi.json - This file: https://mpp-utils.fmf-x402.workers.dev/llms.txt - MCP server (Streamable HTTP): https://mpp-utils.fmf-x402.workers.dev/mcp - Health: https://mpp-utils.fmf-x402.workers.dev/health - Attribution counters (no PII): https://mpp-utils.fmf-x402.workers.dev/stats/refs ## How to pay No account and no API key. Unpaid calls receive HTTP 402 with an MPP challenge on Tempo (USDC.e or pathUSD). Official clients pay the challenge and retry automatically. POST JSON (or GET with query params) to any paid route and pay the MPP 402 challenge on Tempo (USDC.e or pathUSD). Bad input or an upstream failure returns 402 with an error and you are not charged. Optional ?ref=channel or header X-FMF-Ref attributes the call for our coverage map (ignored by the tool). ## Quick start mppx CLI (creates/uses a Tempo account in your keychain): ```bash npx mppx https://mpp-utils.fmf-x402.workers.dev/id/uuid -X POST -H 'content-type: application/json' -d '{"type":"v7","count":3}' ``` TypeScript (mppx). After Mppx.create(), global fetch handles 402: ```ts 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-utils.fmf-x402.workers.dev/id/uuid', { method: 'POST', headers: { 'content-type': 'application/json', }, body: JSON.stringify({"type":"v7","count":3}), }) console.log(await res.json()) ``` Python (pympp): ```python # 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-utils.fmf-x402.workers.dev/id/uuid", method="POST", json={"type":"v7","count":3}) print(await response.json()) asyncio.run(main()) ``` An unpaid curl shows the 402 (you are not charged): ```bash curl -i -X POST https://mpp-utils.fmf-x402.workers.dev/id/uuid -H 'content-type: application/json' -d '{"type":"v7","count":3}' ``` ## MCP Add this to Cursor / Claude Desktop / VS Code MCP settings (Streamable HTTP): ```json { "mcpServers": { "fmf-mpp-utils": { "url": "https://mpp-utils.fmf-x402.workers.dev/mcp" } } } ``` `tools/list` is free. `tools/call` requires an MPP Payment credential in the Authorization header (or just call the HTTP route with mppx). The wrapper does not settle payment on its own and stores nothing. ## Routes - POST https://mpp-utils.fmf-x402.workers.dev/id/iban ($0.001) IBAN validator (batch of 100): Validates IBANs: country, ISO 13616 length for 90 countries, mod-97 check digits, SEPA membership, print format and bank/branch/account split for GB, IE, DE, NL, FR, ES, IT. Up to 100 per call. Duo Data charges $0.05 per IBAN. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/id/iban -X POST -H 'content-type: application/json' -d '{"ibans":["GB82 WEST 1234 5698 7654 32","DE89370400440532013001","FR7630006000011234567890188"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/id/gs1 ($0.001) EAN/UPC/GTIN/ISBN check-digit validator: EAN-8, UPC-A, EAN-13, GTIN-14 and ISBN-10/13: type, check digit, expected digit, GTIN-14 form, ISBN-10<->13 conversion, GS1 prefix. Up to 100 per call. Duo Data charges $0.05. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/id/gs1 -X POST -H 'content-type: application/json' -d '{"codes":["036000291452","9780306406157","0-306-40615-2"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/id/security ($0.001) ISIN / CUSIP / SEDOL / FIGI validator: Detects and validates securities identifiers (ISIN Luhn, CUSIP and SEDOL weighted check digits, FIGI), with embedded CUSIP for US/CA ISINs. Up to 100 per call. Duo Data charges $0.05. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/id/security -X POST -H 'content-type: application/json' -d '{"ids":["US0378331005","037833100","0263494","BBG000B9XRY4"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/id/card ($0.001) Payment card number check (Luhn + brand): Luhn check, brand (Visa, Mastercard, Amex, Discover, JCB, Diners, UnionPay, Maestro), length validity and BIN prefix for up to 100 numbers. Numbers are never stored or echoed: only the last 4 come back. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/id/card -X POST -H 'content-type: application/json' -d '{"numbers":["4242 4242 4242 4242","378282246310005"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/chain/address ($0.001) Crypto address validator (EVM, BTC, SOL, TRON, LTC, DOGE): Detects the chain and verifies checksums: EIP-55 for EVM (returns the checksummed form), Base58Check and bech32/bech32m for Bitcoin (p2pkh, p2sh, p2wpkh, p2wsh, p2tr; mainnet/testnet), Tron, Litecoin, Dogecoin, and Solana 32-byte keys. Up to 100 per call. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/chain/address -X POST -H 'content-type: application/json' -d '{"addresses":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq","TNPeeaaFB7K9cmo4uQpcU32zGK8G1NYqeL"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/code/jwt ($0.001) JWT decoder: Decodes a JWT/JWS: header (alg, kid, typ), claims, issued/not-before/expiry as ISO times, expired flag and seconds left. Optional HS256/384/512 signature check when you pass the shared secret. Nothing is stored. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/code/jwt -X POST -H 'content-type: application/json' -d '{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","secret":"your-256-bit-secret"}'` - POST https://mpp-utils.fmf-x402.workers.dev/code/hash ($0.001) Hash / HMAC generator: MD5, SHA-1, SHA-256/384/512, SHA3-256/512, Keccak-256 (Ethereum), BLAKE2b, BLAKE3 and CRC32 of text, hex or base64 input (up to 1 MB), optional HMAC key; hex and base64 output. Pass algorithms[] or get them all. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/code/hash -X POST -H 'content-type: application/json' -d '{"input":"hello world","algorithms":["sha256","keccak256","md5"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/code/semver ($0.001) Semver parse / compare / range check: Parse versions, sort a list, test range satisfaction (npm ranges: ^, ~, x, ||, hyphen), find the max/min satisfying version, diff type (major/minor/patch) and coercion of loose strings like "v2.3". Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/code/semver -X POST -H 'content-type: application/json' -d '{"versions":["1.2.3","1.10.0","2.0.0-beta.1","v1.4"],"range":"^1.2.0"}'` - POST https://mpp-utils.fmf-x402.workers.dev/code/url ($0.001) URL parser + registrable domain (Public Suffix List): Parses up to 100 URLs: scheme, host, port, path, query params as JSON, fragment, public suffix (co.uk, github.io...), registrable domain, subdomain, IP/IDN flags, punycode and a canonical form (lowercase host, default port and tracking params like utm_* removed). Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/code/url -X POST -H 'content-type: application/json' -d '{"urls":["https://Shop.Example.co.uk:443/a/b?utm_source=x&id=7#top","http://user.github.io/repo"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/text/similarity ($0.001) String similarity (Levenshtein, Jaro-Winkler, Soundex): Compare a string to up to 500 candidates: Levenshtein distance and ratio, Jaro-Winkler, token-set overlap, Soundex match; ranked best-first. For fuzzy matching names, dedupe and record linkage. Duo Data charges $0.05. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/text/similarity -X POST -H 'content-type: application/json' -d '{"a":"Jon Smith","candidates":["John Smith","Joan Smyth","Jane Doe"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/text/slug ($0.001) URL slug generator (with transliteration): Unicode-aware slugs for up to 100 strings: strips accents, transliterates German, Nordic, Cyrillic and Greek letters, & -> and, custom separator and max length. Duo Data charges $0.05. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/text/slug -X POST -H 'content-type: application/json' -d '{"texts":["Crème Brûlée & Café!","Привет мир","Größe über 9000"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/geo/distance ($0.001) Geodesic distance, bearing, midpoint + geohash: WGS-84 ellipsoidal (Vincenty) and great-circle distance in m/km/mi/nmi, initial and final bearing, midpoint, from a point to up to 100 others (sorted nearest-first). Also encodes/decodes geohashes (pass geohash or point + precision). Duo Data charges $0.05. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/geo/distance -X POST -H 'content-type: application/json' -d '{"from":{"lat":40.6413,"lon":-73.7781},"to":{"lat":51.47,"lon":-0.4543}}'` - POST https://mpp-utils.fmf-x402.workers.dev/time/cron ($0.001) Cron expression: next/previous run times: Validates 5/6-field cron (and @daily, L, W, #) and returns the next (or previous) N run times in any IANA timezone with UTC and local ISO strings, plus a plain-English-ish field breakdown. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/time/cron -X POST -H 'content-type: application/json' -d '{"expression":"0 9 * * 1-5","tz":"America/New_York","count":3}'` - POST https://mpp-utils.fmf-x402.workers.dev/time/rrule ($0.001) RFC 5545 RRULE expander: Expands an iCalendar recurrence rule (RRULE/DTSTART, e.g. FREQ=MONTHLY;BYDAY=-1FR) into concrete dates (up to 500), with between/after filters and a human-readable description. Duo Data charges $0.05. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/time/rrule -X POST -H 'content-type: application/json' -d '{"rrule":"FREQ=MONTHLY;BYDAY=-1FR;COUNT=6","dtstart":"2026-01-01T15:00:00Z"}'` - POST https://mpp-utils.fmf-x402.workers.dev/time/business-days ($0.001) Business days: add or count: Count working days between two dates or add/subtract N business days, with custom weekend (default Sat/Sun) and a holiday list you pass. Returns the result date and the skipped holidays/weekends. Duo Data charges $0.05. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/time/business-days -X POST -H 'content-type: application/json' -d '{"start":"2026-12-22","add":5,"holidays":["2026-12-25","2026-12-28","2027-01-01"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/time/convert ($0.001) Time zone converter: Convert an instant (ISO, unix seconds/ms, or a local wall time + from_tz) into up to 50 IANA zones: local ISO time, weekday, UTC offset, abbreviation, plus unix seconds. DST-aware. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/time/convert -X POST -H 'content-type: application/json' -d '{"at":"2026-12-01 09:00","from_tz":"America/Toronto","to":["Europe/London","Asia/Tokyo","UTC"]}'` - POST https://mpp-utils.fmf-x402.workers.dev/id/uuid ($0.001) UUID v4/v7 and ULID generator + decoder: Generate up to 1,000 UUID v4, time-ordered UUID v7 or ULID ids, or decode one (version, variant, embedded timestamp for v1/v6/v7/ULID). Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/id/uuid -X POST -H 'content-type: application/json' -d '{"type":"v7","count":3}'` - POST https://mpp-utils.fmf-x402.workers.dev/data/csv-to-json ($0.001) CSV -> JSON: Parse CSV/TSV (auto delimiter, quoted fields, header row) up to 2 MB into an array of objects (or arrays), with dynamic typing of numbers/booleans and per-row error reports. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/data/csv-to-json -X POST -H 'content-type: application/json' -d '{"csv":"name,age,active\nAda,36,true\n\"Lovelace, A\",37,false"}'` - POST https://mpp-utils.fmf-x402.workers.dev/data/json-to-csv ($0.001) JSON -> CSV: Convert an array of objects (nested objects flattened to dot.keys) or arrays to CSV/TSV with proper quoting, column order you choose, up to 2 MB. Example: `npx mppx https://mpp-utils.fmf-x402.workers.dev/data/json-to-csv -X POST -H 'content-type: application/json' -d '{"data":[{"name":"Ada","stats":{"age":36}},{"name":"Lovelace, A","stats":{"age":37}}]}'` ## Sources and licences No upstream data sources: everything is computed in the Worker (Public Suffix List via tldts; croner, rrule, semver, papaparse, @noble/hashes, @scure/base, viem; all MIT/ISC/BSD). ## Sister services - [Doc Tools](https://mpp-docs.fmf-x402.workers.dev/docs?ref=cross-utils): Pay-per-call PDF, Office, OCR, speech-to-text, voice memo and meeting notes - [Web & Data](https://mpp-agent-data.fmf-x402.workers.dev/docs?ref=cross-utils): Pay-per-call scrape, extract, SEC filings, weather and FX - [Utility Tools](https://mpp-tools.fmf-x402.workers.dev/docs?ref=cross-utils): Tempo chain, attestation, QR, DNS, email, IP, geo, timezone, tech detect, math - [AI Tools](https://mpp-ai.fmf-x402.workers.dev/docs?ref=cross-utils): Pay-per-call chat, translation, embeddings and rerank, no API key - [Browser](https://mpp-browser.fmf-x402.workers.dev/docs?ref=cross-utils): Pay-per-call headless Chrome screenshots, JS render and page-to-PDF - [Research](https://mpp-research.fmf-x402.workers.dev/docs?ref=cross-utils): Papers, FDA drug labels, recalls, clinical trials and LEI - [EVM Decoder](https://mpp-chain.fmf-x402.workers.dev/docs?ref=cross-utils): Pay-per-call calldata and event-log decoder, selectors, verified ABIs, no RPC - [Deepgram-compatible STT](https://mpp-stt.fmf-x402.workers.dev/docs?ref=cross-utils): Drop-in /deepgram/transcribe and /v1/listen speech-to-text at $0.008, no API key - [Compat APIs](https://mpp-compat.fmf-x402.workers.dev/docs?ref=cross-utils): OpenWeather-, Mapbox- and EDGAR-compatible routes at a third of the price (MPP + x402) - [Domain & Web Checks](https://mpp-domain.fmf-x402.workers.dev/docs?ref=cross-utils): RDAP WHOIS, domain age and availability, HTTP status, security headers, SPF/DMARC (MPP + x402) - [MTG Sim](https://mtg-sim.fmf-x402.workers.dev/docs?ref=cross-utils): Magic: The Gathering deck check, draw odds, land count and goldfish simulator - [Control-plane](https://controlplane-x402.fmf-x402.workers.dev/docs?ref=cross-utils): Who controls this contract? MPP + x402 snapshots and Tempo token data - [Pokémon TCG Sim](https://pokemon-tcg-sim.fmf-x402.workers.dev/docs?ref=cross-utils): Pokémon TCG simulator: goldfish, prize and draw sims, free Standard/Expanded deck check - [Yu-Gi-Oh Sim](https://yugioh-sim.fmf-x402.workers.dev/docs?ref=cross-utils): Yu-Gi-Oh! simulator: goldfish, combo and hand-trap odds, free TCG/OCG/GOAT banlist deck check - [Crypto Tax Calculator](https://mpp-cryptotax.fmf-x402.workers.dev/docs?ref=cross-utils): Crypto capital gains, cost basis (FIFO/HIFO/ACB), Form 8949 boxes G-L, Canada Schedule 3, tax-loss harvesting - [Business Docs & Data](https://mpp-biz.fmf-x402.workers.dev/docs?ref=cross-utils): Invoice/receipt PDFs with pay-in-crypto QR, payment URIs, phone validation, barcodes - [Lorcana Sim](https://lorcana-sim.fmf-x402.workers.dev/docs?ref=cross-utils): Disney Lorcana simulator: goldfish, ink and draw sims, free Core/Infinity deck check - [One Piece Sim](https://onepiece-sim.fmf-x402.workers.dev/docs?ref=cross-utils): One Piece Card Game simulator: goldfish, DON!! curve, Life and draw odds, free deck check - [Hearthstone Sim](https://hearthstone-sim.fmf-x402.workers.dev/docs?ref=cross-utils): Hearthstone simulator: mulligan odds, curve goldfish, draw odds, free deck check - [Chess Sim](https://chess-sim.fmf-x402.workers.dev/docs?ref=cross-utils): Chess tools: forced-mate finder, best move, legal moves, free opening names and position check - [Dota 2 Sim](https://dota2-sim.fmf-x402.workers.dev/docs?ref=cross-utils): Dota 2 simulator: right-click duel sim, build stats, EHP and DPS calculator - [CS2 Sim](https://cs2-sim.fmf-x402.workers.dev/docs?ref=cross-utils): CS2 economy simulator: loss bonus, buy or eco, half simulation ## Attribution Append `?ref=your-channel` or send header `X-FMF-Ref: your-channel` on any request (including unpaid 402s and /docs). We count hits and paid successes per channel so we can see what actually drives calls. The parameter is ignored by the tool.