API & MCP

Everything a person can do on Step-by-Step Equation Solver, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Step-by-Step Equation Solver

Shows the full working for linear and quadratic equations (factoring, completing the square or the quadratic formula), rational equations with domain restrictions, radical equations, higher polynomials and systems of 2–6 linear equations solved by Gaussian elimination with exact fractions. Every answer is checked by substitution and extraneous roots are flagged.

Inputs of Step-by-Step Equation Solver
FieldTypeDefaultDescription
equations (required)textarea—Equation(s). One equation per line. Several lines form a linear system (e.g. "2x + y = 5" and "x - y = 1").
variabletext—Solve for. Optional. Defaults to x (or the only variable). For systems: a comma-separated list of unknowns.
methodselect (auto, factoring, square, formula)"auto"Method for quadratics
searchMinnumber-100Numeric search from. Only used when no symbolic method applies (e.g. cos(x) = x).
searchMaxnumber100Numeric search to

Example request

Quadratic by completing the square

curl -X POST https://equationsolversteps.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"equations":"x^2 + 6x + 5 = 0","method":"square"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "equation-solver-steps": { "type": "http", "url": "https://equationsolversteps.usefulweb.site/mcp" }
  }
}