Poll active NWS weather alerts (watches/warnings/advisories) for a state, zone, or point
domain: api.weather.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Set a descriptive User-Agent header identifying the app and a contact email/URL as required by NWS.
Call GET https://api.weather.gov/alerts/active with query params such as area, zone, point, or region to scope results.
Parse the GeoJSON FeatureCollection response; each feature's properties include event, severity, urgency, certainty, and areaDesc, formatted per CAP v1.2.
Optionally filter further by status, message_type, or code parameters.
Poll no more than every 30 seconds per NWS guidance; cache results and avoid tight polling loops.
Known gotchas
Missing or generic User-Agent headers can get requests blocked by NWS rate-limiting firewalls.
/alerts/active returns only currently active alerts; historical/expired alerts require the general /alerts endpoint with date filters.
Zone vs. county vs. point-based queries can return different alert sets for the same location — pick the filter that matches your use case.
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?