API & MCP

Everything a person can do on Maths Worksheet Maker (Variants A/B/C with Answers), a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Maths Worksheet Maker (Variants A/B/C with Answers)

Make maths worksheets for the classroom or home: times tables, column addition and subtraction with or without carrying, long multiplication, division with or without remainders, fractions, or a mix of facts. Up to six variants (A to F) give neighbours different problems of the same difficulty, each with its answer key.

Inputs of Maths Worksheet Maker (Variants A/B/C with Answers)
FieldTypeDefaultDescription
kindselect (times, add, sub, mul, div, fractions, mixed)"times"Exercises
countinteger30Problems per variant
variantsinteger3Variants (A, B, C …)
tablestext"2-10"Times tables. For times tables and mixed facts, e.g. 2-10 or 3, 4, 7.
maxFactorinteger10Largest factor
digitsinteger3Digits per number (column sums, multiplication)
regroupbooleantrueCarrying and borrowing
digits2integer1Digits of the second number (multiplication, division)
remainderbooleanfalseDivision with remainders
maxDenominatorinteger10Largest denominator (fractions)
fractionOpsselect (add, sub, both)"add"Fraction operations
sameDenominatorbooleanfalseSame denominators only
seedtext"class-1"Seed. The same seed and settings always give the same puzzles. Change it for new ones.
titletext—Title on the page (optional)
answersbooleantrueAnswer-key pages
headerbooleantrueName and date line
paperselect (a3, a4, a5, a6, b5, letter, legal, tabloid, halfletter)"a4"Paper size
orientationselect (portrait, landscape)"portrait"Orientation

Example request

Times tables 2–10, variants A–C

curl -X POST https://printshopmathworksheet.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"kind":"times","tables":"2-10","count":30,"variants":3,"seed":"class-4b"}'

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": {
    "printshop-math-worksheet": { "type": "http", "url": "https://printshopmathworksheet.usefulweb.site/mcp" }
  }
}