National Weather Service API
Read-only live access to api.weather.gov forecast, active-alert, and nearest-station observation data. Forecasts and observations accept geographic coordinates; alerts accept a two-letter US state or territory code.
Endpoint health
Loading verification…
Connect your agent
Connect through MCP so your agent can find this API, read its docs, and call its endpoints.
Add the server from your terminal.
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcpIn Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.
Then ask your agent to use the National Weather Service API for your task.
Call it over HTTP
Get an API keySign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.
curl --request GET --get 'https://api.agent-data.dev/api-weather-gov/v1/forecast' \
--header "Authorization: Bearer $AGENT_DATA_API_KEY" \
--data-urlencode 'latitude=38.8977' \
--data-urlencode 'longitude=-77.0365'Endpoints
Inputs and response fields for every endpoint in this API.
GETForecast/v1/forecast
Retrieve NOAA's forecast periods, location, update time, and generation time for a geographic point.
Input
latitudeRequiredQuery · number, min: -90, max: 90Latitude in decimal degrees.
Example: 38.8977
longitudeRequiredQuery · number, min: -180, max: 180Longitude in decimal degrees.
Example: -77.0365
Response
periodsobject[]locationobjectlocation.citystringlocation.statestringlocation.grid_xintegerlocation.grid_yintegerlocation.grid_idstringlocation.timezonestringupdate_timestringgenerated_atstringGETAlerts/v1/alerts
Retrieve currently active NOAA weather alerts for a two-letter US state or territory code.
Input
areaRequiredQuery · stringTwo-letter US state or territory code.
Example: DC
Response
totalinteger, min: 0alertsobject[]GETObservations/v1/observations
Retrieve the latest observation from the nearest NOAA station to a geographic point.
Input
latitudeRequiredQuery · number, min: -90, max: 90Latitude in decimal degrees.
Example: 38.8977
longitudeRequiredQuery · number, min: -180, max: 180Longitude in decimal degrees.
Example: -77.0365
Response
timestampstringdewpoint_cnumber | integer | nullstation_idstringheat_index_cnumber | integer | nullstation_namestringvisibility_mnumber | integer | nullwind_chill_cnumber | integer | nulltemperature_cnumber | integer | nullwind_gust_kmhnumber | integer | nullwind_speed_kmhnumber | integer | nulltext_descriptionstring | nullrelative_humidity_pctnumber | integer | nullDon’t see the endpoint you need?
Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.
An account is required to submit an extension. Prepare your request, then sign in to build.