Home / Servers / Calculators / quadratic_solver
Quadratic solver
An MCP tool from the Calculators server, hosted on mcp.hjlabs.in.
Solve ax² + bx + c = 0: real or complex roots, the discriminant and the vertex. Also handles the linear case a = 0.
Name on the gateway: math__quadratic_solver · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
a required | number | Coefficient of x². |
b required | number | Coefficient of x. |
c required | number | Constant term. |
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__quadratic_solver",
"arguments": {
"a": 0,
"b": 0,
"c": 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 quadratic solver tool with a set to ….