Home / Servers / Calculators / gcd_lcm
Gcd lcm
An MCP tool from the Calculators server, hosted on mcp.hjlabs.in.
Greatest common divisor and least common multiple of two or more whole numbers (any size), and whether they are coprime.
Name on the gateway: math__gcd_lcm · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
numbers required | array | Two or more whole numbers. |
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__gcd_lcm",
"arguments": {
"numbers": []
}
}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 gcd lcm tool with numbers set to ….