FMF Tools Compat APIs
相容 OpenWeather、Mapbox 和 EDGAR 的路由,價格約為 Locus 的 1/3。無需 API 金鑰。
託管 MCP 伺服器
npx add-mcp 'https://mpp-compat.fmf-x402.workers.dev/mcp'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件
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.
Try it free first, no wallet: add ?sample=1 or ?test=1 (whichever the route documents) for a labelled sample. Your first real call on a read/check route is free: one per network (IPv4 address or IPv6 /64), for life; ask for it with header X-FMF-Trial: 1 or ?fmf_trial=1. A call that fails does not use it up.
Paid calls take USDC on Base via x402 where the route offers it (about $0.001–$0.01). A funding guide is at tools.fmf-x402.workers.dev/funds. Some routes also accept MPP. Invalid input or an upstream failure returns 402 and is not charged.
Try it free, then pay in USDC on Base
OpenWeather-compatible weather and SEC EDGAR filings at $0.002–$0.003/call, zero API key. Pay per call with MPP on Tempo mainnet (chainId 4217, USDC.e or pathUSD) or x402 on Base (USDC).
npx mppx account create --network mainnet
# fund it with USDC.e or pathUSD on Tempo mainnet (chainId 4217); \`npx mppx account fund\` is testnet-only
npx mppx https://mpp-compat.fmf-x402.workers.dev/openweather/current-weather --network mainnet -J '{"lat":51.5074,"lon":-0.1278,"units":"metric"}'
npx mppx https://mpp-compat.fmf-x402.workers.dev/openweather/forecast-5day --network mainnet -J '{"lat":37.7749,"lon":-122.4194,"cnt":8,"units":"imperial"}'
npx mppx https://mpp-compat.fmf-x402.workers.dev/edgar/company-submissions --network mainnet -J '{"cik":"320193"}'
Paid calls take USDC on Base via x402. Some routes also accept MPP (USDC.e 0x20C000000000000000000000b9537d11c60E8b50, pathUSD 0x20c0000000000000000000000000000000000000) — optional, not required for x402. Recipient 0xB2070a4A874E7141E551890a3642bF7B24a1a148. Invalid input is not charged. More: docs · llms.txt · OpenAPI · all FMF Tempo mainnet APIs · comparison vs other paid APIs (llms-comparisons.txt, comparisons.json)
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 --network mainnet -J '{"cik":"320193"}'
Create a mainnet account once with npx mppx account create --network mainnet and fund it with USDC.e or pathUSD on Tempo mainnet (chainId 4217); npx mppx account fund is testnet-only. The CLI then 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