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

NameTypeDescription
a requirednumberCoefficient of x².
b requirednumberCoefficient of x.
c requirednumberConstant 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:

call_tool arguments
{
  "name": "math__quadratic_solver",
  "arguments": {
    "a": 0,
    "b": 0,
    "c": 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 quadratic solver tool with a set to ….

More from Calculators