# Logistics Scenario Inventory Calculator AI Agent Connect

> Logistics Scenario Inventory Calculator MCP is a deterministic simulation engine designed to model how goods flow through your supply chain. You can use it to calculate service levels, working capital, and shortage risks by simulating specific demand and supply profiles. It lets your AI client test how different variables impact your bottom line without needing manual spreadsheets.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_9vSLGfQr2vYDqp9cP3dlwgVgHWoUEHC2hmtmdYXd/ai-agent-connect
- **Tags:** inventory, supply-chain, simulation, logistics, forecasting

## Description

You can use this MCP to run precise simulations of your inventory performance. Instead of guessing how a supply delay might hit your service levels, you can model the exact impact on your working capital and stockouts. It works by simulating the flow of goods against specific demand and supply profiles you provide. You can test baseline scenarios or introduce sudden shocks to see how your current inventory strategy holds up. It's built for testing the financial trade-offs between keeping high service levels and minimizing the cost of holding excess stock. Your AI client handles the heavy lifting of the math, giving you clear metrics on shortages, excess inventory, and total economic impact.

## Tools

### apply_disruption_scenario
This tool modifies your baseline scenario to simulate sudden supply or demand shocks. It's how you test how your inventory handles unexpected disruptions.

### calculate_service_cost_impact
This tool estimates the financial trade-off between maintaining service levels and your working capital requirements. Use it to see if higher availability is worth the extra cost.

### compare_scenarios
This tool provides a side-by-side performance comparison of multiple different scenarios. It helps you pick the best strategy by looking at metrics in one view.

### run_inventory_simulation
This tool calculates core inventory metrics for a single specific scenario. It gives you the raw data on service levels and shortages for your current setup.

## Prompt Examples

**Prompt:** 
```
Calculate the inventory metrics for a scenario with a demand profile of [10, 12, 15, 10, 8], a supply profile of [20, 0, 0, 20, 0], a lead time of 1, a replenishment threshold of 5, a replenishment quantity of 20, and an initial inventory of 10.
```

**Response:** 
```
The simulation results are: endingInventory: 13, totalShortages: 0, totalExcess: 0, serviceLevel: 1.0, workingCapital: 11.6.
```

**Prompt:** 
```
What happens if I apply a demand surge of 2.0 starting at time unit 2 for a duration of 2 on my baseline scenario?
```

**Response:** 
```
The modified profiles will show an increased demand sequence for the specified duration, reflecting the surge.
```

**Prompt:** 
```
Calculate the economic impact of a simulation result with 5 units of shortage, a unit holding cost of 2.0, and a shortage penalty of 10.0.
```

**Response:** 
```
The total economic impact is 60.0, consisting of 10.0 in holding costs and 50.0 in shortage costs.
```

## Capabilities

### Deterministic Simulation
Your agent uses this to run repeatable models of inventory flow.

### Disruption Modeling
The AI applies supply or demand shocks to test your resilience.

### Financial Trade-off Analysis
Your client calculates the cost relationship between service levels and holding costs.

### Scenario Comparison
The agent compares different supply chain setups side-by-side.

### Metric Calculation
The MCP computes service levels, working capital, and shortages automatically.

## Use Cases

### Stress Testing
Model how a sudden drop in supply affects your service levels.

### Cost Optimization
Find the lowest working capital required to maintain a specific service level.

### Strategy Comparison
Compare two different replenishment policies to see which performs better.

### Impact Assessment
Calculate the total economic cost of shortages and holding costs.

## Benefits

- Replaces manual spreadsheet modeling with deterministic math.
- Quantifies the exact cost of service level changes.
- Tests supply chain resilience against sudden demand or supply shocks.
- Provides side-by-side comparisons of different inventory strategies.

## How It Works

You connect the MCP to your client and start running simulations through natural language.

1. Connect the MCP to Claude, Cursor, or your preferred client via Vinkius.
2. Provide demand, supply, and replenishment parameters to your agent.
3. Ask the agent to run a simulation or apply a disruption.
4. Review the calculated metrics like service levels and working capital.

## Frequently Asked Questions

**What kind of simulations does this MCP perform?**
It performs deterministic simulations of inventory flow based on demand and supply profiles.

**Can I test what happens during a supply shortage?**
Yes, you can use the disruption tool to apply supply shocks to your baseline scenario.

**How does it handle financial calculations?**
The MCP calculates the economic impact of shortages and the trade-offs between service levels and holding costs.

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

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use immediately.

**What metrics can I calculate?**
You can calculate ending inventory, total shortages, total excess, service level, and working capital using the `run_inventory_simulation` tool.

**How do I simulate a supply chain disruption?**
You can use the `apply_disruption_scenario` tool to modify a baseline scenario with a supply halt or a demand surge.

**Can I compare different replenishment strategies?**
Yes, by running multiple simulations and using the `compare_scenarios` tool to rank them by service level or working capital.
