# Range-Bearing Position Fix Calculator AI Agent Connect

> Range-Bearing Position Fix Calculator MCP handles the heavy lifting for maritime navigational math. Your AI client can compute new vessel positions from a reference point, distance, and bearing using either plane geometry for coastal work or spherical geometry for open ocean trips. It handles the coordinate math so you don't have to.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Vp3bFVED4hzj3yfjkWL1tAHl2GKn0XM6lOyZOjBs/ai-agent-connect
- **Tags:** maritime, navigation, geometry, vessel, positioning

## Description

You can use this MCP to turn raw navigational data into actionable coordinates. Instead of manually calculating position fixes, you let your AI agent handle the geometry. You can switch between plane geometry for short-range coastal movements and spherical geometry when you're navigating the open ocean. The math stays accurate whether you're working near the shoreline or thousands of miles out at sea. It's built to handle the specific logic of maritime positioning, ensuring your agent understands the difference between a quick coastal fix and a long-range voyage. You can also verify your inputs to make sure your latitude and longitude values actually make sense before you rely on a calculation.

## Tools

### get_bearing_reciprocal
This tool finds the return heading for any given bearing.

### calculate_fix
This tool computes destination coordinates and navigational components based on a known reference point.

### get_coordinate_model_capabilities
This tool tells you the mathematical precision and limits of the available coordinate models.

### validate_navigation_inputs
This tool checks your navigational parameters to ensure they are logically sound.

## Prompt Examples

**Prompt:** 
```
Calculate the new position starting from 45.0 N, 10.0 E, moving 15 nautical miles at a true bearing of 90 degrees using the spherical model.
```

**Response:** 
```
The destination coordinates are 45.0 N, 10.25 E.
```

**Prompt:** 
```
What is the return bearing if my current bearing is 45 degrees?
```

**Response:** 
```
The reciprocal bearing is 225 degrees.
```

**Prompt:** 
```
Check if my navigation inputs are valid: Latitude 95.0, Longitude 20.0, Range 10, Bearing 45.
```

**Response:** 
```
The inputs are invalid because the latitude 95.0 is outside the valid range of -90 to 90.
```

## Capabilities

### Position Computation
Your agent calculates new coordinates from a starting point and a bearing.

### Geometry Switching
Your agent chooses between plane and spherical models based on the distance involved.

### Input Validation
Your agent checks that latitudes and longitudes fall within realistic bounds.

### Heading Reciprocals
Your agent quickly finds the opposite direction for any given heading.

### Model Precision Checks
Your agent can query the specific mathematical limits of the coordinate models.

## Use Cases

### Coastal Navigation
Use plane geometry to find a new position during short-range trips near the coast.

### Ocean Transit
Apply spherical geometry for precise long-distance positioning in open water.

### Heading Verification
Quickly find a reciprocal bearing to plan a return trip.

### Data Sanity Checks
Verify that navigational inputs like latitude are within valid ranges before processing.

## Benefits

- Reduces manual calculation errors in maritime geometry.
- Supports both coastal and open ocean mathematical models.
- Prevents invalid data entry through automated parameter checks.
- Provides instant return headings for navigation planning.

## How It Works

Connect the MCP to your client and start sending navigational data.

1. Connect your MCP-compatible client to Vinkius.
2. Provide your starting coordinates, range, and bearing to your agent.
3. Your agent selects the appropriate geometry model.
4. The MCP performs the math and returns the new coordinates.

## Frequently Asked Questions

**When should I use spherical geometry?**
Use spherical geometry for long-range calculations in the open ocean where the Earth's curvature matters.

**Can this MCP check if my coordinates are valid?**
Yes, the validate_navigation_inputs tool checks if your parameters are logically sound.

**What is a reciprocal bearing?**
It is the return direction for a given bearing, which the get_bearing_reciprocal tool calculates.

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

**Does it support coastal navigation?**
Yes, it uses plane geometry for short-range coastal navigation tasks.

**What is the difference between the plane and spherical models?**
The 'plane' model treats the Earth as flat and is best for short distances. The 'spherical' model accounts for Earth's curvature and is recommended for long-range navigation.

**How can I verify my calculation is accurate?**
The `calculate_fix` tool provides an 'inverseCheckDistance' and 'inverseCheckBearing' which allow you to verify that the path back to the origin is mathematically consistent.

**Can I use relative bearings?**
Yes, by using the 'relative' bearing convention and providing the current vessel heading, the tool will calculate the true bearing automatically.
