# Tidal Current Ellipse Calculator AI Agent Connect

> Tidal Current Ellipse Calculator MCP handles the heavy math of oceanographic data. It converts East and North harmonic constituents into geometric ellipse parameters, identifies rotary flow direction, and finds peak current headings. Your AI client uses these tools to transform raw tidal data into actionable elliptical models for engineering and research.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_75DwpGoJZ3hcbHJBbMgzLegZy4s1AURZs7u3yz3r/ai-agent-connect
- **Tags:** tidal, ocean, currents, ellipse, harmonic

## Description

You can stop manually calculating tidal geometry. This MCP gives your AI client the ability to process harmonic East and North current constituents to build complete elliptical models. Instead of wrestling with trigonometry, you provide the raw constituents and let your agent determine the major and minor axes, inclination, and phase. 

It goes beyond simple geometry. You can use it to isolate rotary components to see if a current is moving clockwise or counter-clockwise. If you need to know exactly when a current hits its peak or minimum speed, the tool identifies those specific directional headings. It also handles instantaneous velocity calculations, giving you the exact East and North speeds at any specific moment in the tidal cycle. This is built for oceanographers and coastal engineers who need to move from raw data to spatial models without the manual math overhead.

## Tools

### analyze_rotary_nature
This tool characterizes the circularity of tidal flow. It isolates whether the current is rotating or linear.

### calculate_ellipse_from_constituents
This tool converts East and North harmonic constituents into a full geometric ellipse description. It provides the axes, phase, and inclination.

### find_directional_extrema
This tool identifies the specific headings where current speeds reach their maximum and minimum values.

### get_current_velocity_at_time
This tool calculates the exact East and North current speeds at a specific point in the tidal cycle.

## Prompt Examples

**Prompt:** 
```
Calculate the ellipse parameters for these constituents: [{ 'eastAmplitude': 0.5, 'eastPhase': 0, 'northAmplitude': 0.5, 'northPhase': 1.57 }]
```

**Response:** 
```
The tidal current forms a circular pattern with a major axis of 0.707, a minor axis of 0.707, and a rotary component of 0.5.
```

**Prompt:** 
```
What are the maximum and minimum speed directions for these constituents: [{ 'eastAmplitude': 1.0, 'eastPhase': 0, 'northAmplitude': 0.2, 'northPhase': 0 }]
```

**Response:** 
```
The maximum speed is 1.02 at a heading of 0 degrees (North), and the minimum speed is 0.80 at a heading of 180 degrees (South).
```

**Prompt:** 
```
Is the flow rotating for these constituents: [{ 'eastAmplitude': 0.8, 'eastPhase': 0, 'northAmplitude': 0.8, 'northPhase': 1.57 }]
```

**Response:** 
```
The flow is purely rotary with a circle amplitude of 0.8 and a linear amplitude of 0.0, showing a Counter-Clockwise directionality.
```

## Capabilities

### Geometric Modeling
Your agent uses this to turn harmonic data into major and minor axes.

### Rotary Analysis
Your agent determines if a current is clockwise or counter-clockwise.

### Extrema Identification
Your agent finds the specific headings for peak and minimum flow speeds.

### Instantaneous Velocity
Your agent calculates East and North speeds at any given time.

## Use Cases

### Tidal Flow Characterization
Use the rotary analysis tool to determine if a specific location has a circular or linear tidal current.

### Infrastructure Siting
Find the directional extrema to understand the strongest current headings for placing underwater equipment.

### Real-time Velocity Modeling
Calculate specific East and North speeds at a chosen time to model current behavior.

### Geometric Data Conversion
Transform sets of harmonic constituents into usable major and minor axis parameters.

## Benefits

- Eliminates manual trigonometric calculations for tidal geometry.
- Converts raw East and North constituents into complete ellipse descriptions.
- Identifies exact headings for maximum and minimum current speeds.
- Provides instantaneous velocity at any point in the cycle.

## How It Works

You connect the MCP to your client and provide the tidal data.

1. Connect your MCP-compatible client to Vinkius.
2. Provide the East and North harmonic constituents to your AI agent.
3. Your agent calls the specific tool needed for your calculation.
4. The MCP processes the math and returns the geometric or velocity results.

## Frequently Asked Questions

**What data does this MCP need to calculate an ellipse?**
You need to provide the East and North harmonic constituents, including their amplitudes and phases.

**Can I find the direction of peak current speeds?**
Yes, the find_directional_extrema tool identifies the specific headings for both maximum and minimum speeds.

**How does the MCP handle rotary currents?**
The analyze_rotary_nature tool isolates the circularity of the flow to determine if it is rotating.

**Which AI clients can use this MCP?**
You can use this with any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**Does this tool provide instantaneous velocity?**
Yes, the get_current_velocity_at_time tool calculates the East and North speeds for a specific moment in the cycle.

**What can I calculate with this server?**
You can use `calculate_ellipse_from_constituents` to find the major and minor axes, inclination, and phase, or `find_directional_extrema` to locate peak current directions.

**How do I determine if a tidal current is rotating?**
Use the `analyze_rotary_nature` tool to isolate the circular component and determine if the flow is Clockwise, Counter-Clockwise, or None.

**Can I get the current speed at a specific time?**
Yes, the `get_current_velocity_at_time` tool allows you to sample the East and North velocities at any normalized time offset between 0 and 1.
