Request historical weather/climate data via the NOAA Climate Data Online (CDO) API v2
domain: www.ncei.noaa.gov · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Request a free API token from the CDO token request page and include it in the token HTTP header on all requests
GET https://www.ncei.noaa.gov/cdo-web/api/v2/datasets to identify the appropriate dataset id (e.g. GHCND for daily summaries)
GET /v2/stations or /v2/locations to identify the target station or location ID relevant to the query
GET /v2/data with parameters datasetid, stationid (or locationid), startdate, enddate, and optionally datatypeid to request the actual observations
Page through large result sets using the limit and offset parameters (JSON responses include metadata.resultset for total count)
Throttle requests to stay within the token's rate limit
Known gotchas
Each token is capped at 5 requests/second and 10,000 requests/day — bulk historical pulls across many stations/date ranges need to be paced and batched accordingly
Date ranges for /v2/data requests are limited (commonly to about a year per request depending on dataset) — long time series must be split into multiple sequential requests
Dataset, station, and location IDs must be resolved via their respective list endpoints first; guessing ID formats (e.g. station GHCND: prefixes) typically returns empty results
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?