NOAA RTOFS MCP Server

v0.1.4
io.github.oceanmodeling/rtofs-mcp Checked 22 hours ago Published 15 days ago

NOAA RTOFS global ocean forecast — SST, salinity, currents, depth profiles via HYCOM THREDDS

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

rtofs_get_transect

Get a vertical transect (cross-section) between two points from RTOFS 3D data. Queries depth profiles at multiple points along a line between start and end coordinates, then combines them into a depth vs. distance cross-section. Uses asyncio.gather for parallel THREDDS NCSS queries. Args: lat_start: Starting latitude. lon_start: Starting longitude. lat_end: Ending latitude. lon_end: Ending longitude. variable: One of: temperature, salinity, u, v. Default: 'temperature'. time: Time in ISO format; THREDDS returns the nearest time…

ParameterTypeDescription
lat_end *number
lat_start *number
lon_end *number
lon_start *number
n_pointsinteger
response_formatstring
time
variablestring

rtofs_compare_forecast_times

Compare RTOFS values at two forecast times at one location; no observations are involved. The two times are the first and last valid time steps of the 24 h window that ends at the reference time. The tool reports the value at each, the value at the middle step, and the change from the first to the last. All values are RTOFS model output; to compare with measurements, fetch observations from another source. Args: latitude: Latitude in decimal degrees. longitude: Longitude in decimal degrees. variable: Surface variable to compare. Default: 'sst'.…

ParameterTypeDescription
latitude *number
longitude *number
response_formatstring
time
variablestring

rtofs_get_system_info

Get RTOFS system overview — model specifications, variables, resolution, and coverage. Returns metadata about the Real-Time Ocean Forecast System (RTOFS/ESPC) including model resolution, forecast length, available variables, and data source information. No network request needed. Args: response_format: 'markdown' (default) or 'json'.

ParameterTypeDescription
response_formatstring

rtofs_list_datasets

List RTOFS datasets on HYCOM THREDDS with optional availability check. Shows the 4 RTOFS/ESPC datasets (SSH, temperature, salinity, currents) and optionally checks if each is currently accessible. Args: check_availability: If True, ping each dataset to check live status. Default: True. response_format: 'markdown' (default) or 'json'.

ParameterTypeDescription
check_availabilityboolean
response_formatstring

rtofs_get_latest_time

Get the first and last available times of one RTOFS dataset on HYCOM THREDDS. Reads the dataset's time coordinate over OPeNDAP and reports its first and last values (UTC), the number of time steps and their spacing, and the newest model run in the dataset. The response names the dataset: its key, description and THREDDS path. Times after the current time are forecasts. Each dataset has its own time axis (hourly ssh; 3-hourly sst, sss and currents), so check the one you will query. Args: dataset: One of 'ssh', 'sst', 'sss', 'currents'. Default: 'ssh'.…

ParameterTypeDescription
datasetstring
response_formatstring

rtofs_get_surface_forecast

Get RTOFS surface time series at a point (SST, SSS, currents, or SSH). Queries HYCOM THREDDS NCSS for the nearest grid cell to the requested lat/lon (~8 km resolution). By default returns the window starting now: the next 72 h for the 3-hourly sst/sss/currents, the next 24 h for hourly ssh. Data spans ~10 days back and ~6 days ahead. HYCOM extracts about one time step per second, so keep custom windows to a few days. For 3D variables (SST, SSS, currents), surface values (depth=0) are returned. Args: latitude: Latitude in decimal degrees (-80 to 90).…

ParameterTypeDescription
latitude *number
longitude *number
response_formatstring
time_end
time_start
variablestring

rtofs_get_profile_forecast

Get RTOFS 3D depth profile at a point (temperature, salinity, or currents vs depth). Queries HYCOM THREDDS NCSS for a vertical profile at the nearest grid cell. Returns values at all available depth levels for a single time step. Args: latitude: Latitude in decimal degrees (-80 to 90). longitude: Longitude in decimal degrees (-180 to 180). variable: One of: temperature, salinity, u, v. Default: 'temperature'. time: Time in ISO format (e.g., '2026-03-03T12:00:00Z'); THREDDS returns the nearest time step. Default: the step nearest the c…

ParameterTypeDescription
latitude *number
longitude *number
response_formatstring
time
variablestring

rtofs_get_area_forecast

Get RTOFS surface forecast for a grid of points in a bounding box. Queries multiple points in parallel using THREDDS NCSS. The number of points per axis is controlled by n_points (total queries = n_points^2). For 3D variables (SST, SSS, currents), surface values (depth=0) are returned. Args: lat_start: Southern latitude bound. lat_end: Northern latitude bound. lon_start: Western longitude bound. lon_end: Eastern longitude bound. variable: One of: sst, sss, u_current, v_current, ssh. Default: 'sst'. time: Time in ISO format; THR…

ParameterTypeDescription
lat_end *number
lat_start *number
lon_end *number
lon_start *number
n_pointsinteger
response_formatstring
time
variablestring