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
No API key is required; call the public Data API directly, e.g., GET https://aviationweather.gov/api/data/metar?ids=KJFK&format=json.
Specify one or more ICAO station IDs (comma-separated) via the ids parameter on /api/data/metar or /api/data/taf.
Choose an output format parameter: raw, decoded, json, xml, or iwxxm depending on your needs.
Add optional parameters like hours (lookback window) or bbox (geographic bounding box) to broaden queries.
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
The service enforces a documented rate limit (up to 100 requests/minute) - excessive polling can get you temporarily blocked.
For bulk/large-scale use, NOAA recommends pulling the pre-built gzipped dataset files instead of many individual queries.
The older "Text Data Server" (dataserver.php) is a legacy interface being superseded by the /api/data endpoints - use the current Data API for new integrations.
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?