Home / Servers / Calculators / percentage

Percentage

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

Percentage questions: "what is X% of Y", "X is what percent of Y", "percent change from X to Y", "Y increased/decreased by X%", and "what number is Y after an X% change".

Name on the gateway: math__percentage · read-only.

Parameters

NameTypeDescription
mode requiredpercent_of | what_percent | change | increase | decrease | originalWhich question.
x requirednumberThe percentage (or the first value for "change" and "what_percent").
y requirednumberThe base value (or the second value for "change").

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__percentage",
  "arguments": {
    "mode": "…",
    "x": 0,
    "y": 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 percentage tool with mode set to ….

More from Calculators