API & MCP
Everything a person can do on Math & science, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
GET https://math.usefulweb.site/api/v1/tools– catalogGET https://math.usefulweb.site/api/v1/tools/{id}– inputs, output schema, examplesPOST https://math.usefulweb.site/api/v1/tools/{id}/calculate– run a toolGET https://math.usefulweb.site/api/v1/workflows·POST https://math.usefulweb.site/api/v1/workflows/{id}/run- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tools on Math & science
- Big-O Crossover Calculator – When does c₁·n log n beat c₂·n²? Crossover points, log-log chart and run times.
big_o_crossover_calculator - Erasure-Coding Playground – Reed–Solomon over GF(256): encode data into k + m shards, lose some, rebuild it.
erasure_coding_playground - Floating-Point Explorer – See how IEEE-754 half/single/double store a number: bits, exact value, ULP, rounding error.
floating_point_explorer - Graph Algorithm Visualizer – BFS, DFS, Dijkstra, Bellman–Ford, A*, MST, topological sort and SCCs on your edge list.
graph_algorithm_visualizer - Graphing Calculator – Plot up to 6 functions or parametric curves with roots, extrema, intersections and SVG/PNG export.
graphing_calculator - Math Workbench – Simplify, factor, differentiate, integrate, solve, take limits, series and plots in one box.
math_workbench - Matrix & Linear Algebra Lab – Exact-fraction RREF with steps, determinant, inverse, null space, eigenvalues, LU/QR and Ax = b.
matrix_linear_algebra_lab - Number-Theory Lab – Primality, factorisation, gcd, modular arithmetic, CRT, φ, π(n), Collatz, continued fractions.
number_theory_lab - Probability & Statistics Studio – Distributions, descriptive stats, confidence intervals and t, chi-square and z tests with p-values.
probability_statistics_studio - Step-by-Step Equation Solver – Solve linear, quadratic, rational and radical equations or linear systems with every step shown.
equation_solver_steps
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)
- Streamable HTTP endpoint:
https://math.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
big_o_crossover_calculator,erasure_coding_playground,floating_point_explorer,graph_algorithm_visualizer,graphing_calculator,math_workbench,matrix_linear_algebra_lab,number_theory_lab,probability_statistics_studio,equation_solver_steps - Local stdio connector:
node src/mcp-stdio.ts
{
"mcpServers": {
"usefulweb": { "type": "http", "url": "https://math.usefulweb.site/mcp" }
}
}