NOAA OFS MCP Server

v0.1.3
io.github.oceanmodeling/ofs-mcp Checked 1 day ago Published 16 days ago

NOAA OFS regional ocean model forecasts — water level, temperature, salinity

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

ofs_list_models

List all supported NOAA OFS regional ocean models with key metadata. Returns model names, grid types, geographic coverage, cycle schedules, forecast lengths, and variables available. Args: response_format: 'markdown' (default) or 'json'.

ParameterTypeDescription
response_formatstring

ofs_get_model_info

Get detailed specifications for a specific OFS model. Returns grid type, spatial domain, cycle schedule, vertical levels, datum, available variables, and data access URLs. Args: model: OFS model identifier (e.g., 'cbofs', 'ngofs2'). response_format: 'markdown' (default) or 'json'.

ParameterTypeDescription
model *
response_formatstring

ofs_list_cycles

List available OFS forecast cycles on AWS S3 for a given model and date range. Checks S3 for available forecast files to determine which cycles have been published. Useful before calling ofs_get_forecast_at_point. Args: model: OFS model identifier (e.g., 'cbofs', 'ngofs2'). date: Specific date in YYYY-MM-DD format. Default: today UTC. num_days: Number of past days to check (1–7). Default: 2.

ParameterTypeDescription
model *
date
num_daysinteger

ofs_find_models_for_location

Find which OFS models cover a given latitude/longitude location. Uses model bounding boxes to identify all models whose domain includes the specified point. Larger regional models may cover the area at coarser resolution than smaller local models. Args: latitude: Latitude in decimal degrees. longitude: Longitude in decimal degrees.

ParameterTypeDescription
latitude *number
longitude *number

ofs_get_forecast_at_point

Get an OFS model forecast time series at a geographic point. Connects to the NOAA THREDDS OPeNDAP server to lazily extract the forecast at the nearest model grid point without downloading the full gridded file. Falls back to S3 download if OPeNDAP is unavailable. Args: latitude: Target latitude in decimal degrees. longitude: Target longitude in decimal degrees. model: OFS model to query (e.g., 'cbofs', 'ngofs2', 'wcofs'). variable: Variable to retrieve — 'water_level', 'temperature', or 'salinity'. max_distance_km: Maximum distance to…

ParameterTypeDescription
latitude *number
longitude *number
model *
max_distance_kmnumber
response_formatstring
variable

ofs_compare_with_coops

Compare OFS model water level forecast against CO-OPS observations at a station. Fetches the model forecast at the nearest grid point to the CO-OPS station and compares it with the observed water level. Computes bias, RMSE, MAE, peak error, and correlation. Args: station_id: CO-OPS station ID (e.g., '8571892' for Cambridge, MD). model: OFS model identifier (e.g., 'cbofs', 'ngofs2'). hours_to_compare: Hours of comparison period (default 24, max 96). response_format: 'markdown' (default) or 'json'.

ParameterTypeDescription
model *
station_id *string
hours_to_compareinteger
response_formatstring