Home / Servers / Calculators / tip_split

Tip split

An MCP tool from the Calculators server, hosted on mcp.hjlabs.in.

Tip and bill splitting: tip amount, total, and the per-person share for a bill, tip percentage and number of people. Optionally round each share up to the nearest whole unit.

Name on the gateway: math__tip_split · read-only.

Parameters

NameTypeDescription
bill requirednumberThe bill amount.
tip_percentnumberTip in percent. Default 15.
peopleintegerHow many are paying. Default 1.
round_upbooleanRound each share up to a whole number. Default false.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "math__tip_split",
  "arguments": {
    "bill": 0
  }
}

Or connect the Calculators server directly, which lists 28 tools including this one:

Run in your terminal
claude mcp add --transport http hj-math https://mcp.hjlabs.in/mcp/math \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the tip split tool with bill set to ….

More from Calculators