# FMF Tools Compat APIs: OpenWeather-, Mapbox- and EDGAR-compatible routes at 1/3 the price (no API key, MPP + x402) > Drop-in, request- and response-compatible routes for the most-paid MPP data APIs, from sources that allow commercial reuse: OpenWeather-shaped current weather, 5-day/3-hour forecast and geocoding (MET Norway + GeoNames), Mapbox-shaped city geocoding (GeoNames), and SEC EDGAR submissions, company facts and concepts (public domain). Same paths as the "via Locus" listings, so switching is a base-URL change. Pay per call with MPP on Tempo (USDC.e/pathUSD) or x402 on Base (USDC). Invalid input or upstream failure returns 402 and is not charged. Not affiliated with OpenWeather, Mapbox or the SEC. ## Docs (free) - Human docs with copy-paste examples: https://mpp-compat.fmf-x402.workers.dev/docs - OpenAPI 3.1: https://mpp-compat.fmf-x402.workers.dev/openapi.json - This file: https://mpp-compat.fmf-x402.workers.dev/llms.txt - MCP server (Streamable HTTP): https://mpp-compat.fmf-x402.workers.dev/mcp - Health: https://mpp-compat.fmf-x402.workers.dev/health - Attribution counters (no PII): https://mpp-compat.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-compat.fmf-x402.workers.dev/edgar/company-submissions -X POST -H 'content-type: application/json' -d '{"cik":"320193"}' ``` 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-compat.fmf-x402.workers.dev/edgar/company-submissions', { method: 'POST', headers: { 'content-type': 'application/json', }, body: JSON.stringify({"cik":"320193"}), }) 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-compat.fmf-x402.workers.dev/edgar/company-submissions", method="POST", json={"cik":"320193"}) print(await response.json()) asyncio.run(main()) ``` An unpaid curl shows the 402 (you are not charged): ```bash curl -i -X POST https://mpp-compat.fmf-x402.workers.dev/edgar/company-submissions -H 'content-type: application/json' -d '{"cik":"320193"}' ``` ## MCP Add this to Cursor / Claude Desktop / VS Code MCP settings (Streamable HTTP): ```json { "mcpServers": { "fmf-mpp-compat": { "url": "https://mpp-compat.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-compat.fmf-x402.workers.dev/openweather/current-weather ($0.002) Current weather (OpenWeather-compatible): Drop-in for OpenWeather /weather and "OpenWeather via Locus" /openweather/current-weather: same request (lat, lon, units, lang) and response shape (coord, weather[], main, wind, clouds, dt, timezone, name). Global data from MET Norway, CC BY 4.0. Locus lists $0.006. Example: `npx mppx https://mpp-compat.fmf-x402.workers.dev/openweather/current-weather -X POST -H 'content-type: application/json' -d '{"lat":51.5074,"lon":-0.1278,"units":"metric"}'` - POST https://mpp-compat.fmf-x402.workers.dev/openweather/forecast-5day ($0.003) 5-day / 3-hour forecast (OpenWeather-compatible): Drop-in for OpenWeather /forecast and "OpenWeather via Locus" /openweather/forecast-5day: up to 40 entries in 3-hour steps (6-hour after ~2.5 days, as MET publishes), list[] with main, weather[], wind, clouds, pop, dt_txt plus city{}. MET Norway, CC BY 4.0. Locus lists $0.008. Example: `npx mppx https://mpp-compat.fmf-x402.workers.dev/openweather/forecast-5day -X POST -H 'content-type: application/json' -d '{"lat":37.7749,"lon":-122.4194,"cnt":8,"units":"imperial"}'` - POST https://mpp-compat.fmf-x402.workers.dev/openweather/geocode ($0.001) Direct geocoding (OpenWeather-compatible): Drop-in for OpenWeather /geo/1.0/direct: q = "City", "City,CC" or "City,State,CC" -> [{name, lat, lon, country, state}]. 230k+ places (GeoNames, CC BY 4.0). Example: `npx mppx https://mpp-compat.fmf-x402.workers.dev/openweather/geocode -X POST -H 'content-type: application/json' -d '{"q":"Austin,TX,US","limit":1}'` - POST https://mpp-compat.fmf-x402.workers.dev/openweather/reverse-geocode ($0.001) Reverse geocoding (OpenWeather-compatible): Drop-in for OpenWeather /geo/1.0/reverse: lat, lon -> nearest named places [{name, lat, lon, country, state, distance_km}] (GeoNames, CC BY 4.0). Example: `npx mppx https://mpp-compat.fmf-x402.workers.dev/openweather/reverse-geocode -X POST -H 'content-type: application/json' -d '{"lat":48.8584,"lon":2.2945,"limit":2}'` - POST https://mpp-compat.fmf-x402.workers.dev/mapbox/geocode-forward ($0.001) Forward geocoding, city-level (Mapbox-compatible): Mapbox Geocoding v6-shaped FeatureCollection for place names (q, country, limit). City/town level from GeoNames (CC BY 4.0), not street addresses. "Mapbox via Locus" lists $0.00375. Example: `npx mppx https://mpp-compat.fmf-x402.workers.dev/mapbox/geocode-forward -X POST -H 'content-type: application/json' -d '{"q":"Springfield, IL","limit":2}'` - POST https://mpp-compat.fmf-x402.workers.dev/mapbox/geocode-reverse ($0.001) Reverse geocoding, city-level (Mapbox-compatible): Mapbox Geocoding v6-shaped FeatureCollection of the nearest places to longitude/latitude, with distance_km. GeoNames (CC BY 4.0). Example: `npx mppx https://mpp-compat.fmf-x402.workers.dev/mapbox/geocode-reverse -X POST -H 'content-type: application/json' -d '{"longitude":-73.9857,"latitude":40.7484}'` - POST https://mpp-compat.fmf-x402.workers.dev/edgar/company-submissions ($0.002) SEC company submissions (EDGAR-compatible): Same as data.sec.gov/submissions and "EDGAR via Locus" /edgar/company-submissions ($0.008): company profile plus recent filings (form, dates, accession numbers, primary documents). Public domain. Example: `npx mppx https://mpp-compat.fmf-x402.workers.dev/edgar/company-submissions -X POST -H 'content-type: application/json' -d '{"cik":"320193"}'` - POST https://mpp-compat.fmf-x402.workers.dev/edgar/company-facts ($0.003) SEC XBRL company facts (EDGAR-compatible): Same as data.sec.gov/api/xbrl/companyfacts and "EDGAR via Locus" /edgar/company-facts ($0.008): every XBRL fact a company has reported. Public domain. Example: `npx mppx https://mpp-compat.fmf-x402.workers.dev/edgar/company-facts -X POST -H 'content-type: application/json' -d '{"cik":"320193"}'` - POST https://mpp-compat.fmf-x402.workers.dev/edgar/company-concept ($0.002) SEC XBRL company concept (EDGAR-compatible): Same as data.sec.gov/api/xbrl/companyconcept and "EDGAR via Locus" /edgar/company-concept ($0.008): one XBRL concept (e.g. us-gaap Revenues) over time. Example: `npx mppx https://mpp-compat.fmf-x402.workers.dev/edgar/company-concept -X POST -H 'content-type: application/json' -d '{"cik":"320193","taxonomy":"us-gaap","tag":"Assets"}'` ## Sources and licences Sources: MET Norway Locationforecast (CC BY 4.0); GeoNames (CC BY 4.0); U.S. SEC EDGAR data.sec.gov (public domain). Brand names describe API compatibility only. ## Sister services - [Doc Tools](https://mpp-docs.fmf-x402.workers.dev/docs?ref=cross-compat): 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-compat): Pay-per-call scrape, extract, SEC filings, weather and FX - [Utility Tools](https://mpp-tools.fmf-x402.workers.dev/docs?ref=cross-compat): Tempo chain, attestation, QR, DNS, email, IP, geo, timezone, tech detect, math - [AI Tools](https://mpp-ai.fmf-x402.workers.dev/docs?ref=cross-compat): Pay-per-call chat, translation, embeddings and rerank, no API key - [Browser](https://mpp-browser.fmf-x402.workers.dev/docs?ref=cross-compat): Pay-per-call headless Chrome screenshots, JS render and page-to-PDF - [Research](https://mpp-research.fmf-x402.workers.dev/docs?ref=cross-compat): Papers, FDA drug labels, recalls, clinical trials and LEI - [EVM Decoder](https://mpp-chain.fmf-x402.workers.dev/docs?ref=cross-compat): 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-compat): Drop-in /deepgram/transcribe and /v1/listen speech-to-text at $0.008, no API key - [Domain & Web Checks](https://mpp-domain.fmf-x402.workers.dev/docs?ref=cross-compat): RDAP WHOIS, domain age and availability, HTTP status, security headers, SPF/DMARC (MPP + x402) - [Dev & Data Utils](https://mpp-utils.fmf-x402.workers.dev/docs?ref=cross-compat): IBAN, GTIN, ISIN, crypto address, JWT, hash, cron, RRULE, semver, CSV at $0.001 (MPP + x402) - [MTG Sim](https://mtg-sim.fmf-x402.workers.dev/docs?ref=cross-compat): Magic: The Gathering deck check, draw odds, land count and goldfish simulator - [Control-plane](https://controlplane-x402.fmf-x402.workers.dev/docs?ref=cross-compat): 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-compat): 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-compat): 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-compat): 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-compat): 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-compat): 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-compat): 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-compat): Hearthstone simulator: mulligan odds, curve goldfish, draw odds, free deck check - [Chess Sim](https://chess-sim.fmf-x402.workers.dev/docs?ref=cross-compat): 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-compat): 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-compat): 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.