unsolve — Math, solved. Step by step.
unsolve is a free, deterministic math and physics engine: a web playground and a remote MCP server. The same TypeScript engine that powers this site also serves AI agents over the Model Context Protocol — no API key, no LLM, no network calls once the page loads.
Solve math in your browser
Open the playground at unsolve.org/#playground and type a problem as a command, or just enter an expression. LaTeX input is accepted ($\frac{1}{2}$, \sqrt{x}, \sin(\pi/4)).
- diff <expr> — symbolic derivative with step-by-step rules; diff ... at p evaluates it at a point
- integrate <expr> — antiderivative + C; integrate ... from a to b for numeric definite integrals
- solve <equation> — exact linear and quadratic roots (complex included), rational roots for higher degrees, numeric root finding
- limit <expr> at p — limits via L'Hôpital's rule, including at ±∞
- taylor <expr> — Taylor series expansion up to 12 terms
- expand <expr> — polynomial expansion; apart <expr> — partial fractions
- poly-roots <coeffs> — all real and complex roots (Durand–Kerner)
- det / inv / transpose / linsolve / trace / eigen — exact matrix operations on [a, b; c, d] literals, incl. linear systems
- gcd, lcm, factor, is-prime, fib, binom — number theory with exact big integers
- stats ... — descriptive statistics; <expr> — exact evaluation (1/2 + 3/4 = 5/4)
Worked examples — classic math and physics
Browse step-by-step solutions for textbook problems: quadratic discriminant, chain rule, arctan integral, lim sin(x)/x, Newton's second law, Ohm's law, free-fall kinematics, and more. Open unsolve.org/#examples.
Physics library — 51 standard formulas
The engine ships a physics layer: give it the known values and it
isolates the unknown — symbolically or numerically — with unit-aware
inputs and SI results. Values may carry units
(20km/h, 9.8m/s^2, 2min).
Examples: physics newton-second m=10 F=50 →
a = 5 m/s^2;
physics ohm for R V=12 I=2 → R = 6 ohm;
physics kinematic-vat u=0 a=9.8 t=2 →
v = 19.6 m/s.
Mechanics (28)
newton-second— Newton's second lawnewton-first— Newton's first lawnewton-third— Newton's third lawmomentum— Linear momentumimpulse— Impulseweight— Weightkinematic-vat— Kinematics (v, a, t)kinematic-v2— Kinematics (v² = u² + 2as)kinematic-sut— Kinematics (s, u, t)kinematic-st— Kinematics (average speed)projectile-range— Projectile rangeprojectile-height— Projectile maximum heightgravitation— Newton's law of gravitationkepler-period— Kepler's third lawwork— Work done by a constant forcepower— Powerkinetic-energy— Kinetic energypotential-energy— Gravitational potential energyelastic-energy— Elastic potential energytotal-energy— Total mechanical energyhooke— Hooke's lawcentripetal— Centripetal forcependulum-period— Simple pendulum periodtorque— Torqueangular-momentum— Angular momentumdensity— Densitypressure— Pressurebuoyancy— Buoyant force
Electricity & Magnetism (8)
ohm— Ohm's lawelectric-power— Electrical powercoulomb— Coulomb's lawelectric-field— Electric field strengthcapacitance— Capacitancecapacitor-energy— Energy stored in a capacitormagnetic-force— Force on a current-carrying wiremagnetic-flux— Magnetic flux
Waves & Optics (8)
wave-speed— Wave speedwave-period— Wave periodrefractive-index— Refractive indexsnell— Snell's lawthin-lens— Thin lens equationmagnification— Magnificationphoton-energy— Photon energyde-broglie— de Broglie wavelength
Thermodynamics (5)
ideal-gas— Ideal gas lawheat— Specific heat capacityfirst-law— First law of thermodynamicsefficiency— Efficiencylatent-heat— Latent heat
Modern Physics (2)
mass-energy— Mass–energy equivalencetime-dilation— Time dilation
Free math MCP server for AI agents
Point any MCP client (Cursor, Claude Desktop, Claude Code, Windsurf) at
https://unsolve.org/api/mcp —
Streamable HTTP, stateless, no authentication. Fourteen tools are
available:
evaluate, differentiate, integrate,
solve, limit, apart, poly-roots,
matrix, number-theory, stats,
simplify, taylor, minimize and
physics.
Every result returns structured JSON with plain-text output, LaTeX, and
step-by-step working, ready to drop into agent context. Rate limit:
60 requests per minute per IP.
Frequently asked questions
What is unsolve?
A deterministic math engine with a browser playground and a remote MCP server — one engine, no API key, no usage cost.
Does unsolve use an LLM?
No. Results are computed by a symbolic engine — same input, same output, every time.
What can it solve?
Derivatives, integrals, equations up to arbitrary degree, limits, Taylor series, exact matrices, number theory and descriptive statistics, with LaTeX input.
Does it do physics?
Yes — 51 standard formulas across mechanics, electricity & magnetism, waves & optics, thermodynamics and modern physics, with unit-aware inputs, SI results, and optional in <unit> for the answer.
Can I share a problem?
Yes — use copy link on a result, or open /?q=…#playground. The features section also has try-links into the playground.
Does it work offline?
The playground can be installed as a PWA and keeps solving locally once loaded. History stays in your browser. The remote MCP endpoint still needs a network.
How accurate are the results?
Rational inputs use exact fraction arithmetic; derivatives and antiderivatives are symbolic; numeric roots converge to about 1e-12.
How do I add it to my MCP client?
Add https://unsolve.org/api/mcp to your client's MCP config. Works with Cursor, Claude Desktop, Claude Code, and Windsurf.
Where did the engine come from?
The symbolic core was ported to TypeScript from mathr, a pure-Rust mathematics library. unsolve adds the physics layer, the MCP surface and the browser UI on top of it.
Is there a newsletter?
Yes — subscribe at the bottom of the site for weekly notes on engine updates, new physics formulas, and MCP tips. One email a week; no spam.
Where can I see worked examples?
Open the Examples section for classic math and physics — quadratic discriminant, chain rule, lim sin(x)/x, F = ma, Ohm's law, and more — each with the engine's real step-by-step working.