NOAA WW3 MCP Server

v0.1.3
io.github.oceanmodeling/ww3-mcp Checked 14 hours ago Published 16 days ago

GFS-Wave (WAVEWATCH III) forecasts and NDBC buoy wave observations

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

ww3_get_buoy_observations

Get recent wave observations from an NDBC buoy. Fetches realtime standard meteorological data from NDBC including wave height, dominant period, average period, mean wave direction, wind speed, and wind direction. NDBC's realtime file holds about the last 45 days, at the station's own reporting interval (e.g. 10 minutes at 41009, 30 at 44025; NDBC says most stations report hourly). The window is selected by timestamp, so it covers the requested hours at any interval. Args: station_id: NDBC station ID (e.g., '41025', '46042', '44013'). hours: Hours o…

ParameterTypeDescription
station_id *string
hoursinteger
max_recordsinteger
response_formatstring

ww3_get_buoy_history

Get historical annual wave observations from an NDBC buoy. Fetches NDBC's historical annual standard meteorological file for one year. Missing values, which these files mark with 9-filled codes (e.g. WVHT 99.00), are returned as null and counted, never as measurements. The wave-height summary (valid count, min, max and its time, mean) covers every row of the file. The rows returned are the most recent max_records rows of the year (the file is oldest-first), and the response states how many rows the file has and how many were returned. Args: station_id:…

ParameterTypeDescription
station_id *string
year *integer
max_recordsinteger
response_formatstring

ww3_list_grids

List available GFS-Wave (WAVEWATCH III) model grids with resolution and domain info. Returns grid IDs, resolution, geographic coverage, forecast length, and available wave variables. Use this to choose a grid for ww3_get_forecast_at_point. Args: response_format: 'markdown' (default) or 'json'.

ParameterTypeDescription
response_formatstring

ww3_list_cycles

Check available GFS-Wave forecast cycles on NOAA servers. Checks AWS S3 for available GRIB2 files to determine which forecast cycles have been published. Useful before calling ww3_get_forecast_at_point. Args: grid: Wave grid to check (default: 'global.0p25'). 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
grid
num_daysinteger

ww3_find_buoys

Find NDBC buoys near a geographic location. Searches the NDBC active stations registry for buoys within a specified radius of a lat/lon point. Returns station IDs, distances, and metadata. Args: latitude: Target latitude in decimal degrees. longitude: Target longitude in decimal degrees. radius_km: Search radius in kilometers (default 200). limit: Maximum number of buoys to return (default 10). response_format: 'markdown' (default) or 'json'.

ParameterTypeDescription
latitude *number
longitude *number
limitinteger
radius_kmnumber
response_formatstring

ww3_get_forecast_at_point

Get GFS-Wave forecast time series at a geographic point. Downloads subsetted GRIB2 data from NOMADS for multiple forecast hours and extracts wave variables at the nearest grid point. This is the primary tool for wave forecast data. Args: latitude: Target latitude in decimal degrees (-90 to 90). longitude: Target longitude in decimal degrees (-180 to 180). grid: Wave grid to use (default: 'global.0p25'). variables: List of wave variables to retrieve (e.g., ['HTSGW', 'PERPW', 'DIRPW']). Default: ['HTSGW', 'PERPW', 'DIRPW'].…

ParameterTypeDescription
latitude *number
longitude *number
grid
max_hoursinteger
response_formatstring
step_hoursinteger
variables

ww3_get_point_snapshot

Get all wave variables at a single point and forecast time. Downloads a single GRIB2 file and extracts all available wave variables at the nearest grid point. Use this for a quick snapshot of current or near-future conditions. Args: latitude: Target latitude in decimal degrees. longitude: Target longitude in decimal degrees. forecast_hour: Forecast hour (0=analysis, 6, 12, ..., max 384). Default: 0. grid: Wave grid to use (default: 'global.0p25'). response_format: 'markdown' (default) or 'json'.

ParameterTypeDescription
latitude *number
longitude *number
forecast_hourinteger
grid
response_formatstring

ww3_get_regional_summary

Get spatial statistics for wave variables over a bounding box. Downloads a single GRIB2 file subsetted to the bounding box and computes min, max, mean, and standard deviation for each wave variable. Args: lat_min: Southern latitude bound. lat_max: Northern latitude bound. lon_min: Western longitude bound (-180 to 180). lon_max: Eastern longitude bound (-180 to 180). forecast_hour: Forecast hour (default 0). grid: Wave grid to use (default: 'global.0p25'). response_format: 'markdown' (default) or 'json'.

ParameterTypeDescription
lat_max *number
lat_min *number
lon_max *number
lon_min *number
forecast_hourinteger
grid
response_formatstring

ww3_compare_forecast_with_buoy

Compare GFS-Wave forecast with NDBC buoy observations. Fetches both the model forecast and buoy observations for wave height, aligns the time series, and computes validation statistics (bias, RMSE, MAE, peak error, correlation). Args: station_id: NDBC buoy station ID (e.g., '41025', '46042'). buoy_lat: Buoy latitude in decimal degrees. buoy_lon: Buoy longitude in decimal degrees. grid: Wave grid to use (default: 'global.0p25'). hours_to_compare: Hours of comparison (default 24, max 120). Sets both the forecast hours fetched…

ParameterTypeDescription
buoy_lat *number
buoy_lon *number
station_id *string
grid
hours_to_compareinteger
response_formatstring