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
| Name | Type | Description |
|---|---|---|
mode required | percent_of | what_percent | change | increase | decrease | original | Which question. |
x required | number | The percentage (or the first value for "change" and "what_percent"). |
y required | number | The 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:
{
"name": "math__percentage",
"arguments": {
"mode": "…",
"x": 0,
"y": 0
}
}Or connect the Calculators server directly, which lists 28 tools including this one:
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 ….