NOAA Tides and Currents MCP Server
NOAA tides and currents: water levels, tide predictions, currents, met data, flooding, sun and moon
NOAA Tides and Currents scores 64 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 29 tools. Filed under Uncategorized. GitHub shows 6 stars. Package registries report about 67 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
64 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
93/100 for listing completeness. Lost points: 2 of 25 tools barely described, short summary.
How quality is graded
Where the 64 comes from
22 + 15 + 3 + 10 + 4 + 10 = 64. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "ryancardin15-perigee-tides": { "command": "npx", "args": [ "-y", "@ryancardin/noaa-tides-currents-mcp-server@2.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools29Tool docs quality grade D
All capabilitiesPhase, illumination, age, distance for a date or range (spring/neap tide context)
Next new/full/quarter moon date(s)
Next occurrence(s) of any sun event
Azimuth/altitude (+ approximate declination/RA)
Sunrise/sunset, twilights, golden hour, day length for any location/date
boating_conditionspromptpre-departure briefing: tides, currents, wind, daylight
Nearest stations to any lat/lon (great-circle, cached directory), filterable by type
Predicted currents โ maxslack flood/ebb/slack events or interval series
Observed current speed/direction by depth bin (ADCP), optional beam diagnostics
Annual exceedance probability levels (e.g. the "100-year" water level)
The M2/S2/K1/... constituents behind a station's predictions (water level or current ellipse form)
HTF flood-day counts (daily/monthly/seasonal/annual), outlooks, decadal projections, likelihoods
About
๐ NOAA Tides & Currents MCP Server
A Model Context Protocol server for NOAA CO-OPS Tides and Currents data
Built by Cardin Labs ยท Hosted at Perigee
Water levels ยท tide predictions ยท currents ยท marine weather ยท station metadata ยท tidal datums ยท harmonic constituents ยท sea level trends & projections ยท high tide flooding ยท sun & moon calculations
Quick Start
# Run immediately with npx
npx @ryancardin/noaa-tides-currents-mcp-server
# Or the short alias
npx noaa-mcp
Claude Desktop / Claude Code configuration
{
"mcpServers": {
"noaa": {
"command": "npx",
"args": ["-y", "@ryancardin/noaa-tides-currents-mcp-server"]
}
}
}
Claude Code one-liner:
claude mcp add noaa -- npx -y @ryancardin/noaa-tides-currents-mcp-server
HTTP mode (optional)
npx noaa-mcp --http --port 3000 # stateless streamable HTTP at http://localhost:3000/mcp
No API key is required โ NOAA's CO-OPS APIs are open.
Tools (25)
Observations & Predictions (Data API)
| Tool | What it does |
|---|---|
noaa_get_water_levels | Observed water levels: 1-minute, 6-minute, or hourly series, preliminary/verified quality flags decoded |
noaa_get_water_level_summaries | high_low (HH/H/L/LL daily extremes), daily_mean (Great Lakes), daily_max_min, monthly_mean datum tables |
noaa_get_tide_predictions | Harmonic tide predictions โ hilo high/low events (up to 10 years) or interval series |
noaa_get_currents | Observed current speed/direction by depth bin (ADCP), optional beam diagnostics |
noaa_get_current_predictions | Predicted currents โ max_slack flood/ebb/slack events or interval series |
noaa_get_meteorological_data | Wind, air/water temperature, pressure, air gap (bridge clearance), conductivity, visibility, humidity, salinity |
Station Discovery & Metadata (Metadata API)
| Tool | What it does |
|---|---|
noaa_search_stations | Search the station directory by capability type, name substring, state โ paginated |
noaa_find_nearest_stations | Nearest stations to any lat/lon (great-circle, cached directory), filterable by type |
noaa_get_station_info | Full station record with expandable sensors, flood levels, benchmarks, bins, deployments... |
noaa_get_station_datums | Tidal datum elevations (MLLW, MSL, MHHW, NAVD88...), HAT/LAT, historic extremes, current or superseded epoch |
noaa_get_harmonic_constituents | The M2/S2/K1/... constituents behind a station's predictions (water level or current ellipse form) |
noaa_get_prediction_offsets | Subordinate-station time/height offsets from their reference stations (tide or current) |
Climate & Derived Products (DPAPI)
| Tool | What it does |
|---|---|
noaa_get_sea_level_trends | Long-term relative sea level trend with error bars and observation period |
noaa_get_sea_level_rise_projections | 2022 Interagency SLR scenario projections per decade through 2150 |
noaa_get_extreme_water_levels | Annual exceedance probability levels (e.g. the "100-year" water level) |
noaa_get_top_ten_water_levels | Highest water levels ever recorded, with causal events (hurricanes, nor'easters) |
noaa_get_high_tide_flooding | HTF flood-day counts (daily/monthly/seasonal/annual), outlooks, decadal projections, likelihoods |
Astronomy (computed locally)
| Tool | What it does |
|---|---|
astro_get_moon_phase | Phase, illumination, age, distance for a date or range (spring/neap tide context) |
astro_get_next_moon_phase | Next new/full/quarter moon date(s) |
astro_get_sun_times | Sunrise/sunset, twilights, golden hour, day length for any location/date |
astro_get_sun_position | Azimuth/altitude (+ approximate declination/RA) |
astro_get_next_sun_event | Next occurrence(s) of any sun event |
Wind & Marine Forecasts (NWS Weather API)
| Tool | What it does |
|---|---|
nws_get_wind_forecast | Hourly numeric wind forecast (speed/gust/direction, wave height where gridded) for any US lat/lon, up to ~7 days |
nws_get_marine_forecast | Official Coastal Waters Forecast narrative for the marine zone covering a lat/lon, incl. Small Craft Advisories |
Reference
| Tool | What it does |
|---|---|
noaa_get_reference_guide | Curated NOAA reference: products, datums, units, time zones, intervals, station types, data limits, quality flags, date formats, marine forecasts |
Every tool supports response_format: "markdown" (readable tables with units spelled out โ the default) or "json" (complete structured payload), and attaches structured content for MCP clients that consume it.
Resources
noaa://guide/getting-startedโ workflow recipes and common pitfallsnoaa://reference/{topic}โ the ten reference topics above as pinnable resources
Prompts
tide_reportโ tide report for a place/station and dateboating_conditionsโ pre-departure briefing: tides, currents, wind, daylightstation_flood_riskโ flood risk profile: HTF history, extremes, trends, projectionsstation_overviewโ everything a station offers
The Nuances (handled for you)
These are the things that make NOAA's API tricky โ this server encodes them:
- Datums matter. Heights are meaningless without a vertical reference. MLLW (chart datum) is the default; stations differ in which datums they support (Great Lakes use IGLD/LWD and have no tide predictions).
noaa_get_station_datumsgives the conversion table. - Units are asymmetric.
metricmeans m/s for wind but cm/s for currents; air pressure is millibars and salinity PSU in both systems. Every response labels its units. - Per-product request-span limits (4 days for 1-minute data, 31 days for 6-minute, 1 year hourly, 10 years for hilo predictions...) are validated client-side with actionable messages before hitting NOAA.
- Two station ID schemes. Water-level/met stations are 7-digit numeric (
9414290); current stations are alphanumeric (cb0102). - Reference vs subordinate stations. Subordinate (S) prediction stations only support
hilopredictions, derived by offsets from a reference (R) station. daily_meanrequires local standard time and only exists for Great Lakes stations โ enforced automatically.- Quality flags decoded. Preliminary vs verified data, sigma, flag alphabets (which differ between preliminary and verified!), and HH/H/L/LL tide types are explained inline.
- Predictions are astronomical โ storm surge is not included; compare with observed water levels.
- Station directory is cached (6 h) so nearest-station searches don't refetch thousands of records.
Usage Examples
"When is high tide in Boston tomorrow?"
noaa_find_nearest_stations(typetidepredictions) โ8443970 BOSTONnoaa_get_tide_predictions(intervalhilo) โ high/low times & heights above MLLW
"How strong will the current be in the Cape Cod Canal this afternoon?"
noaa_find_nearest_stations(typecurrentpredictions)noaa_get_current_predictions(intervalmax_slack) โ max flood/ebb (knots) and slack times
"How often does Providence flood now vs 20 years ago, and what's projected for 2050?"
noaa_get_high_tide_flooding(reportannual, range 25)noaa_get_high_tide_flooding(reportprojections, decade 2050)noaa_get_sea_level_trends+noaa_get_sea_level_rise_projections
Development
npm install
npm run build # tsc โ dist/
npm test # vitest unit tests (validation, formatting, astronomy)
npm run test:live # end-to-end smoke test against the live NOAA API
npm run inspector # MCP Inspector against dist/index.js
npm run dev # tsx src/index.ts
Architecture
src/
โโโ index.ts # entry point: stdio (default) or --http streamable HTTP
โโโ constants.ts # API base URLs, timeouts, cache TTLs, response limits
โโโ client/ # shared HTTP layer (retry/backoff, error mapping) + TTL cache
โโโ validation/ # date normalization + per-product span limit enforcement
โโโ format/ # unit labeling, flag legends, markdown/json response shaping
โโโ schemas/ # shared Zod field schemas with nuance-carrying descriptions
โโโ services/ # Data API, Metadata API, DPAPI, moon & sun services
โโโ tools/ # 25 tool registrations grouped by domain
โโโ resources/ # noaa:// reference resources
โโโ prompts/ # workflow prompt templates
โโโ reference/ # curated NOAA reference content
Data sources:
- Data API โ
api.tidesandcurrents.noaa.gov/api/prod/datagetter - Metadata API โ
api.tidesandcurrents.noaa.gov/mdapi/prod/webapi - Derived Product API โ
api.tidesandcurrents.noaa.gov/dpapi/prod/webapi - Astronomy โ suncalc, computed locally
License
MIT ยฉ Cardin LLC (Cardin Labs)
NOAA data is provided by the NOAA Center for Operational Oceanographic Products and Services (CO-OPS). This project is not affiliated with or endorsed by NOAA.
2.1.0 tool delivery contract
Every raw tool advertises an output schema. Successful provider payloads retain their fields and add _response: { contractVersion: "2026-09-29.1", status: "complete" }. Reference guides have a separate typed topic/guide result. Both text and structured payloads are bounded: an oversized result returns an explicit response_too_large error with narrowing guidance instead of truncated text alongside an unbounded structured response. Error metadata states whether retry may help. Chained provider reads share a 45-second cancellation deadline and each request has an 18-second total retry budget. No fishing, navigation or catch probability is inferred from raw data.
Frequently asked questions
What is NOAA Tides and Currents MCP Server?
NOAA tides and currents: water levels, tide predictions, currents, met data, flooding, sun and moon
How do I install NOAA Tides and Currents MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. NOAA Tides and Currents MCP Server runs locally from the npm package @ryancardin/noaa-tides-currents-mcp-server with the command npx -y @ryancardin/noaa-tides-currents-mcp-server@2.1.0.
Is NOAA Tides and Currents MCP Server free and open source?
Yes. NOAA Tides and Currents MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does NOAA Tides and Currents MCP Server support remote (HTTP) connections?
Yes. NOAA Tides and Currents MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does NOAA Tides and Currents MCP Server provide?
NOAA Tides and Currents MCP Server provides 25 tools, including astro_get_moon_phase, astro_get_next_moon_phase, astro_get_next_sun_event, and astro_get_sun_position. See the full tool list for descriptions and parameters.
How is NOAA Tides and Currents MCP Server's trust score calculated?
NOAA Tides and Currents MCP Server scores 64 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetโBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.