# Bearing Line Intersection Fix Calculator AI Agent Connect

> Bearing Line Intersection Fix Calculator MCP handles complex maritime positioning math. Your agent uses it to find a vessel's most probable location by calculating intersections from multiple bearing lines. You can choose between Planar, Spherical, or Geodetic models depending on the level of accuracy your specific navigation task requires.

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

## Description

You can use this MCP to solve complex maritime positioning problems through your AI client. Instead of manually calculating intersections, you give your agent the bearing lines from different observers, and it handles the geometry. You have the flexibility to switch between Planar, Spherical, or Geodetic models, which lets you decide how much precision you need for a specific calculation. It's built to handle the heavy lifting of coordinate validation and angular transformations, so you can focus on the navigation data itself. Whether you are working with relative bearings or true bearings, the math stays consistent and accurate.

## Tools

### analyze_line_intersections
This tool examines the geometric relationship between all provided bearing lines. It helps you understand how the lines interact to form a fix.

### calculate_single_fix
This tool determines the most probable vessel position based on multiple bearing lines. You can provide observer headings if you are working with relative bearings.

### convert_bearings
This tool performs angular transformations. It prepares your bearing data for accurate positioning calculations.

### validate_coordinates
This tool checks your input geographical data. It ensures all coordinates are valid before you run any calculations.

## Prompt Examples

**Prompt:** 
```
Calculate the vessel position for two observers: Observer A at 50.0N, 0.0E with a true bearing of 45 degrees, and Observer B at 50.1N, 0.1E with a true bearing of 315 degrees, using spherical geometry.
```

**Response:** 
```
The calculated vessel position is Latitude 50.0501, Longitude 0.0499.
```

**Prompt:** 
```
Convert a relative bearing of 30 degrees to a true bearing if the observer's heading is 100 degrees.
```

**Response:** 
```
The true bearing is 130 degrees.
```

**Prompt:** 
```
Check if these coordinates are valid: Latitude 95.0, Longitude 20.0.
```

**Response:** 
```
No, the coordinates are invalid because the latitude exceeds the maximum limit of 90 degrees.
```

## Capabilities

### Multi-model geometry
Your agent selects between Planar, Spherical, or Geodetic models for different accuracy needs.

### Position estimation
The MCP calculates the most likely vessel location from multiple bearing lines.

### Angular transformations
Your agent converts relative bearings into true bearings using observer headings.

### Data integrity checks
The tool validates geographical coordinates to prevent calculation errors.

### Intersection analysis
Your agent evaluates the geometric relationship between bearing lines to assess fix quality.

## Use Cases

### Vessel Position Fixing
Use multiple observer bearings to find a vessel's most probable location.

### Bearing Conversion
Transform relative bearings into true bearings using specific observer headings.

### Coordinate Validation
Check if latitude and longitude inputs fall within valid geographical limits.

### Geometric Quality Assessment
Analyze how bearing lines intersect to evaluate the quality of a position fix.

## Benefits

- Switch between three different geometric models for varying accuracy levels.
- Automate the conversion of relative bearings to true bearings.
- Verify coordinate validity before performing complex math.
- Reduce manual calculation errors by letting your agent handle the geometry.

## How It Works

You connect the MCP to your preferred client and start sending maritime data directly to your agent.

1. Connect your MCP-compatible client to Vinkius.
2. Provide your agent with observer coordinates and bearing lines.
3. Specify the desired geometry model like Spherical or Geodetic.
4. Your agent executes the calculation tools.
5. Receive the precise vessel position or transformed bearing data.

## Frequently Asked Questions

**What geometry models does this MCP support?**
The MCP supports Planar, Spherical, and Geodetic models for different levels of precision.

**Can I use relative bearings for position fixes?**
Yes. If you use relative bearings, you must provide the observer headings to the tool.

**How does the MCP handle invalid coordinates?**
The validate_coordinates tool checks inputs and will flag data that exceeds geographical limits, such as a latitude over 90 degrees.

**What clients can I use with this MCP?**
You can use any MCP-compatible client, including Claude, Cursor, Windsurf, and VS Code.

**Does this MCP host the data?**
Yes, Vinkius hosts the MCP and manages the execution, so you only need to connect your client once.

**Which geometry model should I use?**
Use Planar for very short distances, Spherical for general maritime use, and Geodetic for the highest precision accounting for Earth's ellipsoidal shape.

**How do I handle relative bearings?**
When using relative bearings, you must provide the observer's heading. The `calculate_single_fix` tool will automatically convert these to true bearings using the provided headings.

**What does a high residual mean?**
A high residual indicates that the bearing lines do not intersect at a single point, suggesting a poor fix due to measurement errors or geometry.
