# Logistics Expedite Priority Calculator MCP. AI Agent Connect

> Logistics Expedite Priority Calculator MCP ranks candidate orders for expedited shipping by weighing economic impact against customer value. It calculates priority scores based on shortage quantities, margins, and penalty costs to help you minimize total business loss. Your AI client can use these tools to decide which shipments to rush and which to leave as is.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_K6kVMZNTPKfCnCQViBwKRH3ipp8Fu1QB097qs6oN/ai-agent-connect
- **Tags:** expedite, ranking, logistics, optimization, supply-chain

## Description

You shouldn't have to manually crunch numbers every time a shipment is delayed. This MCP acts as a decision engine for your supply chain operations. Instead of looking at orders in isolation, you can feed a list of delayed shipments to your AI agent and get a ranked list based on net economic benefit. It looks at the math that actually matters: how much margin you stand to lose, the cost of the penalty, and the specific priority of the customer. You can also check if you even have the physical capacity to pull an order forward before you commit to the cost. It takes the guesswork out of rush shipping by focusing on the bottom line.

## Tools

### get_customer_priority_multiplier
Retrieves the strategic weight assigned to specific customer tiers like Gold or Platinum. This helps your agent apply the right importance to different accounts.

### validate_expedite_feasibility
Checks if an order can actually be expedited based on your current capacity constraints. It prevents your agent from suggesting a rush shipment that isn't physically possible.

### rank_expedite_candidates
Processes a list of multiple orders to produce a prioritized ranking. It sorts them by their net economic benefit so you know which one to fix first.

### evaluate_single_order_impact
Calculates the specific economic impact for one individual order. Use this when you need to see the math for a single shipment without comparing it to others.

## Prompt Examples

**Prompt:** 
```
Rank these expedite candidates: [{ "orderId": "ORD-101", "shortageQuantity": 50, "margin": 500, "promiseDate": "2024-12-01", "penaltyCost": 200, "customerPriority": "Gold", "premiumFreightCost": 100 }, { "orderId": "ORD-102", "shortageQuantity": 10, "margin": 100, "promiseDate": "2024-11-25", "penaltyCost": 50, "customerPriority": "Silver", "premiumFreightCost": 30 }]
```

**Response:** 
```
[{ "orderId": "ORD-101", "score": 85.5, "expectedAvoidedCost": 700, "expediteCost": 100, "netValue": 600, "capacityConsumption": 50, "isUnrankable": false }, { "orderId": "ORD-102", "score": 25.0, "expectedAvoidedCost": 150, "expediteCost": 30, "netValue": 120, "capacityConsumption": 10, "isUnrankable": false }]
```

**Prompt:** 
```
What is the economic impact of expediting order ORD-202 with a margin of 400, penalty of 150, and freight cost of 50?
```

**Response:** 
```
{ "score": 50.0, "expectedAvoidedCost": 550, "expediteCost": 50, "netValue": 500, "capacityConsumption": 25, "isUnrankable": false }
```

**Prompt:** 
```
Check if I can expedite an order with 40 units of capacity consumption if I only have 30 units of available capacity.
```

**Response:** 
```
false
```

## Capabilities

### Economic Ranking
Your agent ranks multiple orders by their net economic benefit to prioritize high-value shipments.

### Capacity Validation
The agent checks if you have enough physical or logical capacity to handle a rush request.

### Customer Tiering
The agent pulls strategic weights for different customer levels to influence priority scores.

### Single Order Analysis
Your agent calculates the specific cost and benefit for one order at a time.

## Use Cases

### Managing Shortages
When inventory is low, use the agent to rank which customer orders to fulfill first based on margin and penalty.

### Capacity Planning
Verify if a requested rush shipment will exceed your current logistics capacity.

### Customer Tier Management
Ensure Platinum and Gold customers receive higher priority scores automatically.

### Cost-Benefit Analysis
Run a quick check on a single order to see if the cost of premium freight is worth the avoided penalty.

## Benefits

- Reduces total business loss by focusing on high-margin and high-penalty orders.
- Prevents over-committing capacity by validating feasibility before ranking.
- Standardizes how customer importance is factored into shipping decisions.
- Automates the math behind expedite decisions to save time during shortages.

## How It Works

Connect the MCP to your preferred AI client and start running calculations immediately.

1. Connect your AI client to Vinkius to access the MCP.
2. Provide your order data or customer tier info to your agent.
3. The agent calls the specific tool needed, like ranking or capacity checks.
4. You receive a prioritized list or a specific economic impact score.

## Frequently Asked Questions

**What does this MCP actually calculate?**
It calculates a priority score based on shortage quantity, order margin, penalty costs, and customer priority to minimize business loss.

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

**How does customer priority affect the results?**
The engine uses strategic weights for different customer tiers, such as Gold or Silver, to adjust the priority scores.

**Does it check if I have enough room for an order?**
Yes, the validate_expedite_feasibility tool checks if an order is physically or logically possible based on capacity.

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

**How is the priority score calculated?**
The score is derived from the net economic value, the urgency of the promise date, and the strategic multiplier assigned to the customer's tier via `get_customer_priority_multiplier`.

**What happens if an order has missing financial data?**
If critical fields like margin, penalty, or freight cost are missing, the order will be marked as unrankable using the `isUnrankable` status.

**Can I check if an expedite is physically possible?**
Yes, you can use the `validate_expedite_feasibility` tool to compare the order's capacity consumption against the available capacity for a specific logistics lane.
