API & MCP
Everything a person can do on Laser Kerf Test & Press-Fit Gauge, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://kerfwisekerftest.usefulweb.app/api/v1/calculate– run Laser Kerf Test & Press-Fit GaugeGET https://kerfwisekerftest.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Laser Kerf Test & Press-Fit Gauge
Generate a kerf test frame (an opening divided into equal pieces) and a press-fit comb with engraved slot offsets for your material thickness. After cutting, push the pieces to one side, measure the gap and enter it: the tool divides it by the number of cuts and tells you the kerf compensation and the fit clearance to use for finger-joint boxes, slots and sliding lids.
| Field | Type | Default | Description |
|---|---|---|---|
thickness | number | 3 | Material thickness (mm) |
pieces | integer | 10 | Pieces in the kerf frame |
pieceWidth | number | 10 | Piece width (mm) |
fitStart | number | -0.3 | First comb slot: thickness plus (mm) |
fitStep | number | 0.1 | Comb slot step (mm) |
fitCount | integer | 7 | Comb slots |
gap | number | 0 | Measured gap after pushing the pieces together (mm, 0 = not yet) |
slot | integer | 0 | Comb slot with the fit you want (0 = not yet) |
sheetWidth | number | 0 | Sheet or laser bed width (mm, 0 = no sheet). With a sheet size the parts are nested onto as many sheets as needed; 0 lays every part out in one drawing. |
sheetHeight | number | 0 | Sheet or laser bed height (mm, 0 = no sheet) |
spacing | number | 4 | Gap between parts (mm). For CNC routing use at least the cutter diameter. |
labels | boolean | true | Part names on a separate label layer |
paper | select (fit, a3, a4, a5, a6, b5, letter, legal, tabloid, halfletter) | "fit" | PDF pages |
Example request
Test coupon for 3 mm plywood
curl -X POST https://kerfwisekerftest.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"thickness":3}'
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://kerfwisekerftest.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
kerfwise_kerf_test - Local stdio connector:
node src/mcp-stdio.ts --tool=kerfwise-kerf-test
{
"mcpServers": {
"kerfwise-kerf-test": { "type": "http", "url": "https://kerfwisekerftest.usefulweb.app/mcp" }
}
}