Skip to main content

RTOFS MCP Server

MCP server for accessing NOAA RTOFS (Real-Time Ocean Forecast System) global ocean forecast data. Provides SST, salinity, ocean currents, and sea surface height from the operational HYCOM/ESPC model via the HYCOM THREDDS Data Server.

Features

  • Global 1/12° ocean forecasts (~8 km resolution)
  • 8-day forecast horizon, updated daily
  • Temperature, salinity, currents at all depth levels
  • Sea surface height (SSH) at hourly resolution
  • Point queries, depth profiles, area grids, and vertical transects
  • Pure httpx — no NetCDF/xarray dependencies needed

Installation

# Using uvx (recommended)
uvx rtofs-mcp

# Using pip
pip install rtofs-mcp

Tools

Tool Description
rtofs_get_system_info RTOFS overview — resolution, variables, coverage (no HTTP)
rtofs_list_datasets List HYCOM THREDDS datasets with live availability check
rtofs_get_latest_time First and last available times of a dataset, from its THREDDS time coordinate
rtofs_get_surface_forecast Surface time series at a point (SST, SSS, currents, SSH)
rtofs_get_profile_forecast 3D depth profile at a point (temp, salinity, currents vs depth)
rtofs_get_area_forecast Surface forecast for a bounding box (parallel point queries)
rtofs_get_transect Vertical transect between two points (parallel depth profiles)
rtofs_compare_forecast_times RTOFS values at one point at two times, the start and end of the 24 h before a time (default: now); no observations

Example Queries

  • "What is the current SST at The Battery, NYC?"
  • "Show me a temperature depth profile at 35°N, 74°W in the Gulf Stream"
  • "Get the SST forecast for the next 8 days at latitude 25, longitude -80"
  • "Show a vertical transect of temperature from Miami to Bermuda"
  • "What are the ocean currents at 40°N, 74°W?"

Data Source

HYCOM THREDDS Data Server (https://tds.hycom.org/thredds/)

ESPC-D-V02 datasets (operational HYCOM/RTOFS):

  • FMRC_ESPC-D-V02_ssh — Sea Surface Height (2D, hourly)
  • FMRC_ESPC-D-V02_t3z — Water Temperature (3D, 3-hourly)
  • FMRC_ESPC-D-V02_s3z — Salinity (3D, 3-hourly)
  • FMRC_ESPC-D-V02_uv3z — Ocean Currents u/v (3D, 3-hourly)

Data is queried via THREDDS NCSS (NetCDF Subset Service) which returns CSV for point queries — no NetCDF library required.

Configuration

Claude Desktop

{
  "mcpServers": {
    "rtofs": {
      "command": "uvx",
      "args": ["rtofs-mcp"]
    }
  }
}

Development

cd servers/rtofs-mcp
uv sync --group dev
uv run rtofs-mcp                                          # Start server
uv run pytest tests/ --ignore=tests/test_live.py -v       # Unit tests
uv run pytest tests/test_live.py -v                       # Integration tests

License

MIT

Metadata

Release files for rtofs-mcp 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rtofs-mcp 0.1.4
File Size Uploaded Provenance Actions
rtofs_mcp-0.1.4.tar.gz 34.7 kB With provenance Details for rtofs_mcp-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rtofs-mcp 0.1.4
File Interpreter ABI Platform Actions
rtofs_mcp-0.1.4-py3-none-any.whl Python 3 none any Details for rtofs_mcp-0.1.4-py3-none-any.whl

Total release size: 57.8 kB

Release files / rtofs_mcp-0.1.4.tar.gz

Download URL rtofs_mcp-0.1.4.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9f558fec228b7d0106473bb1c29c47409763a242a7270426399bc7f271acf46b
BLAKE2b-256 checksum
How to use checksums
39bb7d54a8aef36618a4896341e6a8d27333c1cbf06bbbd980ca2e7c622fa67e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / rtofs_mcp-0.1.4-py3-none-any.whl

Download URL rtofs_mcp-0.1.4-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f943d3db9d28c61a8126c99ed569c64bb79e6d9f92338477e75e090839aac033
BLAKE2b-256 checksum
How to use checksums
669b3cfb9e36adbf4129ba8cb5a40f495b5607eb588b71ed4be58d782621bdb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for rtofs-mcp 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rtofs_mcp-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page