# ABC-XYZ Inventory Classifier MCP for AI Agents MCP

> ABC-XYZ Inventory Classifier uses multi-dimensional analysis to grade every stock keeping unit (SKU). It grades items by economic value (A, B, C) and demand predictability (X, Y, Z), giving you a complete picture of your inventory risk. You can immediately identify which parts need Just-in-Time replenishment and which ones require larger safety buffers.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Tags:** inventory, abc-analysis, xyz-analysis, supply-chain, stock-optimization

## Description

Running out of stock or holding too much capital in slow-moving items costs money. This MCP gives your AI agent the intelligence needed to stop guessing about inventory levels. It connects raw SKU data with established supply chain methods: ABC analysis determines how critical an item is by its annual consumption value, while XYZ analysis gauges how predictable its demand is based on historical sales spikes and dips. By combining these two views, you move past simple reports. Your agent can instantly use this MCP to run `classify_abc_priority` and `classify_xyz_stability` to create a full picture of your stock portfolio. The final step, using the `get_strategy_matrix`, generates concrete management policies—telling you exactly what safety stock level or ordering frequency is needed for that specific item. Through Vinkius, this MCP turns simple data points into actionable purchasing and storage rules.

## Tools

### classify_abc_priority
Assigns a value class (A, B, or C) to an SKU based on its cumulative annual consumption cost.

### get_strategy_matrix
Outputs actionable inventory policies by intersecting the ABC and XYZ classification results for optimal management.

### classify_xyz_stability
Assigns a demand stability class (X, Y, or Z) to an SKU based on its historical sales volatility.

## Prompt Examples

**Prompt:** 
```
What should my strategy be for SKU-450? It's high value, but demand is wild.
```

**Response:** 
```
**Strategy Matrix Recommendation**

*   **SKU-450 Classification:** A (High Value) / Z (Irregular Demand)
*   **Recommended Policy:** High-Value, Irregular. Requires strict control and significant safety stock buffers to prevent costly stockouts. 
*   **Action:** Review supplier lead time quarterly.
```

**Prompt:** 
```
Can you check the ABC and XYZ grades for this batch of parts?
```

**Response:** 
```
**Inventory Classification Report**

| SKU | Value Grade (ABC) | Demand Stability (XYZ) | Suggested Action |
| :--- | :--- | :--- | :--- |
| 12-Beta | A | X | JIT Replenishment |
| 34-Gamma | C | Z | Safety Stock / Promo Sale |
| 78-Delta | B | Y | Standard Ordering Cycle |

```

**Prompt:** 
```
I have a new product line. How should I grade these five SKUs?
```

**Response:** 
```
**Initial Grading Results**

*   SKU-A: Value A, Stability X (Ideal for automated JIT)
*   SKU-B: Value B, Stability Y (Standard ordering is fine)
*   SKU-C: Value C, Stability Z (Needs manual review and bulk pricing)
*   SKU-D: Value A, Stability Z (High risk; needs immediate safety stock policy review)
```

## Capabilities

### Determine economic value priority
The system classifies SKUs into A (high value), B (medium value), or C (low value) based on their total annual consumption cost.

### Assess demand stability and predictability
It rates each SKU as X (stable/predictable demand), Y (moderate variability), or Z (highly irregular demand).

### Generate combined inventory management policies
The MCP cross-references both value and stability to recommend specific operational strategies, like JIT ordering or safety stock implementation.

## Use Cases

### Planning for seasonal product lines
A retail operations manager needs to know if their holiday stock is worth the risk. They ask their agent to run an analysis, which uses `classify_xyz_stability`. The agent flags a group of popular but volatile items (like Z-rated) that need highly flexible ordering policies.

### Analyzing core product lines
A manufacturing plant manager needs to protect its most valuable parts. They run the `classify_abc_priority` tool and discover several 'A' rated components, immediately knowing which items need dedicated high-security inventory management.

### Optimizing safety stock across a warehouse
An inventory team is overwhelmed by manual calculations. They use the MCP to run `classify_abc_priority` and `classify_xyz_stability`, then feed the results into the `get_strategy_matrix` to generate precise, tailored safety stock rules for every item.

### Reducing write-offs on slow movers
A purchasing agent wants to identify goods that are both low value and have inconsistent demand. They run the full analysis via the MCP, finding a list of C-Z items that should be cleared out or sold in bulk promotions instead of being stored.

## Benefits

- Reduces overstock risk. By classifying items as low value/irregular demand (C-Z), you avoid tying up capital in goods that sit on shelves, improving cash flow.
- Improves purchasing accuracy. Use the `classify_abc_priority` tool to focus ordering efforts only on high-impact 'A' rated SKUs first.
- Reduces stockouts. The MCP identifies critical items (like A-X) that require strict control and proactive replenishment, keeping your supply line moving smoothly.
- Saves planning time. Instead of manually comparing separate ABC reports with XYZ sheets, the `get_strategy_matrix` compiles everything into one immediate plan.
- Better capital allocation. You stop treating all inventory equally; you target resources where they yield the highest return.

## How It Works

The bottom line is that instead of managing inventory based on one metric, this MCP lets you manage it based on both economic impact and demand reliability simultaneously.

1. You give your AI agent a list of SKUs along with their historical demand data and annual cost values.
2. The MCP first runs the individual classifications, determining both the ABC value priority and the XYZ stability rating for every item.
3. Finally, the system combines these two results to produce a specific management strategy matrix, detailing what actions you should take.

## Frequently Asked Questions

**How does the ABC-XYZ Inventory Classifier help me decide on optimal safety stock?**
It determines safe stock levels by combining two factors. If an item is high value (A) and has unstable demand (Z), it automatically signals a need for larger buffers to prevent costly supply chain disruptions. It gives you actionable numbers, not just letters.

**Is this tool better than using basic ABC analysis alone?**
Yes. Basic ABC only looks at value. This MCP adds the XYZ layer, which accounts for demand predictability. You might have a high-value item (A) that is actually quite stable (X), meaning you don't need to overstock it; this tool tells you that.

**Can I use the ABC-XYZ Inventory Classifier with my existing ERP data?**
Yes. You pass your raw SKU data, including cost and historical demand figures, directly into the MCP through your AI client. It processes the data according to proven industry standards, acting as an intelligent layer on top of your current system.

**What kind of items get flagged for immediate attention?**
The tool flags high-value (A) and highly volatile (Z) items. These are the riskiest SKUs because a sudden dip in predictable demand could cause massive financial loss or operational shutdown. The strategy matrix shows you exactly why.