# Cargo Center of Gravity Calculator AI Agent Connect

> Cargo Center of Gravity Calculator MCP handles the heavy math for naval architecture. It lets your AI agent aggregate data from lightship, cargo, ballast, and stores to find the unified longitudinal, transverse, and vertical Center of Gravity. You can verify mass totals, check if cargo positions fit within the hull, and inspect individual weight contributions without manual calculation errors.

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

## Description

This MCP gives your AI agent the math required for naval architecture and vessel stability management. Instead of you manually summing up weights and moments, your agent uses these tools to pull data from cargo, ballast, stores, and lightship to build a complete stability profile. You can quickly find the unified Center of Gravity across all three axes: longitudinal, transverse, and vertical.

It's built for accuracy. Your agent can check if a specific cargo placement is physically possible within the hull dimensions or if it exceeds the beam. If the total mass doesn't look right, the MCP can reconcile discrepancies to ensure the sum of all parts matches the total weight. This keeps your stability calculations grounded in physical reality, making it a reliable partner for cargo planning and stability monitoring.

## Tools

### calculate_vessel_stability_profile
This tool calculates the unified Center of Gravity across longitudinal, transverse, and vertical axes. It aggregates data from all vessel components to create a complete stability profile.

### get_cargo_summary
This tool provides a breakdown of individual cargo items. It lets your agent inspect how each specific piece of cargo contributes to the total weight.

### reconcile_weight_discrepancy
This tool verifies that the total mass of the vessel matches the sum of its individual components. It helps catch errors in weight reporting.

### validate_coordinate_bounds
This tool checks if a cargo item's position is physically possible within the vessel's hull. It flags items that exceed the beam or other structural limits.

## Prompt Examples

**Prompt:** 
```
What is the current combined center of gravity for the vessel including ballast?
```

**Response:** 
```
The combined weight is 15,000 tons with a Longitudinal CoG of 45.2m, Transverse CoG of 0.5m, and Vertical CoG of 8.4m.
```

**Prompt:** 
```
Show me the breakdown of all cargo items.
```

**Response:** 
```
The cargo includes 3 items: Item_001 (500t), Item_002 (1200t), and Item_003 (800t), totaling 2,500t.
```

**Prompt:** 
```
Is a cargo item with LCG 150, TCG 12, and VCG 5 valid?
```

**Response:** 
```
No, the transverse position exceeds the vessel beam.
```

## Capabilities

### Multi-axial CoG Calculation
Your agent calculates longitudinal, transverse, and vertical center of gravity points.

### Cargo Position Validation
Your agent checks if cargo coordinates stay within the physical limits of the hull.

### Weight Reconciliation
Your agent verifies that the total vessel mass matches the sum of cargo, ballast, and stores.

### Cargo Item Inspection
Your agent pulls summaries of individual cargo weights and their contributions.

## Use Cases

### Pre-loading Stability Checks
Your agent validates that a proposed cargo plan won't push the CoG outside of safe limits.

### Weight Audit
Your agent reconciles total vessel weight against individual component data to find missing mass.

### Cargo Placement Verification
Your agent checks if specific item coordinates fit within the vessel's beam and hull constraints.

### Stability Profiling
Your agent generates a full stability profile by combining cargo, ballast, and stores data.

## Benefits

- Reduces manual math errors in multi-axial CoG calculations.
- Flags impossible cargo placements before they are finalized.
- Automates the aggregation of lightship, cargo, and ballast data.
- Ensures total mass consistency through automated reconciliation.

## How It Works

Connect your AI client to Vinkius to start running stability calculations immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your agent with vessel weight and coordinate data.
3. Your agent invokes the necessary tools to calculate or validate data.
4. Receive precise stability profiles or error flags directly in your chat interface.

## Frequently Asked Questions

**What axes does the CoG calculation cover?**
The MCP calculates the longitudinal, transverse, and vertical Center of Gravity.

**Can this MCP check if cargo fits in the ship?**
Yes, the validate_coordinate_bounds tool checks if item positions are within the physical bounds of the hull.

**What data is used for the stability profile?**
The calculation aggregates data from lightship, cargo, ballast, and stores.

**How does it handle weight errors?**
The reconcile_weight_discrepancy tool verifies that the total mass matches the sum of its individual parts.

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

**How do I calculate the total vessel stability?**
You can use the `calculate_vessel_stability_profile` tool to compute the combined weight and the longitudinal, transverse, and vertical center of gravity.

**Can I check if a cargo item is placed correctly within the ship?**
Yes, use the `validate_coordinate_bounds` tool to verify if the provided coordinates fall within the physical dimensions of the vessel.

**How can I verify if my total weight calculation is accurate?**
Use the `reconcile_weight_discrepancy` tool to compare the sum of individual item records against the expected total mass.
