Search NOAA climate stations and datasets, fetch historical weather observations.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Fetch historical observation records from a NOAA CDO dataset for a given date range. Requires datasetId (e.g., GHCND for daily, GSOM for monthly), startDate, and endDate. Optionally scope to specific stations, locations, and data types. Date range limits per request: sub-daily, daily, and radar datasets (GHCND, PRECIP_15, PRECIP_HLY, NORMAL_DLY, NORMAL_HLY, NEXRAD2, NEXRAD3) are limited to 1 year; monthly and annual datasets (GSOM, GSOY, NORMAL_MLY, NORMAL_ANN) are limited to 10 years. A full calendar year always fits, leap years included — the limit runs to the end of the calendar month 1 (or 10) years after startDate. For climate normals (NORMAL_*), use startDate=2010-01-01 and endDate=2010-12-31 — that is the API proxy year regardless of which 30-year period is being described. Returns flat tuples of { date, datatype, station, value, attributes }. Strongly recommended: pass units=metric or units=standard — without it, GHCND values are raw tenths-of-unit integers (TMAX=256 = 25.6°C, PRCP=12 = 1.2mm). GSOM/GSOY are already scaled.
End date for observations (YYYY-MM-DD). Must be within 1 year of startDate for sub-daily/daily/radar datasets (GHCND, PRECIP_15, PRECIP_HLY, NORMAL_DLY, NORMAL_HLY, NEXRAD2, NEXRAD3) or within 10 years for monthly/annual datasets (GSOM, GSOY, NORMAL_MLY, NORMAL_ANN) — measured to the end of the calendar month that many years after startDate, so a full calendar year (2024-01-01 to 2024-12-31) always fits. For any NORMAL_* dataset use 2010-12-31.
Dataset ID to query (e.g., GHCND for daily data, GSOM for monthly, GSOY for annual, NORMAL_DLY/MLY/ANN/HLY for 1981–2010 climate normals, NEXRAD2/NEXRAD3 for weather radar). Determines date range limit: GHCND/PRECIP_*/NORMAL_DLY/NORMAL_HLY/NEXRAD2/NEXRAD3 allow 1-year max per request; GSOM/GSOY/NORMAL_MLY/NORMAL_ANN allow 10-year max.
Start date for observations (YYYY-MM-DD). For NORMAL_* datasets use 2010-01-01 regardless of the years being analyzed — 2010 is the API proxy year for all normals.
Maximum number of records to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false.
Unit system for returned values. Without this parameter, GHCND returns raw tenths-of-unit integers (TMAX=256 = 25.6°C). Strongly recommended: pass metric (SI units) or standard (Fahrenheit/inches). Optional.
Zero-based index of the first record to return for pagination. Defaults to 0.
Sort results by this field. Optional.
Sort direction. Optional; defaults to asc.
One or more station IDs to filter by (e.g., ["GHCND:USW00024233"]). Obtain from noaa_climate_find_stations. Multiple IDs return comparative readings across stations. Optional.
One or more data type IDs to include (e.g., ["TMAX", "TMIN", "PRCP"]). Without this, all data types for the dataset are returned. Use noaa_climate_list_data_types to discover valid IDs. Optional.
One or more location IDs to filter by (e.g., ["FIPS:37", "ZIP:98101"]). Broader than stationId — returns data from all stations within the location. Optional.
Include pagination metadata in the response. Defaults to true.
Fetch historical observation records from a NOAA CDO dataset for a given date range. Requires datasetId (e.g., GHCND for daily, GSOM for monthly), startDate, and endDate. Optionally scope to specific stations, locations, and data types. Date range limits per request: sub-daily, daily, and radar datasets (GHCND, PRECIP_15, PRECIP_HLY, NORMAL_DLY, NORMAL_HLY, NEXRAD2, NEXRAD3) are limited to 1 year; monthly and annual datasets (GSOM, GSOY, NORMAL_MLY, NORMAL_ANN) are limited to 10 years. A full calendar year always fits, leap years included — the limit runs to the end of the calendar month 1 (or 10) years after startDate. For climate normals (NORMAL_*), use startDate=2010-01-01 and endDate=2010-12-31 — that is the API proxy year regardless of which 30-year period is being described. Returns flat tuples of { date, datatype, station, value, attributes }. Strongly recommended: pass units=metric or units=standard — without it, GHCND values are raw tenths-of-unit integers (TMAX=256 = 25.6°C, PRCP=12 = 1.2mm). GSOM/GSOY are already scaled.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of records to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false. |
| units | string | Unit system for returned values. Without this parameter, GHCND returns raw tenths-of-unit integers (TMAX=256 = 25.6°C). Strongly recommended: pass metric (SI units) or standard (Fahrenheit/inches). Optional. |
| offset | integer | Zero-based index of the first record to return for pagination. Defaults to 0. |
| endDate* | string | End date for observations (YYYY-MM-DD). Must be within 1 year of startDate for sub-daily/daily/radar datasets (GHCND, PRECIP_15, PRECIP_HLY, NORMAL_DLY, NORMAL_HLY, NEXRAD2, NEXRAD3) or within 10 years for monthly/annual datasets (GSOM, GSOY, NORMAL_MLY, NORMAL_ANN) — measured to the end of the calendar month that many years after startDate, so a full calendar year (2024-01-01 to 2024-12-31) always fits. For any NORMAL_* dataset use 2010-12-31. |
| datasetId* | string | Dataset ID to query (e.g., GHCND for daily data, GSOM for monthly, GSOY for annual, NORMAL_DLY/MLY/ANN/HLY for 1981–2010 climate normals, NEXRAD2/NEXRAD3 for weather radar). Determines date range limit: GHCND/PRECIP_*/NORMAL_DLY/NORMAL_HLY/NEXRAD2/NEXRAD3 allow 1-year max per request; GSOM/GSOY/NORMAL_MLY/NORMAL_ANN allow 10-year max. |
| sortField | string | Sort results by this field. Optional. |
| sortOrder | string | Sort direction. Optional; defaults to asc. |
| startDate* | string | Start date for observations (YYYY-MM-DD). For NORMAL_* datasets use 2010-01-01 regardless of the years being analyzed — 2010 is the API proxy year for all normals. |
| stationId | array | One or more station IDs to filter by (e.g., ["GHCND:USW00024233"]). Obtain from noaa_climate_find_stations. Multiple IDs return comparative readings across stations. Optional. |
| datatypeId | array | One or more data type IDs to include (e.g., ["TMAX", "TMIN", "PRCP"]). Without this, all data types for the dataset are returned. Use noaa_climate_list_data_types to discover valid IDs. Optional. |
| locationId | array | One or more location IDs to filter by (e.g., ["FIPS:37", "ZIP:98101"]). Broader than stationId — returns data from all stations within the location. Optional. |
| includemetadata | boolean | Include pagination metadata in the response. Defaults to true. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"datasetId",
"startDate",
"endDate"
],
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Maximum number of records to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false."
},
"units": {
"enum": [
"standard",
"metric"
],
"type": "string",
"description": "Unit system for returned values. Without this parameter, GHCND returns raw tenths-of-unit integers (TMAX=256 = 25.6°C). Strongly recommended: pass metric (SI units) or standard (Fahrenheit/inches). Optional."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based index of the first record to return for pagination. Defaults to 0."
},
"endDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "End date for observations (YYYY-MM-DD). Must be within 1 year of startDate for sub-daily/daily/radar datasets (GHCND, PRECIP_15, PRECIP_HLY, NORMAL_DLY, NORMAL_HLY, NEXRAD2, NEXRAD3) or within 10 years for monthly/annual datasets (GSOM, GSOY, NORMAL_MLY, NORMAL_ANN) — measured to the end of the calendar month that many years after startDate, so a full calendar year (2024-01-01 to 2024-12-31) always fits. For any NORMAL_* dataset use 2010-12-31."
},
"datasetId": {
"type": "string",
"minLength": 1,
"description": "Dataset ID to query (e.g., GHCND for daily data, GSOM for monthly, GSOY for annual, NORMAL_DLY/MLY/ANN/HLY for 1981–2010 climate normals, NEXRAD2/NEXRAD3 for weather radar). Determines date range limit: GHCND/PRECIP_*/NORMAL_DLY/NORMAL_HLY/NEXRAD2/NEXRAD3 allow 1-year max per request; GSOM/GSOY/NORMAL_MLY/NORMAL_ANN allow 10-year max."
},
"sortField": {
"enum": [
"datatype",
"date",
"station"
],
"type": "string",
"description": "Sort results by this field. Optional."
},
"sortOrder": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction. Optional; defaults to asc."
},
"startDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Start date for observations (YYYY-MM-DD). For NORMAL_* datasets use 2010-01-01 regardless of the years being analyzed — 2010 is the API proxy year for all normals."
},
"stationId": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"description": "One or more station IDs to filter by (e.g., [\"GHCND:USW00024233\"]). Obtain from noaa_climate_find_stations. Multiple IDs return comparative readings across stations. Optional."
},
"datatypeId": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"description": "One or more data type IDs to include (e.g., [\"TMAX\", \"TMIN\", \"PRCP\"]). Without this, all data types for the dataset are returned. Use noaa_climate_list_data_types to discover valid IDs. Optional."
},
"locationId": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"description": "One or more location IDs to filter by (e.g., [\"FIPS:37\", \"ZIP:98101\"]). Broader than stationId — returns data from all stations within the location. Optional."
},
"includemetadata": {
"type": "boolean",
"default": true,
"description": "Include pagination metadata in the response. Defaults to true."
}
},
"additionalProperties": false
}Search for geographic locations by category (CITY, ST, CNTY, CNTRY, ZIP, CLIM_REG, etc.). Returns location IDs used in station search and data queries. Without locationCategoryId, returns all location types; noaa_climate_list_location_categories lists the valid values. Use locationCategoryId=ST to list US states (51 entries — small enough to retrieve completely). To find a location by name, pass nameContains alongside locationCategoryId — the CDO API has no name parameter, so this server enumerates the category and matches the substring itself. It works for any category under the size limit stated on nameContains, which is every category except ZIP; a datasetId or datacategoryId filter can bring a category back under that limit. For a category still too large, sort alphabetically with sortField=name and page through results. Location IDs: states as FIPS:37 (NC), cities as CITY:US530018 (Seattle), zip codes as ZIP:98101, countries as FIPS:US. Obtain location IDs here, then pass them to noaa_climate_find_stations or noaa_climate_fetch_data.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false. |
| offset | integer | Zero-based index of the first result to return for pagination. Defaults to 0. |
| endDate | string | Filter to locations with data on or before this ISO date (YYYY-MM-DD). Optional. |
| datasetId | string | Filter to locations covered by this dataset (e.g., "GHCND"). Optional. |
Search for weather observation stations by location, bounding box, dataset, and data type. Returns station IDs, names, coordinates, elevation, and data coverage dates. Filter by locationId (e.g., "FIPS:37" for all NC stations), extent (lat/lon bounding box), datasetId, datatypeId, and date range. Station IDs returned here are used as stationId in noaa_climate_fetch_data. A station must have data for the dataset and date range you want — filter by datasetId and startDate/endDate to ensure compatibility. Common station ID formats: GHCND:USW00024233, COOP:010008.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false. |
| extent | string | Bounding box as "minLat,minLon,maxLat,maxLon": four finite signed decimal or scientific numbers with optional surrounding whitespace, latitude ±90 and longitude ±180. Equal coordinates are accepted; reversed axes return no matches, without wrapping. Example: "47.5,-122.4,47.7,-122.1". Optional. |
| offset | integer | Zero-based index of the first result to return for pagination. Defaults to 0. |
| endDate | string | Filter to stations with data on or before this ISO date (YYYY-MM-DD). Optional. |
| datasetId | string | Filter to stations that have data in this dataset (e.g., "GHCND" for daily observations). Optional. |
Query NOAA/NCEI’s retired Billion-Dollar Weather and Climate Disasters archive (1980–2024), with CPI-adjusted and unadjusted costs and deaths. No years after 2024 are added; CPI adjustments are preserved from the archive, not rebased to current prices. Every cost is in WHOLE US DOLLARS, converted from each export’s declared unit (declaredCostUnit): millions per event, billions per national year, millions per state year. Default calls return individual disasters; summary=true returns per-year counts and costs by class plus an "All Disasters" total. Filter with startYear/endYear (overlapping disasters included), disasterType (exact NCEI class, e.g. "Tropical Cyclone"), minCostInUsd, and state (two-letter postal code). coveredYears reports the span actually present in the export. Under a state scope, per-event rows carry the NATIONAL cost of disasters that reached that state, never a state share, so summing states double-counts; per-year rows carry a binned range instead of a point estimate. Separate from CDO and noaa_climate_search_storm_events; no token required.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of disasters or years to return (1–100). Defaults to 50. Larger positive integers are clamped to 100 with a notice unless NOAA_CLAMP_LIMITS=false. |
| state | string | Two-letter US postal code (e.g. "CA", "TX", "PR") scoping the query to NCEI’s per-state export instead of the national one. Per-event rows then carry the national cost of each disaster that reached the state, not a state share; per-year rows carry a binned cost range instead of a point estimate. Optional. |
| offset | integer | Zero-based index of the first matching record to return. Defaults to 0. |
Fetch full metadata for a single weather station by its ID (e.g., "GHCND:USW00024233", "COOP:010008"). Returns name, coordinates, elevation, and the full date range for which data is available. Use when you have a station ID from noaa_climate_find_stations and want its complete details, or to verify a station before querying data.
| Argument | Type | Description |
|---|---|---|
| stationId* | string | Station ID to fetch (e.g., "GHCND:USW00024233", "COOP:010008"). Obtain from noaa_climate_find_stations. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"stationId"
],
"properties": {
"stationId": {
"type": "string",
"minLength": 1,
"description": "Station ID to fetch (e.g., \"GHCND:USW00024233\", \"COOP:010008\"). Obtain from noaa_climate_find_stations."
}
},
"additionalProperties": false
}List data categories that group related data types — Temperature, Precipitation, Wind, Pressure, Sunshine, Sky cover, Weather Type, and more. Use to discover what types of measurements are available before calling noaa_climate_list_data_types. Optionally filter by dataset, location, station, or date range. There are 42 categories in total.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false. |
| offset | integer | Zero-based index of the first result to return for pagination. Defaults to 0. |
| endDate | string | Filter to categories with data on or before this ISO date (YYYY-MM-DD). Optional. |
| datasetId | string | Filter to categories available in this dataset (e.g., "GHCND", "GSOM"). Optional. |
| sortField | string | Sort results by this field. Optional. |
| sortOrder | string | Sort direction. Optional; defaults to asc. |
| startDate | string | Filter to categories with data on or after this ISO date (YYYY-MM-DD). Optional. |
List available data types (measurement labels like TMAX, TMIN, PRCP, SNOW) for a given dataset or category. Pass a datasetId to see what is measured in that dataset, or a datacategoryId (e.g., "TEMP") to see all temperature-related types. Hundreds of types exist across all datasets. Use this before calling noaa_climate_fetch_data when the data type IDs are unknown. Common GHCND types: TMAX (max temperature), TMIN (min temperature), PRCP (precipitation), SNOW (snowfall), SNWD (snow depth), AWND (average wind speed).
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false. |
| offset | integer | Zero-based index of the first result to return for pagination. Defaults to 0. |
| endDate | string | Filter to data types with data on or before this ISO date (YYYY-MM-DD). Optional. |
| datasetId | string | Filter to data types available in this dataset (e.g., "GHCND", "GSOM"). Optional. |
| sortField | string | Sort results by this field. Optional. |
| sortOrder | string | Sort direction. Optional; defaults to asc. |
| startDate |
List available NOAA CDO datasets with their IDs, names, and temporal coverage. Returns all ~11 datasets by default (no required parameters). Optionally filter to datasets that contain a specific data type, cover a location or station, or overlap a date range. Common datasets: GHCND (daily observations, 1763–present), GSOM (monthly summaries), GSOY (annual summaries), NORMAL_DLY/MLY/ANN/HLY (1981–2010 climate normals). Use this first to discover available datasets before calling noaa_climate_fetch_data.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false. |
| offset | integer | Zero-based index of the first result to return for pagination. Defaults to 0. |
| endDate | string | Inclusive upper coverage bound: dataset mindate must be on or before this date. Applied locally before pagination. Optional. |
| sortField | string | Sort results by this field. Optional. |
| sortOrder | string | Sort direction. Optional; defaults to asc. |
| startDate | string | Inclusive lower coverage bound: dataset maxdate must be on or after this date. Applied locally to the complete matching catalog before pagination. Optional. |
List the location categories that scope noaa_climate_find_locations — CITY, CLIM_DIV, CLIM_REG, CNTRY, CNTY, HYD_ACC, HYD_CAT, HYD_REG, HYD_SUB, ST, US_TERR, and ZIP. Call this first when you do not know which locationCategoryId to pass, including the hydrological categories needed to reach a basin or region. There are 12 categories in total. This endpoint takes pagination and sort only — NOAA CDO ignores dataset, location, station, and date filters here, so none are offered.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false. |
| offset | integer | Zero-based index of the first result to return for pagination. Defaults to 0. |
| sortField | string | Sort results by this field. Optional. |
| sortOrder | string | Sort direction. Optional; defaults to asc. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based index of the first result to return for pagination. Defaults to 0."
},
"sortField": {
"enum": [
"id",
"name"
],
"type": "string",
"description": "Sort results by this field. Optional."
},
"sortOrder": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction. Optional; defaults to asc."
}
},
"additionalProperties": false
}Search the NCEI Storm Events Database for one calendar year — tornadoes, hail, floods, hurricanes, winter storms, heat, and every other NWS Storm Data event type, with magnitude, direct and indirect casualties, property and crop damage, and narratives. This corpus carries discrete severe-weather events rather than CDO station observations, needs no token, and publishes one bulk file per year, so year is required. Filter by episodeId from a returned event, state (full NCEI name such as "FLORIDA", not "FL"), eventType (exact NWS label such as "Tornado", "Flash Flood", or "Hurricane (Typhoon)", case-insensitive), begin month, inclusive local-calendar startDate/endDate overlap, and minDamageInUsd. Date bounds exclude missing, invalid, or reversed source spans before damage accounting, totals, and paging; cross-year bounds still search only the selected year export. Damage retains its raw magnitude-suffixed cell and parsed dollar amount; unreported figures are omitted, and minDamageInUsd discloses how many unknown figures it excluded. Events reference distinct page-local episodeNarratives by episodeNarrativeRef; eventNarrative stays on each event, and rendered narratives preserve literal source text. Optional local ISO beginDate/endDate values can feed CDO date filters; raw NCEI date-time and timezone remain available. Source row order, limit/offset pagination, and filtered totalCount are preserved; appliedDateRange echoes supplied bounds.
| Argument | Type | Description |
|---|---|---|
| year* | integer | Calendar year to search (1950 through the current partial year). Required — NCEI publishes one file per year, so an unscoped search would download every year back to 1950. |
| limit | integer | Maximum events per page (1–100, default 50). Oversized positive integers are clamped to 100 with a notice; NOAA_CLAMP_LIMITS=false restores rejection above 100. |
| sortField |
| string |
| Sort results by this field. Use name with sortOrder=asc to browse alphabetically when searching for a specific city or location name. Optional. |
| sortOrder | string | Sort direction. Optional; defaults to asc. |
| startDate | string | Filter to locations with data on or after this ISO date (YYYY-MM-DD). Optional. |
| nameContains | string | Case-insensitive substring match on the location name. The CDO API has no name parameter, so this server applies the match itself, across the whole category rather than one page — which bounds it to a category holding at most 4000 locations. Requires locationCategoryId; adding datasetId or datacategoryId narrows a category that is otherwise too large. Example: locationCategoryId="CITY" with nameContains="seattle". Optional. |
| datacategoryId | string | Filter to locations with this data category (e.g., "TEMP"). Optional. |
| locationCategoryId | string | Category filter. Use ST for states (51 entries), CNTY for counties, CITY for cities (large set — thousands of entries), CNTRY for countries, ZIP for zip codes, US_TERR for US territories, CLIM_REG for NOAA climate regions, CLIM_DIV for climate divisions, HYD_ACC/HYD_CAT/HYD_REG/HYD_SUB for hydrological categories. Call noaa_climate_list_location_categories when you do not know which category to use — it returns the authoritative set. Optional — omit to return all location types. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based index of the first result to return for pagination. Defaults to 0."
},
"endDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Filter to locations with data on or before this ISO date (YYYY-MM-DD). Optional."
},
"datasetId": {
"type": "string",
"minLength": 1,
"description": "Filter to locations covered by this dataset (e.g., \"GHCND\"). Optional."
},
"sortField": {
"enum": [
"id",
"name",
"mindate",
"maxdate",
"datacoverage"
],
"type": "string",
"description": "Sort results by this field. Use name with sortOrder=asc to browse alphabetically when searching for a specific city or location name. Optional."
},
"sortOrder": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction. Optional; defaults to asc."
},
"startDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Filter to locations with data on or after this ISO date (YYYY-MM-DD). Optional."
},
"nameContains": {
"type": "string",
"minLength": 1,
"description": "Case-insensitive substring match on the location name. The CDO API has no name parameter, so this server applies the match itself, across the whole category rather than one page — which bounds it to a category holding at most 4000 locations. Requires locationCategoryId; adding datasetId or datacategoryId narrows a category that is otherwise too large. Example: locationCategoryId=\"CITY\" with nameContains=\"seattle\". Optional."
},
"datacategoryId": {
"type": "string",
"minLength": 1,
"description": "Filter to locations with this data category (e.g., \"TEMP\"). Optional."
},
"locationCategoryId": {
"type": "string",
"minLength": 1,
"description": "Category filter. Use ST for states (51 entries), CNTY for counties, CITY for cities (large set — thousands of entries), CNTRY for countries, ZIP for zip codes, US_TERR for US territories, CLIM_REG for NOAA climate regions, CLIM_DIV for climate divisions, HYD_ACC/HYD_CAT/HYD_REG/HYD_SUB for hydrological categories. Call noaa_climate_list_location_categories when you do not know which category to use — it returns the authoritative set. Optional — omit to return all location types."
}
},
"additionalProperties": false
}| sortField | string | Sort results by this field. Optional. |
| sortOrder | string | Sort direction. Optional; defaults to asc. |
| startDate | string | Filter to stations with data on or after this ISO date (YYYY-MM-DD). Optional. |
| datatypeId | array | Filter to stations that record these data types (e.g., ["TMAX", "TMIN", "PRCP"]). Optional. |
| locationId | string | Filter to stations within this location ID (e.g., "FIPS:37" for NC, "CITY:US530018" for Seattle). Obtain from noaa_climate_find_locations. Optional. |
| datacategoryId | string | Filter to stations with data in this category (e.g., "TEMP"). Optional. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false."
},
"extent": {
"type": "string",
"pattern": "^\\s*[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*,\\s*[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*,\\s*[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*,\\s*[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*$",
"description": "Bounding box as \"minLat,minLon,maxLat,maxLon\": four finite signed decimal or scientific numbers with optional surrounding whitespace, latitude ±90 and longitude ±180. Equal coordinates are accepted; reversed axes return no matches, without wrapping. Example: \"47.5,-122.4,47.7,-122.1\". Optional."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based index of the first result to return for pagination. Defaults to 0."
},
"endDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Filter to stations with data on or before this ISO date (YYYY-MM-DD). Optional."
},
"datasetId": {
"type": "string",
"minLength": 1,
"description": "Filter to stations that have data in this dataset (e.g., \"GHCND\" for daily observations). Optional."
},
"sortField": {
"enum": [
"id",
"name",
"mindate",
"maxdate",
"datacoverage"
],
"type": "string",
"description": "Sort results by this field. Optional."
},
"sortOrder": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction. Optional; defaults to asc."
},
"startDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Filter to stations with data on or after this ISO date (YYYY-MM-DD). Optional."
},
"datatypeId": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"description": "Filter to stations that record these data types (e.g., [\"TMAX\", \"TMIN\", \"PRCP\"]). Optional."
},
"locationId": {
"type": "string",
"minLength": 1,
"description": "Filter to stations within this location ID (e.g., \"FIPS:37\" for NC, \"CITY:US530018\" for Seattle). Obtain from noaa_climate_find_locations. Optional."
},
"datacategoryId": {
"type": "string",
"minLength": 1,
"description": "Filter to stations with data in this category (e.g., \"TEMP\"). Optional."
}
},
"additionalProperties": false
}| endYear | integer | Latest year to include (1980 or later). The retired archive ends in 2024; years past coveredYears.last return no records rather than an error. Optional. |
| summary | boolean | Return per-year counts and costs by disaster class instead of individual disasters. Defaults to false. |
| startYear | integer | Earliest year to include (1980 or later). A disaster whose span reaches into the range is included even when it began earlier. Optional — omit for the whole record. |
| disasterType | string | Restrict to one NCEI disaster class, written exactly as NCEI writes it. In summary mode this also drops the "All Disasters" total from each year, leaving only the named class. Optional. |
| minCostInUsd | number | Floor on CPI-adjusted cost in whole US dollars — 1e9 is one billion. In summary mode this is compared against the year’s "All Disasters" total, or against the named disasterType when one is given; where only a binned range exists, the top of the bin has to clear the floor. Optional. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Maximum number of disasters or years to return (1–100). Defaults to 50. Larger positive integers are clamped to 100 with a notice unless NOAA_CLAMP_LIMITS=false."
},
"state": {
"type": "string",
"pattern": "^\\s*[A-Za-z]{2}\\s*$",
"description": "Two-letter US postal code (e.g. \"CA\", \"TX\", \"PR\") scoping the query to NCEI’s per-state export instead of the national one. Per-event rows then carry the national cost of each disaster that reached the state, not a state share; per-year rows carry a binned cost range instead of a point estimate. Optional."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based index of the first matching record to return. Defaults to 0."
},
"endYear": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1980,
"description": "Latest year to include (1980 or later). The retired archive ends in 2024; years past coveredYears.last return no records rather than an error. Optional."
},
"summary": {
"type": "boolean",
"default": false,
"description": "Return per-year counts and costs by disaster class instead of individual disasters. Defaults to false."
},
"startYear": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1980,
"description": "Earliest year to include (1980 or later). A disaster whose span reaches into the range is included even when it began earlier. Optional — omit for the whole record."
},
"disasterType": {
"enum": [
"Drought",
"Flooding",
"Freeze",
"Severe Storm",
"Tropical Cyclone",
"Wildfire",
"Winter Storm"
],
"type": "string",
"description": "Restrict to one NCEI disaster class, written exactly as NCEI writes it. In summary mode this also drops the \"All Disasters\" total from each year, leaving only the named class. Optional."
},
"minCostInUsd": {
"type": "number",
"minimum": 0,
"description": "Floor on CPI-adjusted cost in whole US dollars — 1e9 is one billion. In summary mode this is compared against the year’s \"All Disasters\" total, or against the named disasterType when one is given; where only a binned range exists, the top of the bin has to clear the floor. Optional."
}
},
"additionalProperties": false
}| stationId | string | Filter to categories available at this station ID. Optional. |
| locationId | string | Filter to categories available at this location ID. Optional. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based index of the first result to return for pagination. Defaults to 0."
},
"endDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Filter to categories with data on or before this ISO date (YYYY-MM-DD). Optional."
},
"datasetId": {
"type": "string",
"minLength": 1,
"description": "Filter to categories available in this dataset (e.g., \"GHCND\", \"GSOM\"). Optional."
},
"sortField": {
"enum": [
"id",
"name"
],
"type": "string",
"description": "Sort results by this field. Optional."
},
"sortOrder": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction. Optional; defaults to asc."
},
"startDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Filter to categories with data on or after this ISO date (YYYY-MM-DD). Optional."
},
"stationId": {
"type": "string",
"minLength": 1,
"description": "Filter to categories available at this station ID. Optional."
},
"locationId": {
"type": "string",
"minLength": 1,
"description": "Filter to categories available at this location ID. Optional."
}
},
"additionalProperties": false
}| string |
| Filter to data types with data on or after this ISO date (YYYY-MM-DD). Optional. |
| stationId | string | Filter to data types available at this station ID. Optional. |
| locationId | string | Filter to data types available at this location ID. Optional. |
| datacategoryId | string | Filter to data types in this category (e.g., "TEMP" for temperature types, "PRCP" for precipitation). Optional. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based index of the first result to return for pagination. Defaults to 0."
},
"endDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Filter to data types with data on or before this ISO date (YYYY-MM-DD). Optional."
},
"datasetId": {
"type": "string",
"minLength": 1,
"description": "Filter to data types available in this dataset (e.g., \"GHCND\", \"GSOM\"). Optional."
},
"sortField": {
"enum": [
"id",
"name",
"mindate",
"maxdate",
"datacoverage"
],
"type": "string",
"description": "Sort results by this field. Optional."
},
"sortOrder": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction. Optional; defaults to asc."
},
"startDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Filter to data types with data on or after this ISO date (YYYY-MM-DD). Optional."
},
"stationId": {
"type": "string",
"minLength": 1,
"description": "Filter to data types available at this station ID. Optional."
},
"locationId": {
"type": "string",
"minLength": 1,
"description": "Filter to data types available at this location ID. Optional."
},
"datacategoryId": {
"type": "string",
"minLength": 1,
"description": "Filter to data types in this category (e.g., \"TEMP\" for temperature types, \"PRCP\" for precipitation). Optional."
}
},
"additionalProperties": false
}| stationId | string | Filter to datasets covering this station ID (e.g., "GHCND:USW00024233"). Optional. |
| datatypeId | array | Filter to datasets containing these data type IDs (e.g., ["TMAX", "PRCP"]). Optional. |
| locationId | string | Filter to datasets covering this location ID (e.g., "FIPS:37" for NC). Optional. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Maximum number of results to return (1–1000). Defaults to 25. Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based index of the first result to return for pagination. Defaults to 0."
},
"endDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Inclusive upper coverage bound: dataset mindate must be on or before this date. Applied locally before pagination. Optional."
},
"sortField": {
"enum": [
"id",
"name",
"mindate",
"maxdate",
"datacoverage"
],
"type": "string",
"description": "Sort results by this field. Optional."
},
"sortOrder": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction. Optional; defaults to asc."
},
"startDate": {
"type": "string",
"pattern": "^(?:\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|\\d{4}-(?:0?[1-9]|1[0-2])-(?:0?[1-9]|[12]\\d|3[01])(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?)?)$",
"description": "Inclusive lower coverage bound: dataset maxdate must be on or after this date. Applied locally to the complete matching catalog before pagination. Optional."
},
"stationId": {
"type": "string",
"minLength": 1,
"description": "Filter to datasets covering this station ID (e.g., \"GHCND:USW00024233\"). Optional."
},
"datatypeId": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"description": "Filter to datasets containing these data type IDs (e.g., [\"TMAX\", \"PRCP\"]). Optional."
},
"locationId": {
"type": "string",
"minLength": 1,
"description": "Filter to datasets covering this location ID (e.g., \"FIPS:37\" for NC). Optional."
}
},
"additionalProperties": false
}| month | integer | Filter to events whose begin date falls in this month (1–12). Optional. |
| state | string | Filter to this state or territory, written as the full name NCEI uses (e.g. "FLORIDA", "PUERTO RICO"), matched case-insensitively. Postal codes like "FL" match nothing. Optional. |
| offset | integer | Zero-based index of the first matching event to return. Defaults to 0. |
| endDate | string | Inclusive local-calendar upper bound (YYYY-MM-DD): an event must begin on or before this date. Rows without both valid ordered endpoints are excluded. Cross-year intervals are allowed; only year selects the export. |
| episodeId | string | Exact EPISODE_ID from a returned event. Surrounding whitespace is trimmed; blank means no filter. Leading zeros are significant. Keep year supplied. |
| eventType | string | Filter to this NWS event type, matched case-insensitively against the exact label (e.g. "Tornado", "Hail", "Flash Flood", "Hurricane (Typhoon)"). A miss returns the labels present in that year. Optional. |
| startDate | string | Inclusive local-calendar lower bound (YYYY-MM-DD): an event must end on or after this date. Rows without both valid ordered endpoints are excluded. Only the selected year export is searched. |
| minDamageInUsd | number | Filter to events whose property damage parses to at least this many dollars. Excludes every row whose damage NCEI did not report — about a fifth of a recent year — since an unreported figure cannot be shown to clear the threshold. Optional. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"year"
],
"properties": {
"year": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1950,
"description": "Calendar year to search (1950 through the current partial year). Required — NCEI publishes one file per year, so an unscoped search would download every year back to 1950."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Maximum events per page (1–100, default 50). Oversized positive integers are clamped to 100 with a notice; NOAA_CLAMP_LIMITS=false restores rejection above 100."
},
"month": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Filter to events whose begin date falls in this month (1–12). Optional."
},
"state": {
"type": "string",
"minLength": 1,
"description": "Filter to this state or territory, written as the full name NCEI uses (e.g. \"FLORIDA\", \"PUERTO RICO\"), matched case-insensitively. Postal codes like \"FL\" match nothing. Optional."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based index of the first matching event to return. Defaults to 0."
},
"endDate": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Inclusive local-calendar upper bound (YYYY-MM-DD): an event must begin on or before this date. Rows without both valid ordered endpoints are excluded. Cross-year intervals are allowed; only year selects the export."
},
"episodeId": {
"type": "string",
"pattern": "^\\s*(?:\\d+\\s*)?$",
"description": "Exact EPISODE_ID from a returned event. Surrounding whitespace is trimmed; blank means no filter. Leading zeros are significant. Keep year supplied."
},
"eventType": {
"type": "string",
"minLength": 1,
"description": "Filter to this NWS event type, matched case-insensitively against the exact label (e.g. \"Tornado\", \"Hail\", \"Flash Flood\", \"Hurricane (Typhoon)\"). A miss returns the labels present in that year. Optional."
},
"startDate": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Inclusive local-calendar lower bound (YYYY-MM-DD): an event must end on or after this date. Rows without both valid ordered endpoints are excluded. Only the selected year export is searched."
},
"minDamageInUsd": {
"type": "number",
"minimum": 0,
"description": "Filter to events whose property damage parses to at least this many dollars. Excludes every row whose damage NCEI did not report — about a fifth of a recent year — since an unreported figure cannot be shown to clear the threshold. Optional."
}
},
"additionalProperties": false
}