# Tide Calculator AI Agent Connect

> Predict tide levels, currents, and lunar phase modifiers.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_EWkA6BjRNHMuT5xG3FWSI5XAYQHTOXEoaP2ghQz0/ai-agent-connect
- **Tags:** tides, lunar, ocean, prediction, marine

## Description

This MCP server provides deterministic tide predictions using lunar correlation and sinusoidal approximation. It allows AI agents to calculate predicted high and low tide times and heights, determine tidal current direction and speed (flood or ebb), and retrieve lunar phase modifiers to adjust tidal amplitude. Use `predict_tide_levels` to get a full schedule of tides, `predict_tidal_currents` to check water movement at a specific time, or `get_lunar_phase_modifier` to understand how the moon phase affects tidal range.

## Tools

### get_lunar_phase_modifier
Retrieves the multiplier used to scale tidal amplitude based on the moon phase for a given date

### predict_tidal_currents
Determines the direction and speed of water movement based on the tide state

### predict_tide_levels
Calculates the predicted times and heights for high and low tides for a specific date and location type

## Prompt Examples

**Prompt:** 
```
What are the predicted tide levels for 2024-05-20 with a semidiurnal pattern and a reference high tide at 08:00 with a height of 2.5m?
```

**Response:** 
```
On 2024-05-20, the predicted tides are: High at 08:00 (2.5m), Low at 14:12 (1.2m), High at 20:25 (2.4m), and Low at 02:37 (1.1m). The tidal range is 1.4m.
```

**Prompt:** 
```
Is the tide coming in or going out at 10:00 on 2024-05-20?
```

**Response:** 
```
At 10:00, the tide is ebb, moving away from the shore at a speed of 0.45 m/s.
```

**Prompt:** 
```
What is the lunar phase modifier for 2024-05-20?
```

**Response:** 
```
On 2024-05-20, the phase is Full Moon, with an amplitude multiplier of 1.1.
```

## Frequently Asked Questions

**How accurate are these tide predictions?**
Predictions use a sinusoidal approximation with a 12h 25m period and adjust for spring/neap cycles based on lunar phases.

**What tidal patterns are supported?**
The server supports semidiurnal, diurnal, and mixed tidal patterns.

**Can I find out if the current is flood or ebb?**
Yes, by using `predict_tidal_currents`, you can determine if the water is moving toward the shore (flood) or away from it (ebb).
