API & MCP
Everything a person can do on Kerfwise Cut List & Cost, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://kerfwisecutlist.usefulweb.site/api/v1/calculate– run Kerfwise Cut List & CostGET https://kerfwisecutlist.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Kerfwise Cut List & Cost
Paste a Kerfwise project (.kerfwise.json) or list cabinets by type and size, and get the complete grouped cut list with edge banding per edge, banding metres, hardware list, optimised sheet count and yield per material, worktops, labour minutes and a full cost estimate with markup and tax. CSV export included.
| Field | Type | Default | Description |
|---|---|---|---|
project | textarea | — | Kerfwise project JSON (optional). Paste a .kerfwise.json file. When given, the cabinet table below is ignored. |
cabinets | table | — | Cabinets. Quick input without a project file. Empty height/depth/doors/drawers/shelves use the type defaults. |
materialId | select (mel-18, oak-18, birch-15, mdf-19, walnut-19, oakpanel-27, hdf-8, hdf-3, wt-slab-20) | "mel-18" | Carcass material (table input) |
frontMaterialId | select (mel-18, oak-18, birch-15, mdf-19, walnut-19, oakpanel-27, hdf-8, hdf-3, wt-slab-20) | "oak-18" | Front material (table input) |
currency | text | "EUR" | Currency |
kerf | number | 4 | Saw kerf |
trim | number | 10 | Sheet trim margin |
labourRate | number | 45 | Labour rate. Per hour, in the chosen currency. |
costMode | select (full-sheets, used-area) | "full-sheets" | Material cost |
markupPct | number | 0 | Markup |
taxPct | number | 0 | Tax / VAT |
worktopJoint | select (butt, mitre, one-piece) | — | Worktop corner joint. Empty = the project setting (butt by default). |
nestingEffort | select (fast, deep) | — | Nesting effort. Empty = the project setting. |
Example request
Three kitchen cabinets (base, drawer bank, wall)
curl -X POST https://kerfwisecutlist.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"cabinets":[{"type":"base","width":600,"doors":1,"shelves":1},{"type":"drawer","width":600,"drawers":3},{"type":"wall","width":800,"doors":2}],"kerf":4,"trim":10,"labourRate":45,"currency":"EUR"}'
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://kerfwisecutlist.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
kerfwise_cut_list - Local stdio connector:
node src/mcp-stdio.ts --tool=kerfwise-cut-list
{
"mcpServers": {
"kerfwise-cut-list": { "type": "http", "url": "https://kerfwisecutlist.usefulweb.site/mcp" }
}
}