NOAA STOFS MCP Server

v0.3.0
io.github.oceanmodeling/stofs-mcp Checked 2 days ago Published 17 days ago

NOAA STOFS storm surge forecasts, observation validation, and OPeNDAP data

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

stofs_list_cycles

List available STOFS forecast cycles on AWS S3 for a given date range. Checks AWS S3 for available station NetCDF files to determine which forecast cycles have been published. Args: model: 'two_global' (4x daily, global) or '3d_atlantic' (1x daily, US East/Gulf). date: Specific date in YYYY-MM-DD format. Default: today UTC. num_days: Number of past days to check (1–7). Default: 2.

ParameterTypeDescription
date
model
num_daysinteger

stofs_get_system_info

Get STOFS system metadata — model specifications, datums, cycle schedule. Args: model: '2d_global', '3d_atlantic', or None for both. Default: None. include_stations: If True, include the full station registry. Default: False.

ParameterTypeDescription
include_stationsboolean
model

stofs_list_stations

List STOFS output stations, optionally filtered by location, state, or region. Uses the built-in station registry (~50 key CO-OPS stations). For the complete dynamic list, the station NetCDF file must be downloaded. Args: model: '2d_global' or '3d_atlantic'. near_lat: Filter to stations near this latitude. near_lon: Filter to stations near this longitude. radius_km: Search radius in km when near_lat/near_lon provided (default 100). state: Filter by US state abbreviation (e.g., 'NY', 'FL'). region: Filter by region ('east_coast', 'gu…

ParameterTypeDescription
limitinteger
model
near_lat
near_lon
radius_kmnumber
region
state

stofs_get_station_forecast

Get STOFS water level forecast time series at a specific CO-OPS station. Downloads the station NetCDF file from AWS S3 (~2–10 MB) and extracts the full forecast time series for the specified station. Args: station_id: CO-OPS station ID (e.g., '8518750' for The Battery, NY). model: '2d_global' (global, 4x daily) or '3d_atlantic' (US East/Gulf, 1x daily). product: 'cwl' (combined), 'htp' (tidal only), 'swl' (surge only). Note: 3D-Atlantic only supports 'cwl'. cycle_date: Date in YYYY-MM-DD format. Default: latest available.…

ParameterTypeDescription
station_id *string
cycle_date
cycle_hour
model
product
response_formatstring

stofs_get_point_forecast

Get STOFS forecast at an arbitrary lat/lon by finding the nearest station. Downloads the station file and finds the closest STOFS output point to the requested location. Args: latitude: Target latitude in decimal degrees. longitude: Target longitude in decimal degrees. model: '2d_global' or '3d_atlantic'. product: 'cwl', 'htp', or 'swl' (3D only supports 'cwl'). cycle_date: Date in YYYY-MM-DD format. Default: latest. cycle_hour: Cycle hour '00', '06', '12', '18'. Default: latest. max_distance_km: Maximum search radius to nea…

ParameterTypeDescription
latitude *number
longitude *number
cycle_date
cycle_hour
max_distance_kmnumber
model
product
response_formatstring

stofs_get_max_water_level

Get the stations with the highest predicted water levels in a STOFS cycle. Computes the maximum water level across all forecast timesteps for each station, then returns the top N sorted by peak value. Uses station files (not the large gridded maxele file). Args: model: '2d_global' or '3d_atlantic'. cycle_date: Date in YYYY-MM-DD format. Default: latest. cycle_hour: Cycle hour. Default: latest. top_n: Number of top stations to return (default 20). region: Optional region filter ('east_coast', 'gulf', etc.). response_format: 'mark…

ParameterTypeDescription
cycle_date
cycle_hour
model
region
response_formatstring
top_ninteger

stofs_get_gridded_forecast

[CURRENTLY UNAVAILABLE — NOMADS OPeNDAP retired Oct 2025, NWS SCN 25-81] Get STOFS forecast at any lat/lon from the regular gridded product via OPeNDAP. Unlike stofs_get_station_forecast (limited to ~385 fixed CO-OPS stations), this tool queries the STOFS regular-grid product interpolated onto structured lat/lon grids and served via NOMADS OPeNDAP. Only the requested grid cell is downloaded — no large file transfer required. Coverage: US East Coast, Gulf, West Coast, Alaska, Hawaii, Puerto Rico, Guam. Resolution: ~2.5 km (conus/hawaii/guam), ~1.25 km (Puerto Rico)…

ParameterTypeDescription
latitude *number
longitude *number
cycle_date
cycle_hour
model
response_formatstring
variable

stofs_compare_with_observations

Compare STOFS forecast against CO-OPS observed water levels at a station. Downloads the STOFS station file, fetches CO-OPS observations for the overlapping period, and aligns the two series. The response leads with a summary — observed and forecast peak (value and time), peak error, peak timing error, bias, RMSE — followed by the aligned series. Statistics always use every 6-minute point; the returned series is hourly unless full_resolution is set. The comparison window starts at the beginning of the station file, which is the nowcast: 6 hours before the c…

ParameterTypeDescription
station_id *string
cycle_date
cycle_hour
full_resolutionboolean
hours_to_compareinteger
lead_end_hours
lead_start_hours
max_pointsinteger
model
response_formatstring