noaa-cdo-mcp-server
v0.1.15Search NOAA CDO stations and datasets, fetch historical weather observations.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
noaa_list_datasets List NOAA CDO Datasets
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_fetch_data.
| Parameter | Type | Description |
|---|---|---|
datatypeId | array | Filter to datasets containing these data type IDs (e.g., ["TMAX", "PRCP"]). Optional. |
endDate | string | Filter to datasets with data on or before this ISO date (YYYY-MM-DD). Optional. |
limit | integer | Maximum number of results to return (1–1000). Defaults to 25. |
locationId | string | Filter to datasets covering this location ID (e.g., "FIPS:37" for NC). Optional. |
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. |
startDate | string | Filter to datasets with data on or after this ISO date (YYYY-MM-DD). Optional. |
stationId | string | Filter to datasets covering this station ID (e.g., "GHCND:USC00450974"). Optional. |
noaa_list_data_categories List NOAA CDO Data Categories
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_list_data_types. Optionally filter by dataset, location, station, or date range. There are 42 categories in total.
| Parameter | Type | Description |
|---|---|---|
datasetId | string | Filter to categories available in this dataset (e.g., "GHCND", "GSOM"). Optional. |
endDate | string | Filter to categories with data on or before this ISO date (YYYY-MM-DD). Optional. |
limit | integer | Maximum number of results to return (1–1000). Defaults to 25. |
locationId | string | Filter to categories available at this location ID. Optional. |
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. |
startDate | string | Filter to categories with data on or after this ISO date (YYYY-MM-DD). Optional. |
stationId | string | Filter to categories available at this station ID. Optional. |
noaa_list_data_types List NOAA CDO Data Types
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_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).
| Parameter | Type | Description |
|---|---|---|
datacategoryId | string | Filter to data types in this category (e.g., "TEMP" for temperature types, "PRCP" for precipitation). Optional. |
datasetId | string | Filter to data types available in this dataset (e.g., "GHCND", "GSOM"). Optional. |
endDate | string | Filter to data types with data on or before this ISO date (YYYY-MM-DD). Optional. |
limit | integer | Maximum number of results to return (1–1000). Defaults to 25. |
locationId | string | Filter to data types available at this location ID. Optional. |
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. |
startDate | 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. |
noaa_find_locations Find NOAA CDO Locations
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. Use locationCategoryId=ST to list US states (51 entries — small enough to retrieve completely). Use locationCategoryId=CITY for cities (thousands of entries — use pagination and sortField=name to navigate alphabetically). The CDO API has no name-search parameter; to find a specific city, sort alphabetically with sortField=name and page through results. Location IDs: states as FIPS:37 (…
| Parameter | Type | Description |
|---|---|---|
datacategoryId | string | Filter to locations with this data category (e.g., "TEMP"). Optional. |
datasetId | string | Filter to locations covered by this dataset (e.g., "GHCND"). Optional. |
endDate | string | Filter to locations with data on or before this ISO date (YYYY-MM-DD). Optional. |
limit | integer | Maximum number of results to return (1–1000). Defaults to 25. |
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, CLIM_REG for NOAA climate regions, CLI… |
offset | integer | Zero-based index of the first result to return for pagination. Defaults to 0. |
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. |
noaa_find_stations Find NOAA CDO Stations
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_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:USC00450974, COOP:010008.
| Parameter | Type | Description |
|---|---|---|
datacategoryId | string | Filter to stations with data in this category (e.g., "TEMP"). Optional. |
datasetId | string | Filter to stations that have data in this dataset (e.g., "GHCND" for daily observations). Optional. |
datatypeId | array | Filter to stations that record these data types (e.g., ["TMAX", "TMIN", "PRCP"]). Optional. |
endDate | string | Filter to stations with data on or before this ISO date (YYYY-MM-DD). Optional. |
extent | string | Bounding box filter as "minLat,minLon,maxLat,maxLon" (e.g., "47.5,-122.4,47.7,-122.1" for central Seattle). Optional. |
limit | integer | Maximum number of results to return (1–1000). Defaults to 25. |
locationId | string | Filter to stations within this location ID (e.g., "FIPS:37" for NC, "CITY:US530031" for Seattle). Obtain from noaa_find_locations. Optional. |
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. |
startDate | string | Filter to stations with data on or after this ISO date (YYYY-MM-DD). Optional. |
noaa_get_station Get NOAA CDO Station
Fetch full metadata for a single weather station by its ID (e.g., "GHCND:USC00450974", "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_find_stations and want its complete details, or to verify a station before querying data.
| Parameter | Type | Description |
|---|---|---|
stationId * | string | Station ID to fetch (e.g., "GHCND:USC00450974", "COOP:010008"). Obtain from noaa_find_stations. |
noaa_fetch_data Fetch NOAA CDO Observation Data
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 and daily datasets (GHCND, PRECIP_15, PRECIP_HLY, NORMAL_DLY, NORMAL_HLY) are limited to 1 year; monthly and annual datasets (GSOM, GSOY, NORMAL_MLY, NORMAL_ANN) are limited to 10 years. For climate normals (NORMAL_*), use startDate=2010-01-01 and endDate=2010-12-31 — that is the API proxy year regardless of which 30-y…
| Parameter | Type | Description |
|---|---|---|
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). Determines date range limit: GHCND/PRECIP_*/NORMAL_DLY/NORM… |
endDate * | string | End date for observations (YYYY-MM-DD). Must be within 1 year of startDate for sub-daily/daily datasets (GHCND, PRECIP_15, PRECIP_HLY, NORMAL_DLY, NORMAL_HLY) or within 10 years for monthly/annual dat… |
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. |
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_list_data_types to discover valid IDs. Optional. |
includemetadata | boolean | Include pagination metadata in the response. Defaults to true. |
limit | integer | Maximum number of records to return (1–1000). Defaults to 25. |
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. |
offset | integer | Zero-based index of the first record to return for pagination. Defaults to 0. |
sortField | string | Sort results by this field. Optional. |
sortOrder | string | Sort direction. Optional; defaults to asc. |
stationId | array | One or more station IDs to filter by (e.g., ["GHCND:USC00450974"]). Obtain from noaa_find_stations. Multiple IDs return comparative readings across stations. Optional. |
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). O… |