You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An MCP (Model Context Protocol) server providing tidal predictions, observed
water levels, harmonic analysis, and coastal flooding assessments from multiple
national tide gauge networks.
Offline predictions from harmonic constituents via utide
Observations (2 tools)
Tool
Description
tides_observations
Observed water levels (water_level, hourly, high_low, monthly_mean)
tides_latest
Most recent reading with tide state and next high/low
Analysis (7 tools)
Tool
Description
tides_threshold_exceedance
Count threshold exceedances grouped by year/month/season
tides_project_flooding
Future flood frequency under sea level rise scenarios
tides_harmonic_analysis
Fit harmonic constituents to observation data
tides_residual
Non-tidal residual (storm surge extraction)
tides_sea_level_trend
Long-term sea level rise rate from historical data
tides_extreme_levels
Top 10 highest/lowest observed levels
tides_classify_stage
Tide height + stage at given timestamps (e.g. satellite acquisitions) for tide-stratified imagery selection
Flood Risk (2 tools)
Tool
Description
tides_flood_outlook
NOAA high-tide flooding outlook (annual, decadal, next year)
tides_flooding_calendar
Day-by-day flooding calendar with optional SLR offset
Tidal Currents (3 tools)
Tool
Description
tides_currents_stations
List NOAA tidal current prediction stations (~4,400)
tides_currents_predictions
Current velocity predictions (slack/flood/ebb, direction, depth)
tides_currents_latest
Most recent current observation with velocity and direction
Discovery (2 tools)
Tool
Description
tides_status
Server status, provider availability, storage backend
tides_capabilities
Full capabilities for LLM workflow planning
Examples
Four demo scripts are included in examples/:
cd examples
# Quick start — NOAA stations, predictions, sea level trends (Providence, RI)
python quick_start.py
# Tidal currents — current stations, predictions, latest observations
python currents_demo.py
# Mersea Island — complete coastal flooding assessment (EA → harmonic → predictions → calendar)
python mersea_island_scenario.py
# Capabilities demo — offline tool listing and status (no network)
python capabilities_demo.py
The Mersea Island scenario demonstrates the full analysis pipeline using only
free EA data: station discovery, live observations with tide state inference,
harmonic analysis (29 constituents from 30 days of observations), offline
predictions from stored constituents, and a full-year flooding calendar for
the Strood causeway.
Environment Variables
Variable
Required
Default
Description
UKHO_API_KEY
For UKHO
—
UKHO Admiralty API key
CHUK_ARTIFACTS_PROVIDER
No
memory
Storage backend
TIDES_DEFAULT_PROVIDER
No
noaa
Default provider
TIDES_CACHE_TTL_SECONDS
No
3600
API response cache TTL
CHUK_ARTIFACTS_PATH
No
—
Filesystem artifact storage path
Development
# Install dev dependencies
uv pip install -e ".[dev]"# Run tests
make test# Run tests with coverage
make test-cov
# Lint and format
make lint
make format
# All checks
make check
Cross-Server Workflows
chuk-mcp-tides integrates with the broader chuk MCP ecosystem: