# Trim and Trimming Moment Calculator AI Agent Connect

> Trim and Trimming Moment Calculator MCP gives your AI client the math tools needed for naval architecture. It handles longitudinal stability calculations, predicts how weight changes affect trim, and determines the exact weight shifts required to hit target drafts. You can use it to verify your math or plan cargo movements without manual calculation errors.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_c4tV2X2YNpKOnS8GWHqmNnTH5OYU7h5bZj39SAEN/ai-agent-connect
- **Tags:** stability, trim, vessel, naval, weight-shift

## Description

You can stop manually running stability formulas. This MCP gives your AI agent the ability to perform precise naval architecture calculations for longitudinal stability. When you're managing cargo or ballast, you can use it to find your current trim based on existing drafts or predict how adding or removing weight at a specific position will change your vessel's balance. If you need to hit a specific draft, the MCP calculates the exact weight you need to move between longitudinal positions to get there. It also acts as a mathematical check, letting you reconcile trim moments to ensure your weight movements and resulting trim changes are consistent. It's a direct way to bring stability math into your existing AI-driven workflows.

## Tools

### calculate_current_trim
This tool finds your current trim and longitudinal stability state using your existing drafts.

### calculate_required_shift
Use this to find the exact amount of weight that must move between two longitudinal positions to reach a target trim.

### calculate_weight_impact
This tool calculates how adding or removing weight at a specific longitudinal position changes the vessel's trim.

### reconcile_trim_moments
This tool validates the math between a series of weight movements and the resulting change in trim.

## Prompt Examples

**Prompt:** 
```
What is the current trim if the forward draft is 4.5m and the aft draft is 5.2m?
```

**Response:** 
```
The vessel is trimmed by the stern with a trim of 0.7m.
```

**Prompt:** 
```
How much weight must I move from position 10 to position 30 to change the trim from 0 to 1 meter, given a displacement of 5000t and MCT of 1000?
```

**Response:** 
```
You must move 50t of weight from position 10 to position 30.
```

**Prompt:** 
```
If I add 100t at position 5 with an MCT of 1000 and displacement of 5000, what is the trim change?
```

**Response:** 
```
The trim will change by 0.5 meters.
```

## Capabilities

### Trim Calculation
Your agent determines the current longitudinal stability state from draft readings.

### Weight Impact Prediction
Your agent calculates how specific weight changes at certain positions affect trim.

### Target Trim Planning
Your agent calculates the exact weight shifts needed to reach a specific draft.

### Mathematical Validation
The MCP checks that weight movements and trim changes are mathematically consistent.

## Use Cases

### Cargo Loading Plans
Calculate how much weight to move to reach a specific trim before a voyage.

### Ballast Management
Predict how adding or removing ballast at specific positions will change the vessel's balance.

### Stability Verification
Check the mathematical accuracy of a series of weight movements against the resulting trim.

### Draft Monitoring
Determine the current trim state based on real-time forward and aft draft readings.

## Benefits

- Eliminates manual calculation errors in longitudinal stability math.
- Provides exact weight shift requirements for target drafts.
- Validates mathematical consistency between weight movements and trim changes.
- Integrates stability math directly into your AI-driven technical workflows.

## How It Works

You connect the MCP to your client and start asking technical questions about vessel stability.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide draft readings or weight data to your agent.
3. Your agent calls the specific calculation tool needed for the task.
4. The MCP returns the precise mathematical result to your agent.
5. Your agent presents the final calculation or plan to you.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates current vessel trim, the impact of weight changes on trim, required weight shifts for target trims, and validates trim moment consistency.

**How do I use this with Claude or Cursor?**
You connect your client to Vinkius, which hosts the MCP. Once connected, your agent can use the tools directly in your chat or code editor.

**Does this replace professional stability software?**
This MCP is a specialized tool for performing specific longitudinal stability and trim calculations within an AI workflow.

**Can I use it to plan cargo moves?**
Yes, you can use the calculate_required_shift tool to determine exactly how much weight to move to hit a specific trim.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You connect your client and start working.

**How do I calculate the current trim of my vessel?**
You can use the `calculate_current_trim` tool by providing the current forward and aft drafts.

**Can I predict the effect of adding cargo?**
Yes, the `calculate_weight_impact` tool calculates how adding or removing weight at a specific position changes the vessel's trim.

**How do I know if my weight shifts are mathematically correct?**
The `reconcile_trim_moments` tool validates the consistency between weight movements and the resulting trim change.
