Home / Servers / Calculators / big_arithmetic

Big arithmetic

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

Exact arithmetic on whole numbers of any size: add, subtract, multiply, divide (quotient and remainder), power and modular power. Use when numbers exceed 2^53 and floating point would round.

Name on the gateway: math__big_arithmetic · read-only.

Parameters

NameTypeDescription
a requiredstringFirst whole number, as text.
op requiredadd | subtract | multiply | divide | mod | power | powmodOperation.
b requiredstringSecond whole number.
mstringModulus, for powmod only.

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__big_arithmetic",
  "arguments": {
    "a": "…",
    "op": "…",
    "b": "…"
  }
}

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 big arithmetic tool with a set to ….

More from Calculators