The LocalTides MCP Server enables interaction with the NOAA Tides and Currents API for accessing tidal, current, meteorological, and astronomical data via the MCP protocol.
It allows you to:
Retrieve real-time and historical water level data
Obtain tide predictions (high/low or interval-based)
Access currents data and predictions
Fetch station information and metadata
Get meteorological data (wind, temperature, etc.)
Retrieve moon phase information and predict future phases
Obtain sun rise/set times, positions, and events
Get parameter definitions for NOAA API requests (time zones, datums, units, etc.)
Provides a Node.js-based MCP server implementation for accessing NOAA Tides and Currents API data.
The MCP server is built using TypeScript, providing type-safe access to the NOAA Tides and Currents API.
Supports XML output format for API responses when retrieving NOAA tides, currents, and meteorological data.
π NOAA Tides & Currents MCP Server
π Lightning-fast access to NOAA's oceanic and atmospheric data through MCP
Your one-stop solution for tides, currents, weather, astronomy, and climate data
π¦ Quick Start β’ π οΈ Tools β’ π Examples β’ ποΈ Advanced
β¨ What Makes This Awesome
π 25+ Specialized Tools - From basic tide data to advanced climate projections
β‘ Lightning Fast - Built on FastMCP for optimal performance
π― Zero Config - Works out of the box with Claude Desktop
π Comprehensive Data - Water levels, currents, weather, moon phases, sun data
π Climate Research Ready - Sea level trends, flooding projections, extreme events
π NPX Ready - Install and run with a single command
Related MCP server: Surf MCP Server
π Quick Start
β‘ NPX Installation (Recommended)
π Transport Modes
STDIO Mode (Default - MCP Protocol)
HTTP Streamable Mode (Web Integration)
π― Claude Desktop Integration
Install directly to Claude Desktop via Smithery:
π§ Manual Development Setup
π οΈ Available Tools
Water Levels & Tides
get_water_levels- Real-time and historical water level dataget_tide_predictions- High/low tide predictions and continuous dataget_currents- Real-time and historical current measurementsget_current_predictions- Current speed and direction forecastsget_meteorological_data- Wind, air temp, water temp, pressure, etc.
Station Information
get_stations- Search and list monitoring stationsget_station_details- Detailed station metadata and capabilities
Sea Level Analysis
get_sea_level_trends- Long-term sea level rise trends and ratesget_extreme_water_levels- Statistical analysis of extreme events
High Tide Flooding Analysis
get_high_tide_flooding_daily- Daily flood event countsget_high_tide_flooding_monthly- Monthly flooding patternsget_high_tide_flooding_seasonal- Seasonal flood analysisget_high_tide_flooding_annual- Yearly flooding trendsget_high_tide_flooding_projections- Future flood risk scenariosget_high_tide_flooding_likelihoods- Daily flood probability
Historical Extremes
get_top_ten_water_levels- Highest/lowest water levels on record
Moon Phase Calculations
get_moon_phase- Current moon phase and illuminationget_moon_phases_range- Moon phases over date rangesget_next_moon_phase- Find next new/full/quarter moons
Solar Calculations
get_sun_times- Sunrise, sunset, dawn, dusk timesget_sun_times_range- Solar times over date rangesget_sun_position- Real-time sun azimuth and elevationget_next_sun_event- Next sunrise, sunset, or solar noon
API Parameters
get_parameter_definitions- Valid values for all API parameters
π Usage Examples
π Get Current Tide Conditions
π Hurricane Preparedness
π¬ Climate Research
π Astronomy & Navigation
π£ Fishing & Recreation
ποΈ Advanced Usage
π§ Development & Testing
π HTTP Stream Integration
When running in HTTP mode, the server provides Server-Sent Events (SSE) at /sse:
Use Cases for HTTP Mode:
π Web Applications - Integrate with React, Vue, Angular apps
π± Mobile Apps - REST-like access from mobile applications
π API Gateways - Proxy through load balancers or API gateways
π§ͺ Testing - Easy curl-based testing and debugging
π Data Formats & Export
All tools support multiple output formats:
JSON (default) - Perfect for programmatic use
XML - Legacy system integration
CSV - Direct spreadsheet import
π Global Station Coverage
13,000+ stations worldwide
Real-time data from NOAA's CO-OPS network
Historical records dating back decades
Global tide predictions and current forecasts
π¦ API Endpoints
This server integrates with three NOAA APIs:
API | Purpose | Base URL |
Data API | Real-time observations & predictions |
|
Metadata API | Station information & capabilities |
|
Derived Products API | Climate analysis & research data |
|
π οΈ Technical Details
Architecture
π FastMCP Framework - High-performance MCP server
π TypeScript - Full type safety and IntelliSense
π§ Zod Validation - Runtime parameter validation
β‘ Axios HTTP Client - Reliable API communication
π SunCalc Integration - Precise astronomical calculations
Transport Options
π‘ STDIO Transport - Standard MCP protocol for desktop clients
π HTTP Stream Transport - Server-Sent Events for web integration
π Dual Mode Support - Switch between transports via command-line flags
System Requirements
Node.js 18+
NPM 8+
MCP Client (Claude Desktop, etc.)
Package Size
π¦ Bundled: 43.9 KB
π Installed: 286.2 KB
β‘ Load Time: <100ms
π Troubleshooting
Server Won't Start
API Errors
Invalid Station ID: Use
get_stationsto find valid stationsDate Format Issues: Use YYYYMMDD or MM/DD/YYYY formats
Rate Limiting: NOAA APIs have usage limits - space out requests
MCP Connection Issues
Ensure Claude Desktop MCP settings are configured correctly
Check that the server binary has execute permissions:
chmod +x dist/index.js
π Roadmap
π Real-time Alerts - Webhook support for tide/weather alerts
π± Mobile SDK - React Native integration
πΊοΈ GIS Integration - Shapefile and KML export
π€ AI Insights - Automated pattern recognition
β‘ GraphQL API - Modern query interface
π Multi-language - I18n support
π€ Contributing
We love contributions! Here's how to get started:
π΄ Fork the repository
πΏ Branch for your feature (
git checkout -b amazing-feature)π» Code your improvements
β Test with
npm testπ€ Submit a pull request
Development Commands
π License
MIT License - see LICENSE file for details.
Built with β€οΈ by Ryan Cardin
π Links & Resources
π¦ NPM Package: @ryancardin/noaa-tides-currents-mcp-server
πͺ Smithery: Auto-install for Claude Desktop
π NOAA CO-OPS: Official NOAA Data Portal
π€ MCP Protocol: Model Context Protocol Docs
β‘ FastMCP: FastMCP Framework
β Star this repo if it helped you!
Made possible by NOAA's commitment to open oceanic data π