Retrieve current METAR/TAF reports from the aviationweather.gov Data API

domain: aviationweather.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. No API key is required; call the public Data API directly, e.g., GET https://aviationweather.gov/api/data/metar?ids=KJFK&format=json.
  2. Specify one or more ICAO station IDs (comma-separated) via the ids parameter on /api/data/metar or /api/data/taf.
  3. Choose an output format parameter: raw, decoded, json, xml, or iwxxm depending on your needs.
  4. Add optional parameters like hours (lookback window) or bbox (geographic bounding box) to broaden queries.
  5. Parse the JSON array of report objects, or fall back to raw-text parsing if you need the original coded METAR/TAF string.

Known gotchas

Related routes

Retrieve current SIGMETs, G-AIRMETs, and convective outlooks for a region from the aviationweather.gov Data API
aviationweather.gov · 5 steps · unrated
Retrieve parsed/decoded METAR and TAF reports via the AVWX REST API
avwx.rest · 5 steps · unrated
Pull real-time observed wind speed and gust data from the METAR of the airport nearest a lift site, as a cross-check against forecast data before a scheduled crane lift.
aviationweather.gov (Aviation Weather Center Data API) · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans