# Pantry Expiry & Use-First Planner AI Agent Connect

> Pantry Expiry & Use-First Planner MCP tracks your kitchen inventory to prevent food waste. It identifies items nearing their expiration dates and builds meal schedules that prioritize those ingredients. Your AI client uses this data to tell you exactly what to cook before things go bad.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_erhSyXGmFtG2FIgZHeWrgN4eGj5ed9acLHQpkaza/ai-agent-connect
- **Tags:** food, inventory, meal-planning, waste-reduction, pantry

## Description

You shouldn't have to throw away expensive groceries just because you forgot they were in the back of the fridge. This MCP changes how you manage your kitchen by turning your inventory into an actionable meal plan. Instead of staring at a full pantry and wondering what to make, you can ask your AI client to look at what's about to expire and suggest a menu. It focuses on the items that need attention most, like opened containers or produce nearing its limit. You can check how many servings of an ingredient you have left, see which items are most urgent to use, or verify if you actually have the ingredients for a specific recipe before you start cooking. It's a practical way to save money and reduce waste without manual tracking.

## Tools

### get_item_availability
This tool tells you exactly how many servings of a specific ingredient remain in your inventory.

### calculate_inventory_urgency
This tool identifies which items in your pantry are most critical to use right now based on their current state.

### generate_usage_plan
This tool builds a day-by-day meal schedule designed to use up inventory before it expires.

### validate_plan_feasibility
This tool checks your proposed meal ideas against your current inventory to see if you have everything you need.

## Prompt Examples

**Prompt:** 
```
Generate a meal plan for tomorrow based on my inventory.
```

**Response:** 
```
Your meal plan for tomorrow is: Breakfast: Oats with milk; Lunch: Chicken salad; Dinner: Pasta with tomato sauce.
```

**Prompt:** 
```
How many servings of milk do I have left?
```

**Response:** 
```
You have 4 servings of milk remaining.
```

**Prompt:** 
```
Is my plan to have steak and potatoes for dinner feasible?
```

**Response:** 
```
No, you are missing: steak.
```

## Capabilities

### Waste Prevention
Your agent identifies ingredients that are about to expire so you can use them in time.

### Inventory Auditing
Your AI client checks how many servings of specific items are left in your pantry.

### Meal Validation
Your agent confirms if you have the necessary ingredients for a specific meal idea.

### Smart Scheduling
Your AI client creates daily meal plans that prioritize items with high urgency.

## Use Cases

### End-of-Week Cleanup
Ask your agent to generate a plan using only the items that are about to expire.

### Recipe Checking
Verify if you can make a specific dish before you start prepping ingredients.

### Inventory Management
Check how many servings of a staple ingredient are left to plan your next grocery run.

### Daily Meal Planning
Get a structured daily schedule that follows a logical usage order for your food.

## Benefits

- Reduces food waste by prioritizing expiring items.
- Saves money by utilizing existing inventory before buying more.
- Simplifies meal decisions by checking ingredient availability first.
- Prevents unexpected grocery trips by validating meal feasibility.

## How It Works

Connect the MCP to your preferred AI client to start managing your pantry.

1. Connect the MCP to your AI client like Claude or Cursor via Vinkius.
2. Provide your current pantry inventory data to the agent.
3. Ask your agent to check for urgent items or generate a meal plan.
4. Follow the generated schedule to use your ingredients efficiently.

## Frequently Asked Questions

**How does this MCP help reduce food waste?**
It analyzes your inventory to find items nearing expiration and builds meal plans that use those items first.

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

**Will it tell me if I'm missing ingredients for a recipe?**
Yes, you can use the validation tool to check if a specific meal plan is feasible with what you have in stock.

**How does it know which food is most urgent?**
The tool evaluates the current state of your items to determine which ones need to be used immediately.

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

**How does the tool prioritize which food to use?**
The system prioritizes items that are already opened and those with the closest expiration dates using the `calculate_inventory_urgency` logic.

**Can I check if I have enough food for my weekly plan?**
Yes, you can use the `validate_plan_feasibility` tool to check if your proposed meal plan can be completed with your current inventory.

**How do I know which items are most urgent?**
You can run `calculate_inventory_urgency` to receive a list of items with urgency scores based on their expiry proximity and open status.
