# Tip and Split Calculator MCP

> Tip and Split Calculator handles all restaurant payment math. Need to figure out the tip percentage, split a huge bill among your group, or just round that weird final total? This MCP does it for you. It quickly calculates tips, divides bills fairly by person, and formats totals into clean amounts (like nickels or dimes) so you can actually pay up.

## Overview
- **Category:** finance
- **Price:** Free
- **Tags:** calculator, tips, splitting, restaurant, payment

## Description

Paying the restaurant tab is always a pain. You've got the subtotal, then you gotta decide on a tip percentage. Next, if there are five people, everyone needs to know their exact split. Finally, sometimes the total comes out to something messy—like $14.37—and you need it rounded for cash or card payment. This MCP takes care of all that math. It lets your agent calculate exactly what the final bill should be after tipping. You can also send a full amount and get back each person's individual share instantly. If the number isn't clean, use this tool to round totals into practical increments like dimes or dollars. With Vinkius managing these services, you connect once and your agent handles all payment calculations without leaving your workflow.

## Tools

### calculate_tip_details
Determines the total tip amount and the grand total based on a subtotal and percentage.

### format_practical_payment
Rounds any given monetary value to clean increments like nickels, dimes, or full dollars.

### split_bill_share
Calculates the exact individual share of a group bill.

## Prompt Examples

**Prompt:** 
```
Calculate a 20% tip on a $50.00 bill.
```

**Response:** 
```
The tip amount is $10.00, and the final total is $60.00.
```

**Prompt:** 
```
Split a $120.00 bill among 4 people.
```

**Response:** 
```
Each person's share is $30.00.
```

**Prompt:** 
```
Round $14.37 to the nearest nickel.
```

**Response:** 
```
The rounded amount is $14.35.
```

## Capabilities

### Calculate final bill total
Determine the correct tip amount and grand total based on a starting subtotal and desired percentage.

### Divide shared expenses
Get an accurate, individual share of a bill when splitting costs among multiple people.

### Round payment amounts
Adjust any calculated number to the nearest nickel, dime, or dollar for easy settlement.

## Use Cases

### The group lunch bill is a mess.
Four colleagues ate dinner for $360. They need to split it equally and add an 18% tip. Asking their agent, the user inputs the total and the percentage first using `calculate_tip_details`. Then, they feed that result into `split_bill_share` to get four clean shares of $105 each.

### The receipt ends in 7 cents.
A bill comes out to $23.47, but the payment terminal only accepts rounding to nickels or dimes. The user passes this number into `format_practical_payment` and gets back a clean $23.50, which they can then use for final settlement.

### Reconciling multiple shares.
A client needs to split a complex bill involving separate items and tips across three people. The agent first calculates the total tip with `calculate_tip_details`, then uses `split_bill_share` on that grand total, ensuring all three receive their precise share.

## Benefits

- Eliminate tip calculation errors. Use `calculate_tip_details` to instantly know the final bill total, including accurate gratuity, so you never overpay or underpay.
- Fairly divide group costs. The `split_bill_share` tool calculates individual contributions even when bills are complex, ensuring everyone pays their true share.
- Handle awkward totals easily. If a number isn't clean, `format_practical_payment` rounds it to the nearest nickel or dime, making physical payment simple.
- Speed up expense reports. Instead of opening three different calculators, your agent handles tip calculation, splitting, and formatting in one go.
- Confidence when paying. You get precise numbers for tips and splits every time, giving you peace of mind at the point of sale.

## How It Works

The bottom line is, it takes messy numbers—like tips, shared costs, or awkward totals—and spits out clean, actionable figures you can use immediately.

1. Provide the starting subtotal and the tip percentage you want to include.
2. Specify the total amount that needs splitting and how many people are involved in the group.
3. Give your agent an arbitrary final number that needs rounding up or down.

## Frequently Asked Questions

**How does calculate_tip_details work for group bills?**
It first determines the total tip amount based on your subtotal and percentage. After that, you take this calculated grand total and pass it into `split_bill_share` to get individual shares.

**Can I use format_practical_payment on a raw split share?**
Yes. If the result from `split_bill_share` is $30.125, you can pass that specific number to `format_practical_payment` to clean it up for payment.

**What's the right order of operations?**
The best practice is: Tip first (`calculate_tip_details`), then split the resulting total (`split_bill_share`). Finally, format the individual shares with `format_practical_payment`.

**Does this MCP help calculate tips for large bills?**
Absolutely. You simply provide the full subtotal and the percentage you want to use in the `calculate_tip_details` tool, and it gives you the final amount.

**If I use `split_bill_share`, what happens if the number of people dividing the bill is zero or negative?**
The tool returns an error. You must specify at least one person for division, so attempting to run it with a count of zero will trigger an immediate error code from your agent.

**When using `calculate_tip_details`, can I calculate a tip if the initial subtotal is $0.00?**
Yes, you can run it on a zero subtotal. The tool will correctly report both the calculated tip amount and the final total as $0.00.

**Does `format_practical_payment` handle rounding for amounts smaller than five cents?**
No, it doesn't. This MCP rounds to nickels, dimes, or full dollars. It won't calculate fractions of a cent; the smallest increment it uses is $0.05.

**Is the tip percentage used by `calculate_tip_details` restricted to common rates like 18% or 20%?**
No, you specify your exact rate. The tool calculates the final total and tip amount using any precise percentage figure you provide.

**How do I calculate the tip?**
Use the `calculate_tip_details` tool by providing your subtotal and the desired tip percentage.

**Can I split a bill with many people?**
Yes, use `split_bill_share` and specify the total amount and the number of participants.

**What rounding levels are available?**
You can round to cents, nickels, dimes, quarters, or dollars using `format_practical_payment`.