# Logistics Carrier Scorecard Calculator MCP. AI Agent Connect

> Logistics Carrier Scorecard Calculator MCP gives your AI agent the math and logic needed to grade logistics providers. It handles weighted KPI calculations, maps service-vs-cost efficiency frontiers, and runs side-by-side carrier comparisons. You can also use it to check shipment data for missing events to ensure your analytics are based on clean records.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_6cTPsiFndLx1rGOMQq01zkMHdwDphu6yOa0ZxsaF/ai-agent-connect
- **Tags:** carrier-performance, kpi, logistics-analytics, supply-chain-optimization, carrier-scorecard

## Description

You can stop manually grading your shipping partners. This MCP acts as a specialized math engine for your supply chain data, allowing your AI client to perform complex logistics analytics that go beyond simple spreadsheets. Instead of just looking at delivery dates, you can instruct your agent to weigh on-time performance against damage rates or cost per mile to get a true picture of provider value.

Your agent can use this tool to find the sweet spot between service levels and freight spend by mapping efficiency frontiers. It also helps you catch data errors before they ruin your reports by flagging shipments that are missing critical tracking events. Whether you are comparing two different carriers for a new lane or auditing your current fleet, this MCP provides the specific tools to turn messy shipment logs into structured performance scorecards.

## Tools

### analyze_cost_service_frontier
This tool maps the relationship between service levels and costs. It helps your agent identify which carriers offer the best value for specific service requirements.

### calculate_carrier_kpis
This tool computes weighted performance metrics for specific providers. You can assign different importance to factors like on-time delivery or damage rates.

### compare_carriers
This tool performs side-by-side performance rankings. It allows your agent to rank multiple carriers against each other using the same set of criteria.

### validate_shipment_integrity
This tool checks shipment records for missing data. It flags entries that are missing required tracking events to ensure your analysis is accurate.

## Prompt Examples

**Prompt:** 
```
Calculate the performance KPIs for carrier 'CARRIER_001' using these shipment records: [{"id": "S1", "promisedDelivery": "2023-10-01", "actualDelivery": "2023-10-01", "damage": false, "claim": false, "cost": 150, "trackingEvents": ["pickup", "transit", "delivery"]}] and weights {"onTimeDelivery": 0.7, "damageRate": 0.3}.
```

**Response:** 
```
The carrier 'CARRIER_001' has a weighted score of 1.0. The On-Time Delivery rate is 100% and the Damage Rate is 0%.
```

**Prompt:** 
```
Compare the performance of 'CARRIER_A' and 'CARRIER_B' using this shipment data: [{"carrierId": "CARRIER_A", "promisedDelivery": "2023-10-01", "actualDelivery": "2023-10-01", "cost": 200}, {"carrierId": "CARRIER_B", "promisedDelivery": "2023-10-01", "actualDelivery": "2023-10-02", "cost": 150}] with weights {"onTimeDelivery": 1.0}.
```

**Response:** 
```
Carrier 'CARRIER_A' is ranked 1st with a score of 1.0, while 'CARRIER_B' is ranked 2nd with a score of 0.0.
```

**Prompt:** 
```
Check if there are any data gaps in these shipment records: [{"id": "S2", "promisedDelivery": "2023-10-01", "actualDelivery": "2023-10-01"}]
```

**Response:** 
```
The integrity score is 50%. Shipment 'S2' is flagged because it is missing required tracking events.
```

## Capabilities

### Weighted KPI Calculation
Your agent calculates custom performance scores by applying specific weights to different logistics metrics.

### Efficiency Frontier Mapping
The tool identifies the optimal balance between service quality and freight costs.

### Carrier Benchmarking
Your AI client ranks multiple providers against each other to find top performers.

### Data Integrity Auditing
The MCP scans shipment logs to find missing tracking events or incomplete records.

## Use Cases

### Carrier Selection
Compare two different carriers to see which one provides better on-time delivery for your specific cost constraints.

### Monthly Performance Reviews
Generate a weighted scorecard for every carrier in your network based on the last 30 days of shipment data.

### Data Quality Checks
Run a validation check on your shipment database to find records missing critical transit events.

### Cost Optimization
Use the efficiency frontier tool to see if you are overpaying for high-service carriers on low-priority lanes.

## Benefits

- Automates the math behind weighted carrier scoring.
- Identifies data gaps in shipment tracking logs.
- Provides direct comparisons between different shipping providers.
- Maps cost versus service levels to find the best value.

## How It Works

Connect your AI client to Vinkius and start running logistics analytics immediately.

1. Connect your preferred AI client to the Vinkius platform.
2. Provide your shipment data or carrier logs to your AI agent.
3. Instruct your agent to use the specific tools for KPIs, comparisons, or data validation.
4. Receive structured rankings, scores, or error reports directly in your chat interface.

## Frequently Asked Questions

**What kind of data does this MCP need?**
It needs shipment records that include details like promised delivery dates, actual delivery dates, costs, and tracking events.

**Can I weight my KPIs differently?**
Yes. You can tell your agent to assign specific weights to different metrics, such as prioritizing on-time delivery over cost.

**How does it help with data errors?**
The validate_shipment_integrity tool scans your records and flags any shipments that are missing necessary tracking information.

**Which AI clients can use this?**
Any MCP-compatible client like Claude, Cursor, or Windsurf can use these tools once connected via Vinkius.

**Do I need to host this myself?**
No. Vinkius hosts and manages the MCP, so it is ready to use as soon as you connect your client.

**How are carrier scores calculated?**
Scores are calculated by multiplying individual KPI values, such as On-Time Delivery or Damage Rate, by their assigned metric weights and summing the results.

**What is the cost-service frontier?**
It is a mapping that identifies efficient carriers (high service, low cost) and inefficient carriers (low service, high cost) based on performance data.

**Can I use custom weights for my KPIs?**
Yes, you can provide a custom JSON object of metric weights to the `calculate_carrier_kpis` tool to prioritize specific metrics like damage prevention or speed.
