# Engine Load & Speed Interpolator AI Agent Connect

> Engine Load & Speed Interpolator MCP handles the math for maritime and industrial engine performance. It lets your AI client take raw performance tables and calculate specific values like shaft power, torque, or fuel rate at any point within the engine's operating range.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_zvBpGvxtav2omKi2qL7dnH7PtXmQg6m9IGN1EOEb/ai-agent-connect
- **Tags:** interpolation, engine, rpm, performance, maritime-engineering

## Description

You can stop manually calculating values between data points in your engine performance tables. This MCP gives your AI client the mathematical tools needed to handle complex interpolation for maritime and industrial applications. Instead of looking at a static table and guessing the values between rows, you provide the data to your agent and ask for specific metrics. 

Your agent uses these tools to find exact shaft power, torque, or fuel consumption rates based on the engine state you provide. It also helps you verify that your data is actually usable. If a table is formatted incorrectly or lacks the necessary mathematical structure for interpolation, the MCP will flag it. You can also quickly map out the entire operational envelope of an engine to see where it can and cannot run safely. It turns a static spreadsheet into a dynamic calculation engine for your engineering workflows.

## Tools

### find_closest_match
This tool locates the single operating point in your table that most closely matches your requested state.

### get_interpolated_value
Use this to calculate a specific performance metric for any engine state based on your provided data.

### get_operating_range
This tool identifies the full operational envelope defined by your performance table.

### validate_table_structure
This tool checks if your performance table is mathematically sound and safe for interpolation.

## Prompt Examples

**Prompt:** 
```
Using this table: [{"rpm": 100, "load": 50, "shaftPower": 200}, {"rpm": 200, "load": 50, "shaftPower": 400}], what is the shaftPower at 150 RPM?
```

**Response:** 
```
The interpolated shaftPower at 150 RPM is 300.
```

**Prompt:** 
```
What is the closest operating point to 120 RPM and 40 load in this table: [{"rpm": 100, "load": 40}, {"rpm": 200, "load": 40}]?
```

**Response:** 
```
The closest operating point is the row with 100 RPM and 40 load.
```

**Prompt:** 
```
Check if this table is valid: [{"rpm": 100, "load": 50}, {"rpm": 90, "load": 50}]
```

**Response:** 
```
The table is invalid because the RPM values are not strictly increasing.
```

## Capabilities

### Data Interpolation
Your agent calculates specific metrics between known data points in a table.

### Table Validation
The MCP checks your data for mathematical errors before performing calculations.

### Envelope Mapping
Your agent identifies the total operating range of an engine from a dataset.

### Point Matching
The tool finds the nearest existing data point for a given engine state.

## Use Cases

### Fuel Consumption Estimation
Calculate the expected fuel rate at a specific RPM and load not listed in the table.

### Operating Envelope Verification
Determine the limits of an engine's operational range using provided performance data.

### Data Integrity Checks
Ensure a performance table is mathematically valid before running simulations.

### Performance Mapping
Find the closest known operating point to a target engine state.

## Benefits

- Calculates values between data points without manual math.
- Prevents errors by validating table structures before use.
- Maps out the entire engine operating envelope automatically.
- Provides exact metrics for shaft power, torque, and fuel rate.

## How It Works

Connect your client to Vinkius and start feeding engine data to your agent.

1. Connect your MCP-compatible client to Vinkius.
2. Provide your engine performance table to your agent.
3. Ask your agent to validate the table structure.
4. Request specific interpolated values or operating ranges.

## Frequently Asked Questions

**What kind of data does this MCP need?**
It requires performance tables containing engine metrics like RPM, load, shaft power, or fuel rate.

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

**How does it handle invalid data?**
The validate_table_structure tool identifies if a table is mathematically unsound, such as non-increasing RPM values.

**What is the main purpose of this MCP?**
It is designed to interpolate precise engine performance metrics from provided data tables.

**Does it work for maritime applications?**
Yes, it is specifically designed for maritime and industrial engineering use cases.

**What kind of data should I provide in the performance table?**
You should provide a JSON array of objects where each object contains the `rpm`, `load`, and the specific metric you wish to interpolate, such as `shaftPower` or `fuelRate`.

**How do I ensure my table is valid for interpolation?**
Use the `validate_table_structure` tool. It checks if the RPM values are strictly increasing and if all required fields are present.

**Can I find the engine's operating limits?**
Yes, the `get_operating_range` tool identifies the minimum and maximum RPM and load values defined in your table.
