# Food Order Splitter AI Agent Connect

> Food Order Splitter MCP handles the messy math of group dining. It lets your AI client calculate exactly what each person owes, identify which items were shared, and provide a full breakdown of the total cost. Instead of manual calculations, just give your agent the order details and let it do the heavy lifting.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_6U0DwcPbuWLSGE23byDdYWKXWb6wJlSXXUprlf5F/ai-agent-connect
- **Tags:** food, dining, splitting, expenses, group

## Description

When you're out with a group, the math of splitting a bill gets complicated fast, especially when some people order shared appetizers and others stick to their own entrees. This MCP takes that headache away by giving your AI client the logic needed to process dining receipts. You can hand over a list of items and diners, and your agent will figure out the individual totals based on who ate what. It handles the distinction between personal items and shared plates, ensuring everyone pays their fair share. It also checks your data to make sure the order makes sense before it starts crunching numbers. Whether you're splitting a simple lunch or a massive dinner with multiple shared courses, this tool keeps the math honest and the process fast.

## Tools

### calculate_individual_totals
This tool finds the exact amount each person owes. It accounts for their specific orders and their portion of any shared items.

### get_group_summary
This tool provides a high-level view of the entire bill. It shows the total cost and how many people are participating in the order.

### identify_shared_items
This tool pulls out only the items intended for the whole group. It isolates shared plates from individual orders.

### validate_order_integrity
This tool checks your order data for errors. It ensures the information is logically sound before any calculations happen.

## Prompt Examples

**Prompt:** 
```
Calculate the split for this order: items are [{"name": "Pizza", "price": 20, "owner": null, "quantity": 1}, {"name": "Soda", "price": 5, "owner": "Alice", "quantity": 1}] and diners are ["Alice", "Bob"].
```

**Response:** 
```
Alice owes $12.50 and Bob owes $12.50.
```

**Prompt:** 
```
What are the shared items in this order: [{"name": "Fries", "price": 4, "owner": null, "quantity": 1}, {"name": "Burger", "price": 12, "owner": "Charlie", "quantity": 1}]?
```

**Response:** 
```
The shared item is Fries.
```

**Prompt:** 
```
Give me a summary of this order: items are [{"name": "Tacos", "price": 15, "owner": null, "quantity": 3}] and diners are ["Dave", "Eve"].
```

**Response:** 
```
The total order cost is $45, there are 2 diners, and 1 shared item.
```

## Capabilities

### Individual Debt Calculation
Your agent uses this to determine the specific dollar amount each diner needs to pay.

### Shared Item Isolation
The AI identifies which parts of the bill should be divided among the whole group.

### Order Validation
Your agent checks for logical errors in the order data to prevent math mistakes.

### Group Overview
The AI generates a summary of the total cost and participant count.

## Use Cases

### Dinner with Friends
Send your order details to your agent to quickly see how much everyone owes after sharing appetizers.

### Business Lunches
Use the tool to calculate exact employee reimbursements based on specific meal items.

### Catering Reconciliation
Verify that the total cost of a large group order matches the individual itemized breakdown.

### Expense Tracking
Let your agent summarize dining costs for a group to keep your budget logs accurate.

## Benefits

- Removes manual math errors from group billing.
- Handles the complexity of shared versus individual items automatically.
- Provides instant summaries of total group spending.
- Validates order data to ensure calculations are based on sound information.

## How It Works

Connecting this MCP to your AI client gives it the ability to process dining data immediately.

1. Connect the MCP to your preferred client like Claude or Cursor via Vinkius.
2. Provide your agent with a list of items, prices, and diners.
3. The agent uses the tools to validate the data and identify shared items.
4. Your agent calculates the final totals for every person in the group.

## Frequently Asked Questions

**How does the MCP handle shared items?**
The MCP uses the identify_shared_items tool to separate shared plates from individual orders, ensuring the cost is distributed correctly.

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

**Does it check for errors in my order list?**
Yes, the validate_order_integrity tool checks that your order data is logically sound before any math is performed.

**What information do I need to provide?**
You need to provide the item names, prices, quantities, which diners are involved, and which items are shared.

**How do I see the total cost of the whole group?**
You can ask your agent to use the get_group_summary tool to see the total cost and the number of participants.

**How does the splitting logic work?**
Individual items are assigned to specific diners, while shared items are divided equally among all participants in the group.

**Can I validate my order before splitting?**
Yes, you can use the `validate_order_integrity` tool to ensure all prices, quantities, and owners are correctly recorded.

**What happens if a diner is not in the list?**
The `calculate_individual_totals` tool will return an error if an item owner is not included in the provided list of diners.
