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.

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

RoutePriceWhat you get
POST /openweather/current-weather$0.002Current 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.0035-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.001Direct 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.001Reverse 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.001Forward 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.001Reverse 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.002SEC 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.003SEC 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.002SEC 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