# Logistics Transshipment Cost Calculator MCP. AI Agent Connect

> Logistics Transshipment Cost Calculator MCP gives your AI agent the math needed to evaluate stock transfers. It compares transport and handling costs against the penalties of running out of stock at a destination. You can model different priority rules and check if a move is physically possible before committing to the logistics.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_guNzGeKE36mhz0v8kxDdBgVXPkQr2PHpv65R4rru/ai-agent-connect
- **Tags:** inventory, transshipment, cost-analysis, supply-chain-optimization, logistics-management

## Description

You can stop guessing if a stock transfer is worth the freight cost. This MCP gives your AI client the specific tools to run economic models on inventory movement. Instead of just looking at shipping rates, you can weigh those costs against the penalty of a stockout at the destination. 

When you're deciding whether to move units from a central hub to a retail location, you can use this MCP to run the numbers in seconds. It handles the heavy lifting of comparing transport fees, handling charges, and the cost of unmet demand. You can also test different allocation strategies to see how different priority rules change your residual inventory. It's a direct way to turn your AI agent into a logistics analyst that understands the bottom line of every move.

## Tools

### calculate_transshipment_economics
This tool runs a full financial breakdown of a proposed transfer. It determines if the move is profitable by weighing costs against avoided penalties.

### compare_allocation_strategies
This tool models how much inventory remains after a transfer. It calculates residual stock based on different supply priority rules.

### get_stockout_impact
This tool calculates the total penalty cost at a destination. It uses current inventory levels and demand to find the cost of shortages.

### validate_transfer_feasibility
This tool checks if a transfer is physically possible. It verifies if the origin location actually has enough stock to meet the request.

## Prompt Examples

**Prompt:** 
```
Is it worth moving 50 units from Warehouse A to Store B? Warehouse A has 100 units. Store B has 10 units and needs 60. Transport is $2/unit, handling is $1/unit, and the stockout penalty is $10/unit. Use 'exhaust_existing_first'.
```

**Response:** 
```
The transfer is feasible with a net benefit of $350. The total transfer cost is $150, and the avoided shortage is 50 units, saving $500 in penalties.
```

**Prompt:** 
```
Check if I can move 200 units from the main hub if I only have 150 units available.
```

**Response:** 
```
No, the transfer is not possible because the requested quantity exceeds the available origin inventory.
```

**Prompt:** 
```
What is the current stockout penalty at the destination if we have 5 units in stock and a demand of 20, with a penalty of $50 per unit?
```

**Response:** 
```
The current unmet demand is 15 units, resulting in a total penalty cost of $750.
```

## Capabilities

### Economic Modeling
Your agent calculates the net benefit of moving stock by comparing transport costs to stockout penalties.

### Feasibility Checks
The AI verifies if origin inventory can actually support a requested transfer quantity.

### Penalty Assessment
Your agent determines the financial impact of unmet demand at specific nodes.

### Strategy Comparison
The AI models how different inventory priority rules affect remaining stock levels.

## Use Cases

### Rebalancing Stock
Decide if moving units from a surplus warehouse to a high-demand store is profitable.

### Risk Assessment
Calculate the total penalty cost of current shortages at a specific location.

### Strategy Testing
Compare how different supply priority rules change your remaining inventory levels.

### Operational Validation
Confirm that a requested transfer won't exceed the available stock at the origin.

## Benefits

- Compares transport and handling costs against stockout penalties.
- Validates stock availability before planning a move.
- Models residual inventory using various priority rules.
- Quantifies the financial impact of shortages at destination nodes.

## How It Works

Connect your client to Vinkius and start running logistics math through your AI agent.

1. Connect your MCP-compatible client to Vinkius.
2. Ask your agent to evaluate a specific stock transfer or shortage.
3. The agent calls the necessary tools to calculate costs or check feasibility.
4. The agent provides a breakdown of the economic impact or physical possibility.

## Frequently Asked Questions

**What does this MCP calculate?**
It calculates the economic viability of moving inventory between nodes by comparing transport and handling costs against avoided stockout penalties.

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

**How does it handle stockout costs?**
The tool calculates the total penalty cost at a destination based on the current inventory and the specific demand at that location.

**Does it check if I actually have the stock to move?**
Yes, the validate_transfer_feasibility tool checks if the requested quantity is available at the origin.

**Can I test different inventory rules?**
Yes, you can use the compare_allocation_strategies tool to model how different supply priority rules affect residual inventory.

**How do I know if a transfer is profitable?**
You can use the `calculate_transshipment_economics` tool. It returns a `netBenefit` value which represents the avoided stockout penalty minus the total transport and handling costs.

**What happens if the origin doesn't have enough stock?**
The `validate_transfer_feasibility` tool will return `isPossible: false`, and the `calculate_transshipment_economics` tool will return `isInfeasible: true`.

**Can I compare different inventory allocation rules?**
Yes, the `compare_allocation_strategies` tool allows you to see how different rules like 'exhaust_existing_first' or 'combine_all' affect your final inventory levels.
