FMF Tools Compat APIs
OpenWeather-, Mapbox- and EDGAR-compatible routes at about 1/3 Locus prices. No API key.
Hosted MCP Server
npx add-mcp 'https://mpp-compat.fmf-x402.workers.dev/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
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.
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
| Route | Price | What you get |
|---|---|---|
POST /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. |
POST /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. |
POST /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). |
POST /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). |
POST /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. |
POST /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). |
POST /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. |
POST /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. |
POST /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. |
Copy-paste examples
These call POST /edgar/company-submissions ($0.002) — SEC company submissions (EDGAR-compatible). Swap the path for any other route in the table.
mppx CLI
npx mppx https://mpp-compat.fmf-x402.workers.dev/edgar/company-submissions -X POST -H 'content-type: application/json' -d '{"cik":"320193"}'
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-compat.fmf-x402.workers.dev/edgar/company-submissions -H 'content-type: application/json' -d '{"cik":"320193"}'
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-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 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-compat.fmf-x402.workers.dev/edgar/company-submissions", method="POST", json={"cik":"320193"})
print(await response.json())
asyncio.run(main())
MCP config (Cursor, Claude Desktop, VS Code)
{
"mcpServers": {
"fmf-mpp-compat": {
"url": "https://mpp-compat.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://mpp-compat.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: 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 — Pay-per-call PDF, Office, OCR, speech-to-text, voice memo and meeting notes · llms.txt · OpenAPI
- Web & Data — Pay-per-call scrape, extract, SEC filings, weather and FX · llms.txt · OpenAPI
- Utility Tools — Tempo chain, attestation, QR, DNS, email, IP, geo, timezone, tech detect, math · llms.txt · OpenAPI
- AI Tools — Pay-per-call chat, translation, embeddings and rerank, no API key · llms.txt · OpenAPI
- Browser — Pay-per-call headless Chrome screenshots, JS render and page-to-PDF · llms.txt · OpenAPI
- Research — Papers, FDA drug labels, recalls, clinical trials and LEI · llms.txt · OpenAPI
- EVM Decoder — Pay-per-call calldata and event-log decoder, selectors, verified ABIs, no RPC · llms.txt · OpenAPI
- Deepgram-compatible STT — Drop-in /deepgram/transcribe and /v1/listen speech-to-text at $0.008, no API key · llms.txt · OpenAPI
- Domain & Web Checks — RDAP WHOIS, domain age and availability, HTTP status, security headers, SPF/DMARC (MPP + x402) · llms.txt · OpenAPI
- Dev & Data Utils — IBAN, GTIN, ISIN, crypto address, JWT, hash, cron, RRULE, semver, CSV at $0.001 (MPP + x402) · llms.txt · OpenAPI
- MTG Sim — Magic: The Gathering deck check, draw odds, land count and goldfish simulator · llms.txt · OpenAPI
- Control-plane — Who controls this contract? MPP + x402 snapshots and Tempo token data · llms.txt · OpenAPI
- Pokémon TCG Sim — Pokémon TCG simulator: goldfish, prize and draw sims, free Standard/Expanded deck check · llms.txt · OpenAPI
- Yu-Gi-Oh Sim — Yu-Gi-Oh! simulator: goldfish, combo and hand-trap odds, free TCG/OCG/GOAT banlist deck check · llms.txt · OpenAPI
- Crypto Tax Calculator — Crypto capital gains, cost basis (FIFO/HIFO/ACB), Form 8949 boxes G-L, Canada Schedule 3, tax-loss harvesting · llms.txt · OpenAPI
- Business Docs & Data — Invoice/receipt PDFs with pay-in-crypto QR, payment URIs, phone validation, barcodes · llms.txt · OpenAPI
- Lorcana Sim — Disney Lorcana simulator: goldfish, ink and draw sims, free Core/Infinity deck check · llms.txt · OpenAPI
- One Piece Sim — One Piece Card Game simulator: goldfish, DON!! curve, Life and draw odds, free deck check · llms.txt · OpenAPI
- Hearthstone Sim — Hearthstone simulator: mulligan odds, curve goldfish, draw odds, free deck check · llms.txt · OpenAPI
- Chess Sim — Chess tools: forced-mate finder, best move, legal moves, free opening names and position check · llms.txt · OpenAPI
- Dota 2 Sim — Dota 2 simulator: right-click duel sim, build stats, EHP and DPS calculator · llms.txt · OpenAPI
- CS2 Sim — CS2 economy simulator: loss bonus, buy or eco, half simulation · llms.txt · OpenAPI