Deterministic Fair-Share Tip Splitter

Deterministic Fair-Share Tip Splitter MCP Connector for Claude

A+

Transform your AI into a hyper-precise ledger. Mathematically split complex restaurant bills, proportionally distribute taxes and tips, and resolve fractional penny discrepancies instantly.

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Splitting a restaurant bill with shared appetizers, individual drinks, and group tips is a mathematical nightmare for LLMs. They frequently hallucinate decimal distributions and fail to balance the final grand total. The Tip Splitter MCP offloads this exact calculation to a rigorous V8 mathematical engine.

The Superpowers

  • Proportional Taxation & Tipping: The engine automatically calculates each person's base subtotal based on the specific items they consumed (or shared), and then proportionally applies the exact tax and tip burden to each individual.
  • Penny Reconciliation Algorithm: When fractional cents create a discrepancy between the calculated individual totals and the actual receipt grand total, the engine automatically reconciles the missing or extra penny to guarantee 100% mathematical closure.
  • Shared Consumption Mapping: Allows mapping a single item (like 'Nachos') to multiple consumers (e.g., 'Alice' and 'Bob'). The engine dynamically splits the price before applying secondary rates.
  • Zero-Dependency Execution: Operates entirely natively within the V8 runtime, guaranteeing extreme speed and precision without pulling heavy external libraries.
math-precisionbillingtax-calculationledgerfinancial-tools

1 tools expose this connector's capabilities to your AI agent.

split_bill

You must provide the items as a stringified JSON array, along with the total taxAmount and tipPercentage. Deterministically calculates individual bill shares, proportionally distributing taxes and tips among consumers based on their exact items, and resolving rounding discrepancies

See how to talk to your AI agent using Deterministic Fair-Share Tip Splitter.

Split this bill: Burger ($15) for Alice, Salad ($12) for Bob, and shared Nachos ($10) for both. Tax is $3.50 and tip is 20%.

Using the split_bill tool: The grand total is $47.90. Alice owes $25.89 (base: $20.00) and Bob owes $22.01 (base: $17.00).

Three of us had a $90 steak dinner (all shared). Tax $8, tip 15%. How much each?

Using the split_bill tool: The grand total is $111.50. Thanks to the Penny Reconciliation Algorithm, Person 1 pays $37.16, while Person 2 and Person 3 pay $37.17 each to exactly cover the bill.

Calculate the fair split for a $45 bill where John had a $30 wine and Sarah had a $15 pasta. Tax $4, tip 18%.

Using the split_bill tool: Since John's base item was 66.6% of the bill, he correctly absorbs 66.6% of the tax and tip burden. John owes $38.07, and Sarah owes $19.03. Grand total: $57.10.

The agent passes an array of 'consumers' for each item. If 'Nachos' ($15) has consumers ['John', 'Jane'], the engine automatically divides the base cost ($7.50 each) before proportionally applying their individual tax and tip burden.

Related Connectors