Nws

v0.2.1
io.github.pipeworx-io/nws Checked 2 days ago Published 1 month ago

NWS MCP — US National Weather Service (no auth)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_forecast

Get the 7-day NWS forecast for a US lat/lon. Returns named periods (e.g., "Tonight", "Wednesday") with high/low temperature, wind, and a short text forecast. US locations only.

ParameterTypeDescription
latitude *numberUS latitude
longitude *numberUS longitude

get_hourly_forecast

Get the hourly NWS forecast for a US lat/lon (~168 hours). Useful for short-term planning, severe-weather windows, or precipitation timing.

ParameterTypeDescription
latitude *numberUS latitude
longitude *numberUS longitude
max_hoursnumberCap hours returned (default 24)

get_alerts

Active NWS watches / warnings / advisories. Filter by US state (2-letter code), point (lat,lon), severity, or status. Returns event name, severity, urgency, headline, description, affected areas, and effective/expires times.

ParameterTypeDescription
areastring2-letter US state/territory code (e.g., "CA", "TX")
eventstringRestrict to a specific event type (e.g., "Tornado Warning")
latitudenumberLatitude (use with longitude for point query)
limitnumberCap alerts returned (default 50, max 500)
longitudenumberLongitude (use with latitude for point query)
severitystringExtreme | Severe | Moderate | Minor | Unknown
urgencystringImmediate | Expected | Future | Past | Unknown

get_observation

Latest observation from a specific NWS weather station. Returns temperature, humidity, wind, visibility, pressure, and present-weather codes.

ParameterTypeDescription
station_id *string4-character NWS / ICAO station ID (e.g., "KSFO", "KJFK", "KDEN")

get_stations

Find NWS weather observation stations in a US state (e.g., "CA", "NY", "TX"). Returns station IDs (use with get_observation), names, time zones, and coordinates. US only.

ParameterTypeDescription
state *stringTwo-letter US state code (e.g. "CA", "NY").
limitnumberMaximum stations to return (1-500, default 20).