# Along-Track Position Projector for navigation. AI Agent Connect

> Along-Track Position Projector gives your AI client the math needed for maritime and aviation navigation. It projects coordinates onto planned paths using geodesic, rhumb-line, or planar models. Your agent can then calculate how much of a route is finished, the distance remaining, and specific segment metrics like bearing.

## Overview
- **Category:** maritime
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_vdRdbTMGB7JBgQ7hXLZy52eZR2NfZQOVRh2aXvN1/ai-agent-connect
- **Tags:** geodesic, rhumb-line, vessel-tracking, navigation-math, route-projection

## Description

You can use this MCP to handle the heavy lifting of geometric projection for maritime or aviation routes. Instead of manually calculating where a vessel sits relative to a path, you let your AI client do the math. You can choose the geodesic model for high-accuracy long-distance legs, the rhumb-line model for constant-bearing navigation, or the planar model for quick, localized flat-surface math. Once the position is projected, your agent knows exactly how much of the segment is completed and how much distance remains. It provides the specific bearing and total length of segments, making it a precise tool for tracking progress along a defined course.

## Tools

### calculate_segment_metrics
This tool provides the geometric properties of a route segment. It returns data like length and bearing without needing to project a vessel onto the path.

### get_model_capabilities
This tool lists the available mathematical models. Use it to see which projection method fits your specific navigation scenario.

### project_position_on_route
This tool projects a specific coordinate onto a route segment. You select the mathematical model to determine how the position is mapped to the path.

### validate_route_integrity
This tool checks if a route segment is mathematically valid. It ensures the segment can be used for projection before you run calculations.

## Prompt Examples

**Prompt:** 
```
Project the position of a vessel at 45.0, -125.0 onto a route from 44.0, -126.0 to 46.0, -124.0 using the geodesic model.
```

**Response:** 
```
The vessel is projected to latitude 45.0, longitude -125.0. It has completed 50% of the segment, with 125.4 km remaining.
```

**Prompt:** 
```
What are the available geometry models for projection?
```

**Response:** 
```
The available models are geodesic, rhumb_line, and planar.
```

**Prompt:** 
```
Calculate the distance and bearing for a segment from 10.0, 10.0 to 10.1, 10.1 using the planar model.
```

**Response:** 
```
The segment has a total distance of 1.57 km and a bearing of 45.0 degrees.
```

## Capabilities

### Coordinate Projection
Your agent maps specific vessel or aircraft coordinates onto a defined route segment.

### Mathematical Modeling
The MCP switches between geodesic, rhumb-line, and planar math based on your needs.

### Progress Tracking
The tool calculates the fraction of a segment traveled and the distance left to go.

### Segment Analysis
Your AI client gets the bearing and total length for any given route segment.

### Route Validation
Your agent verifies that a route segment is mathematically sound for projection tasks.

## Use Cases

### Long-Distance Vessel Tracking
Use the geodesic model to project a ship's position onto a transoceanic route.

### Constant Bearing Navigation
Apply the rhumb-line model to track movement along a path with a steady bearing.

### Local Area Maneuvering
Use the planar model for quick calculations in localized, flat-surface environments.

### Route Integrity Checks
Verify that a planned path is mathematically valid before attempting to project positions onto it.

## Benefits

- Uses three distinct mathematical models for different distance requirements.
- Calculates traveled fractions and remaining distances automatically.
- Provides segment-specific bearing and length data.
- Validates route segments to prevent calculation errors.

## How It Works

Connecting this MCP to your client gives your agent immediate access to navigation math.

1. Connect your MCP-compatible client to Vinkius.
2. Provide the vessel coordinates and the route segment to your agent.
3. Select the appropriate mathematical model like geodesic or planar.
4. Your agent executes the projection and returns the distance, bearing, and progress metrics.

## Frequently Asked Questions

**What mathematical models does this MCP support?**
It supports three models: geodesic for high-accuracy long distances, rhumb_line for constant-bearing paths, and planar for local flat-surface math.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client including Claude, Cursor, Windsurf, and VS Code.

**How does it calculate progress along a route?**
The tool projects the position onto the segment and then calculates the traveled fraction and the remaining distance.

**Does it provide bearing information?**
Yes, the tool provides the bearing and the total length for the route segments.

**How do I know if a route is valid for projection?**
You can use the validate_route_integrity tool to check if a segment is mathematically valid for projection.

**Which geometry model should I use for long-distance ocean transit?**
For long-distance transit, use the `geodesic` model. It accounts for the Earth's curvature to provide the most accurate shortest-path calculations.

**Can I verify if a route segment is valid before projecting?**
Yes, you can use the `validate_route_integrity` tool to check if a segment between two points is mathematically valid for projection.

**How do I get the bearing of a specific route?**
You can use the `calculate_segment_metrics` tool to retrieve the bearing and total distance of any defined route segment.
