API & MCP

Everything a person can do on Graph, Dot, Isometric, Hex and Music Paper, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Graph, Dot, Isometric, Hex and Music Paper

Make printable paper with a square grid (with major lines), dot grid, isometric triangles, hexagons, music staves or writing lines. Spacing is exact in millimetres, the grid is centred on the page and a 10 cm scale bar lets you check the printer scale.

Inputs of Graph, Dot, Isometric, Hex and Music Paper
FieldTypeDefaultDescription
kindselect (grid, dots, isometric, hex, music, lined)"grid"Paper type
spacingnumber0Spacing (mm, 0 = usual for the paper type). Grid/dot pitch, triangle or hexagon side, line distance, or the distance between two staff lines. 0 uses 5 mm for grid and dots, 8 mm for isometric, hexagons and lined paper, 2 mm for music staves.
majorEveryinteger5Major line every … cells
lineWidthnumber0.15Line width (mm)
colortext"#9db7d5"Line colour
majorColortext"#5f86b5"Major line colour
marginnumber10Margin (mm)
marginLinenumber0Margin line for lined paper (mm from the left)
headerbooleanfalseName and date line at the top
hexOrientationselect (pointy, flat)"pointy"Hexagon orientation
pagesinteger1Pages
paperselect (a3, a4, a5, a6, b5, letter, legal, tabloid, halfletter)"a4"Paper size
orientationselect (portrait, landscape)"portrait"Orientation

Example request

5 mm grid with centimetre lines

curl -X POST https://printshopgraphpaper.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"kind":"grid","spacing":5,"majorEvery":2}'

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-graph-paper": { "type": "http", "url": "https://printshopgraphpaper.usefulweb.app/mcp" }
  }
}