# Speed Made Good Calculator AI Agent Connect

> Speed Made Good Calculator MCP gives your AI agent the math needed for maritime navigation. It handles movement vectors, environmental set and drift, and voyage efficiency analysis. Instead of manual calculations, your agent uses these tools to determine how environmental factors impact a vessel's actual path over ground.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_rnGL5iM3SIe1PoHPp2o4BRpPvwPEZv7b51t7CWWn/ai-agent-connect
- **Tags:** maritime, navigation, smg, cmg, voyage-analysis

## Description

You can now give your AI client the ability to perform complex maritime navigation math. This MCP provides the specific tools needed to translate raw coordinates and timestamps into actionable navigational data. You can use it to find out exactly how much a vessel is being pushed off course by environmental forces or to check if a ship is actually meeting its operational goals. 

When you provide your agent with position data, it can determine the Speed Made Good (SMG) and Course Made Good (CMG) between two points. It also lets your agent compare movement over ground against movement through the water to isolate set and drift. If you need to know how well a voyage is performing, the MCP evaluates the deviation between the intended plan and the actual path taken. It's a direct way to bring nautical physics into your AI-driven workflows.

## Tools

### analyze_voyage_efficiency
This tool checks if a vessel is meeting its specific operational goals. It compares the actual path to the intended plan.

### calculate_navigation_vectors
This tool calculates fundamental movement vectors like SMG and CMG. It works between two specific points in time.

### compare_ground_vs_water
This tool compares movement over ground with movement through the water. It helps identify environmental set and drift.

### get_position_metadata
This tool provides geographic context for the specific segment you are analyzing.

## Prompt Examples

**Prompt:** 
```
Calculate the movement vectors between (45.0, -125.0) and (45.1, -124.9) from timestamp 1704067200 to 1704070800.
```

**Response:** 
```
The vessel traveled 12.4 nautical miles over 3600 seconds, resulting in a Speed Made Good (SMG) of 12.4 knots and a Course Made Good (CMG) of 45.0 degrees.
```

**Prompt:** 
```
Compare a ground vector of { "smg": 10.0, "cmg": 90.0 } with an STW of 12.0 knots and CTW of 85.0 degrees.
```

**Response:** 
```
The speed difference is 20.0%, the course difference is 5.0 degrees, with a set of 112.5 degrees and a drift of 2.2 knots.
```

**Prompt:** 
```
Check the efficiency of a voyage with a ground vector of { "smg": 15.0, "cmg": 180.0 } against a target speed of 14.0 knots and target course of 185.0 degrees.
```

**Response:** 
```
The voyage achieved an efficiency score of 0.92, with a speed deviation of 1.0 knot and a course deviation of 5.0 degrees.
```

## Capabilities

### Vector Calculation
Your agent calculates SMG and CMG between two time-stamped coordinates.

### Environmental Analysis
Your agent compares ground movement to water movement to find set and drift.

### Efficiency Auditing
Your agent evaluates how closely a vessel follows its intended voyage plan.

### Geographic Context
Your agent pulls metadata for specific segments of a voyage.

## Use Cases

### Drift Analysis
Your agent compares ground movement to water movement to see how much current is pushing the ship.

### Voyage Auditing
You check if a vessel is actually meeting its speed and course targets for a specific trip.

### Route Verification
Your agent calculates the actual SMG and CMG to verify the vessel's progress between two points.

### Operational Reporting
You generate efficiency scores based on the deviation from the planned voyage.

## Benefits

- Replaces manual vector math with direct tool calls.
- Isolates environmental set and drift from vessel movement.
- Quantifies voyage efficiency against target parameters.
- Provides geographic context for specific voyage segments.

## How It Works

Connecting this MCP to your AI client gives it immediate access to maritime math tools.

1. Connect your AI client to Vinkius.
2. The Speed Made Good Calculator MCP becomes available in your client.
3. Provide your agent with coordinates, timestamps, or vector data.
4. Your agent calls the necessary tool to perform the calculation.
5. Your agent receives the results like SMG, CMG, or efficiency scores.

## Frequently Asked Questions

**What is SMG and CMG?**
SMG stands for Speed Made Good and CMG stands for Course Made Good. These represent the actual movement of a vessel over the ground.

**How does this MCP help with environmental analysis?**
It uses the compare_ground_vs_water tool to find the difference between movement over ground and movement through the water, which identifies set and drift.

**Can I use this with Claude or Cursor?**
Yes. This MCP works with any MCP-compatible client including Claude, Cursor, and Windsurf.

**Does this MCP require any setup?**
No. Vinkius hosts the MCP, so you connect your client and start using the tools immediately.

**What kind of data does your agent need for vector calculations?**
Your agent needs specific coordinates and timestamps to calculate the movement vectors between two points.

**How do I calculate the difference between my intended course and actual movement?**
You can use the `compare_ground_vs_water` tool. Provide the ground vector from `calculate_navigation_vectors` along with your Speed Through Water (STW) and Course Through Water (CTW) to determine the set and drift.

**What is the difference between SMG and STW?**
Speed Made Good (SMG) is your actual speed relative to the seabed, while Speed Through Water (STW) is your speed relative to the water around you. The difference is caused by environmental factors like current.

**Can I evaluate if my vessel is following its planned route?**
Yes, the `analyze_voyage_efficiency` tool compares your actual ground vector against your target speed and course to provide an efficiency score.
