Skip to main content

MCP server for NOAA Operational Forecast System (OFS) regional ocean model access

Project description

OFS MCP Server

MCP server for NOAA's Operational Forecast System (OFS) — regional hydrodynamic ocean models covering US coastal waters.

Status: Ready

Overview

OFS comprises ~15 regional ocean models providing 48–72 hour forecasts of water levels, temperature, and salinity for US coastal bays, estuaries, and offshore waters. This server provides AI assistants with access to model metadata, cycle availability, and forecast extraction at geographic points.

Supported Models

Model Name Grid Region
cbofs Chesapeake Bay OFS ROMS Chesapeake Bay, MD/VA
dbofs Delaware Bay OFS ROMS Delaware Bay, DE/NJ
gomofs Gulf of Maine OFS ROMS Gulf of Maine, ME/MA
ngofs2 N. Gulf of Mexico OFS v2 FVCOM Gulf Coast, LA/TX
nyofs New York/NJ Harbor OFS FVCOM NY Harbor, NY/NJ
sfbofs San Francisco Bay OFS FVCOM San Francisco Bay, CA
tbofs Tampa Bay OFS FVCOM Tampa Bay, FL
wcofs West Coast OFS ROMS US West Coast, CA–WA
ciofs Cook Inlet OFS FVCOM Cook Inlet, AK

All models run 4× daily (2× for WCOFS) at 00, 06, 12, 18 UTC with 6-minute output resolution.

Tools

Tool Description
ofs_list_models List all supported models with metadata
ofs_get_model_info Detailed specs for a specific model
ofs_list_cycles Check S3 for available forecast cycles
ofs_find_models_for_location Which models cover a lat/lon point
ofs_get_forecast_at_point Forecast time series at lat/lon
ofs_compare_with_coops Compare model vs CO-OPS observations

Data Access

Model data is accessed via two strategies:

  • NOAA THREDDS OPeNDAP (https://opendap.co-ops.nos.noaa.gov/thredds/): lazy remote access to BEST aggregations (most efficient, only loads requested variables/points)
  • AWS S3 (noaa-nos-ofs-pds): direct download for single forecast timesteps

Quick Start

cd servers/ofs-mcp
uv sync
uv run ofs-mcp

MCP Client Config

{
  "mcpServers": {
    "ofs": {
      "command": "uv",
      "args": ["--directory", "/path/to/ocean-mcp/servers/ofs-mcp", "run", "ofs-mcp"]
    }
  }
}

Example Queries

  • "What OFS models cover the Chesapeake Bay?"
  • "List available CBOFS forecast cycles for today"
  • "Get the water level forecast at lat 38.98, lon -76.48 from CBOFS"
  • "Compare CBOFS water level with CO-OPS observations at station 8571892"
  • "What OFS models are available for San Francisco Bay?"
  • "Get temperature forecast at lat 37.8, lon -122.4 from SFBOFS"

Variables

All models provide surface-layer output:

Variable Units Description
water_level m Surface elevation relative to model datum
temperature °C Water temperature at surface sigma layer
salinity PSU Salinity at surface sigma layer

Datum Notes

Most OFS models use NAVD88 as their vertical datum. CO-OPS observations use either NAVD or MSL depending on the station. Small systematic offsets (1–5 cm) are expected when comparing model output to observations due to datum differences and distance between CO-OPS stations and model grid points.

Data Sources

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ofs_mcp-0.1.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ofs_mcp-0.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file ofs_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: ofs_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ofs_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f267abb40fb9a6f696aabbed73f8d35e40fb93283381d556cddf892820086bed
MD5 58345616cefae8a6e0b63134378391ab
BLAKE2b-256 70cf1e1bcfe5e3d1f5523c521f29600cf23290511b6c1bbad897d97b1ce09148

See more details on using hashes here.

File details

Details for the file ofs_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ofs_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ofs_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d2b538a61ccdbf809ee2cb5e1d8091401c922eed43ef97f5fa3e923faafa196
MD5 395df8349f18bbba087db26e47cdda93
BLAKE2b-256 f3f8adddd5e87c6fe55e7067d3d7644a79e01d1370fc3e3acd3309a2cc945376

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page