Skip to main content

MCP server for accessing ocean data from ERDDAP servers worldwide

Project description

ERDDAP MCP Server

MCP server providing AI assistants with access to ocean data from ERDDAP servers worldwide. ERDDAP is the backbone of ocean data distribution — NOAA CoastWatch, IOOS regional associations, and 80+ institutions run ERDDAP servers.

No API key required — all ERDDAP data is free and public.

Features

  • Server Registry — 11 well-known ERDDAP servers with region and topic filtering
  • Dataset Search — Free-text search across any ERDDAP server
  • Dataset Metadata — Variables, dimensions, time/spatial coverage, attributes
  • Tabledap Data — In-situ/tabular data (buoys, gliders, ship tracks) with constraint filtering
  • Griddap Data — Gridded/satellite data (SST, chlorophyll, currents) with dimension subsetting
  • Dataset Listing — Browse all datasets on any server with filtering

Quick Start

Install with uv

git clone https://github.com/mansurjisan/ocean-mcp.git
cd ocean-mcp/servers/erddap-mcp
uv sync

Configure your MCP client

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

Available Tools

Tool Description Key Parameters
erddap_list_servers List known ERDDAP servers region, keyword
erddap_search_datasets Search for datasets search_for, server_url, protocol
erddap_get_dataset_info Get dataset metadata server_url, dataset_id
erddap_get_tabledap_data Get tabular data server_url, dataset_id, variables, constraints
erddap_get_griddap_data Get gridded data server_url, dataset_id, time_range, latitude_range, longitude_range
erddap_get_all_datasets List all server datasets server_url, protocol, institution

Known ERDDAP Servers

Name Focus Region
CoastWatch West Coast Satellite, SST, chlorophyll US West Coast
CoastWatch CWHDF Gulf of Mexico Gulf of Mexico
IOOS Gliders Underwater glider data US National
NCEI Climate/archive data Global
OSMC Observing system monitoring Global
NERACOOS NE US regional ocean obs US East Coast
PacIOOS Pacific Islands Pacific
BCO-DMO Bio/chemical ocean data Global
NOAA UAF Fisheries, upwelling US West Coast
OOI Ocean Observatories Initiative US National
SECOORA SE US regional ocean obs US East Coast

Usage Examples

  • "Search for sea surface temperature datasets"erddap_search_datasets(search_for="sea surface temperature")
  • "What variables are in the MUR SST dataset?"erddap_get_dataset_info(dataset_id="jplMURSST41")
  • "Get recent chlorophyll data off the California coast"erddap_get_griddap_data(dataset_id="erdMH1chlamday", latitude_range=[32, 42], longitude_range=[-125, -117])
  • "Find NDBC buoy data near San Francisco"erddap_get_tabledap_data(dataset_id="cwwcNDBCMet", constraints={"latitude>=": 37, "latitude<=": 38})
  • "What ERDDAP servers cover the US East Coast?"erddap_list_servers(region="East Coast")

Development

# Install dev dependencies
uv sync

# Run live integration tests (makes real API calls)
uv run pytest tests/test_live.py -v -s

# Start the server
uv run python -m erddap_mcp

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

erddap_mcp-0.1.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

erddap_mcp-0.1.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: erddap_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 17.1 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 erddap_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ad498fd33a3a3449fb8352561552419111eb4b4fef7b0c00337660a7adb3863
MD5 28ce887d49a8918ca83cb657fbf900b7
BLAKE2b-256 4df6ee44afad040fe6bd097ae40334da0e2c967cb53fe329d1391c19242eaf63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: erddap_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.3 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 erddap_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a1bbf4f6ceff7677c788dabf83667c3ed4049827e82528a48ebd7f3877cad7b
MD5 dee4458324e1410364f61e943eda35a7
BLAKE2b-256 6b396dfb83719e44ec332205a6f94c60cdad4c1d8467550c0f8876e0b45be697

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