# Itemized Shared Grocery Splitter MCP for AI Agents AI Agent Connect

> Itemized Shared Grocery Splitter helps you divide grocery bills accurately among roommates or friends. Instead of just splitting the total, it calculates exactly what each person owes based on the specific items they actually took home. It handles the math of individual subtotals and then applies a fair, equal split on the tax at the end.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_lYTMibgshwc5x6Zi9Zwr0GoFEzFYbWyBDRjPNPzn/ai-agent-connect
- **Tags:** grocery, splitting, receipt, expenses, shared-costs

## Description

Imagine you just finished a big grocery run for the house. Usually, this means a messy back-and-forth in the group chat, trying to figure out who grabbed the milk versus who took the steaks. This Connector takes that headache away by letting your agent do the heavy lifting. You just provide the list of items and who ate what, and it handles the rest. It figures out the individual costs for each person's haul and then makes sure everyone pays their fair share of the tax. It's a massive time-saver for people who want to stay on good terms with their roommates without spending an hour on a spreadsheet. You can find this and thousands of other ways to connect your tools in the Vinkius catalog to make your life easier. It turns a tedious math problem into a simple, automated task that keeps your shared expenses transparent and fair. No more manual calculations or arguments over who bought the expensive snacks. You just get the final numbers, and everyone can settle up instantly.

## Tools

### get_unique_participants
Identifies every person involved in the shopping trip from your provided list. This is useful for quickly seeing who needs to be billed.

### calculate_individual_subtotals
Determines how much each person owes for their specific food items before tax is added. It helps you see the true cost of individual consumption.

### compute_final_balances
Calculates the final amount each person owes by adding an equal share of the total tax. This gives you the final number for everyone to pay.

## Prompt Examples

**Prompt:** 
```
Who participated in the trip: Milk ($4.50, Alice & Bob), Bread ($2.50, Bob)?
```

**Response:** 
```
The unique participants are Alice and Bob.
```

**Prompt:** 
```
How much does Bob owe for Milk ($4.50, Alice & Bob) and Bread ($2.50, Bob)?
```

**Response:** 
```
**Bob's subtotal is $4.75**

Here is the breakdown:
* **Milk:** $2.25 (half of the $4.50 item)
* **Bread:** $2.50 (full price)
* **Total:** $4.75
```

**Prompt:** 
```
Final balance for Chips ($3.00, Alice & Charlie) with $1.00 tax?
```

**Response:** 
```
The participants are Alice and Charlie. Each pays $0.50 in tax.

**Final Balances:**
* **Alice:** $2.00 (item share) + $0.50 (tax) = **$2.50**
* **Charlie:** $2.00 (item share) + $0.50 (tax) = **$2.50**
```

## Capabilities

### Identify every person in the trip
Automatically extracts a list of unique participants from your grocery data.

### Calculate pre-tax subtotals
Determines exactly how much each person owes for the specific items they consumed.

### Split tax equally
Distributes the total tax amount evenly across all participants.

### Generate final balances
Produces the final amount each person needs to pay after adding their share of the tax.

### Automate shared expense math
Handles the complex arithmetic of shared items and individual costs in one flow.

## Use Cases

### The Roommate Dispute
Alice and Bob share a grocery run. Alice gets milk; Bob gets bread. Use the Connector to show Bob owes exactly for the bread plus his share of tax.

### The Group Picnic
A group of 4 friends buys snacks. Some shared, some individual. Use the Connector to split the items and the tax perfectly.

### The Shared Office Kitchen
A team shares coffee and snacks. Use the Connector to track who took what and settle the weekly bill fairly.

### The Family Bulk Buy
Parents and kids share a Costco run. Use the Connector to see what the kids actually consumed versus what the parents kept.

## Benefits

- Stop guessing who owes what by using calculate_individual_subtotals to get precise costs for every person.
- Avoid tax drama by letting compute_final_balances automatically distribute the tax equally across the group.
- Save time on manual spreadsheets by letting your agent handle the entire calculation flow from start to finish.
- Keep group finances transparent by clearly identifying everyone involved with get_unique_participants.
- Reduce friction in roommate living by providing a clear, automated breakdown of shared household expenses.

## How It Works

The bottom line is that you get a clear, accurate bill for everyone involved without doing any manual math.

1. Provide a list of purchased items along with who consumed which ones.
2. Have your agent identify the participants and calculate their specific subtotals.
3. Get a final breakdown of exactly what each person needs to pay.

## Frequently Asked Questions

**How does the Itemized Shared Grocery Splitter work?**
It takes a list of items you bought and who consumed them, then calculates the individual costs and splits the tax automatically.

**Can I use the Itemized Shared Grocery Splitter for roommate bills?**
Yes, it is designed specifically for roommates who want to split shared groceries based on exactly what each person took home.

**Does the Itemized Shared Grocery Splitter handle sales tax?**
Yes, it automatically calculates an equal share of the total tax for every person involved in the shopping trip.

**How do I split a grocery bill where people only took some items?**
The Connector handles this by calculating the specific subtotal for each person's items before applying the shared tax.

**Is the Itemized Shared Grocery Splitter good for group trips?**
It is perfect for group trips or shared house hauls where you want to be precise about who owes what without doing the math yourself.

**Can my AI agent calculate the final amount my friend owes?**
Yes, your agent can use this Connector to provide a final balance for each person, including their share of the tax.

**How does the tax split work?**
The total tax amount is divided equally among all participants identified in the receipt, regardless of which items they consumed.

**What if someone didn't eat anything?**
If a person is listed in the items array but has no specific food costs, they will still be responsible for their equal share of the total tax.

**Can I use this with Cursor or Claude Desktop?**
Yes, you can connect this Connector to Cursor, VS Code, Claude Desktop, Windsurf, and any other MCP-compatible client via Vinkius Edge.