# Radar Plot Motion Solver AI Agent Connect

> Radar Plot Motion Solver MCP provides specialized maritime navigation tools to determine a target vessel's true motion. By processing sequential radar observations like range and bearing alongside your own vessel's movement, your AI client can solve for a target's true course and speed using mathematical models.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_n1NpwMva7FF0HJrovtqR3L0G7rTRUpAvXUHSQdIk/ai-agent-connect
- **Tags:** radar, maritime, navigation, motion-solver, vessel-tracking

## Description

You can use this MCP to handle the heavy lifting of maritime target tracking. Instead of manually calculating vectors, you feed your radar data into your AI client and let it solve the motion equations for you. It works by taking a series of range and bearing observations and factoring in your own vessel's course and speed to isolate the target's actual movement. 

You can use it to find the relative movement between two points or to check if a specific course and speed actually matches the radar data you've collected. It's built for situations where you need to move from raw sensor readings to actionable intelligence about a nearby vessel's true course and speed. Whether you are verifying a proposed solution or pulling metadata for specific mathematical models, this MCP gives your agent the math it needs to navigate safely.

## Tools

### calculate_relative_vectors
This tool determines the relative movement between successive radar observations. It calculates the specific vectors between two points in time.

### get_motion_model_metadata
This tool retrieves descriptions and valid identifiers for the available mathematical models used to solve motion.

### solve_target_motion
This tool calculates a target's true course and speed. It uses a series of radar observations and your own vessel's movement to find the answer.

### validate_motion_fit
This tool evaluates how well a proposed motion solution matches your original radar data. It checks the quality of the fit against the raw observations.

## Prompt Examples

**Prompt:** 
```
Calculate the target motion for these observations: [{'timestamp': 100, 'range': 5000, 'bearing': 45}, {'timestamp': 200, 'range': 4500, 'bearing': 48}] with own-vessel course 0 and speed 10.
```

**Response:** 
```
The target's true course is 352 degrees and the true speed is 12.5 knots.
```

**Prompt:** 
```
What are the relative vectors for these radar points: [{'timestamp': 10, 'range': 1000, 'bearing': 10}, {'timestamp': 20, 'range': 1100, 'bearing': 15}]?
```

**Response:** 
```
The relative movement between the two points shows a delta range of 100 units and a delta bearing of 5 degrees over 10 seconds.
```

**Prompt:** 
```
Check if a course of 90 and speed of 15 fits these observations: [{'timestamp': 1, 'range': 100, 'bearing': 90}, {'timestamp': 2, 'range': 110, 'bearing': 90}] with own-vessel course 0 and speed 0.
```

**Response:** 
```
The motion fit has a mean squared error of 0.05, indicating a very high-quality match for the proposed course and speed.
```

## Capabilities

### Target Motion Calculation
Your agent uses this to find the true course and speed of a vessel.

### Relative Vector Analysis
Your agent uses this to find the change in range and bearing between two radar hits.

### Solution Validation
Your agent uses this to confirm if a calculated motion matches the actual radar data.

### Model Selection
Your agent uses this to identify which mathematical models are available for solving motion.

## Use Cases

### Target Tracking
Calculate the true course of a nearby vessel using a series of radar hits.

### Collision Avoidance
Determine the relative movement between your vessel and a target to assess risk.

### Data Verification
Check if a suspected target course matches the actual radar observations recorded.

### Navigation Planning
Use relative vectors to understand how a target is moving in relation to your own path.

## Benefits

- Converts raw range and bearing data into true course and speed.
- Reduces manual math by using mathematical models to solve motion.
- Validates motion accuracy using mean squared error against original data.
- Provides relative movement vectors between sequential observations.

## How It Works

Connect your client to Vinkius and start sending radar data to your agent.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your radar observations and own-vessel movement to your agent.
3. Your agent calls the motion solving tools to process the data.
4. Your agent returns the true course, speed, or relative vectors.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates a target's true course and speed, relative vectors between observations, and the quality of motion fits.

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

**How do I verify a motion solution?**
Use the validate_motion_fit tool to compare a proposed solution against your original radar data.

**Does this require manual math input?**
No, the MCP uses mathematical models to solve for motion based on the observations you provide.

**What data is needed for target motion?**
You need sequential radar observations including range and bearing, along with your own vessel's course and speed.

**What mathematical models are supported?**
The server supports Linear, Constant Bearing/Constant Speed (CBCS), and Curvilinear models. You can use `get_motion_model_metadata` to see all available identifiers.

**How do I ensure my motion solution is accurate?**
You can use the `validate_motion_fit` tool to compare a proposed course and speed against the original radar data to check the mean squared error and residuals.

**What input format is required for radar observations?**
Observations must be provided as a JSON string array of objects, where each object contains a `timestamp`, `range`, and `bearing`.
