API & MCP
Everything a person can do on Kerfwise Cabinet Builder, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://kerfwisecabinetbuilder.usefulweb.site/api/v1/calculate– run Kerfwise Cabinet BuilderGET https://kerfwisecabinetbuilder.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Kerfwise Cabinet Builder
Give a cabinet type (base, wall, tall, drawer bank, blind corner, diagonal corner base or wall cabinet, L-shaped corner, angled end, quarter-round end shelf, open shelf, wardrobe, bookshelf, desk, table, bed frame) with its size, back panel, doors, drawers, shelves and joinery, and get the complete parts list with finished and cut sizes, grain direction, edge banding per edge, hinge and shelf-pin drilling, hardware and a front view. The same engine powers the Kerfwise app.
| Field | Type | Default | Description |
|---|---|---|---|
type | select (base, wall, tall, drawer, corner, diagonal, diagonal-wall, l-corner, angled-end, round-end, open, wardrobe, bookshelf, desk, table, bed) | "base" | Cabinet type |
width (required) | number | 600 | Width. Outer width (table/desk: top length). |
height | number | — | Height. Outer height incl. plinth, without worktop. Empty = type default. |
depth | number | — | Depth. Outer depth. Empty = type default. |
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 |
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 |
backType | select (groove, inset, nailed, none) | "groove" | Back panel |
grooveDepth | number | 8 | Groove depth |
topType | select (full, rails) | "full" | Top |
plinthType | select (legs, board, none) | "legs" | Plinth / toe kick |
plinthHeight | number | 150 | Plinth height |
doorCount | integer | — | Doors. Empty = type default. |
doorStyle | select (overlay, inset) | "overlay" | Door style |
drawerCount | integer | — | Drawers. Empty = type default. With doors, drawers go on top (150 mm each). |
slideType | select (side, under) | "side" | Drawer slides |
shelfCount | integer | — | Shelves. Empty = type default. |
adjustableShelves | boolean | true | Adjustable shelves (32 mm system holes) |
faceFrame | boolean | false | Face frame |
carcassJoint | select (butt, dowel, confirmat, pocket, cam, dado, rabbet) | "dowel" | Carcass joinery |
frameJoint | select (pocket, dowel, mortise-tenon, butt) | "pocket" | Frame / apron joinery |
drawerJoint | select (butt, dado, dovetail, dowel) | "dado" | Drawer box joinery |
handle | select (bar128, bar160, knob, cup, profile, push, none) | "bar128" | Handles |
returnWidth | number | — | Corner: second leg length. Diagonal and L-shaped corner cabinets: length along the adjoining wall. Empty = same as the width. |
cornerDoors | select (bifold, two) | "bifold" | L-shaped corner doors |
endAngle | number | 60 | Angled end: angle to the wall |
bandingDeduct | boolean | true | Deduct edge-banding thickness from cut sizes |
Example request
Kitchen base cabinet 600, grooved back, legs, 1 door
curl -X POST https://kerfwisecabinetbuilder.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"type":"base","width":600,"height":870,"depth":560,"backType":"groove","grooveDepth":8,"plinthType":"legs","plinthHeight":150,"doorCount":1,"shelfCount":1,"carcassJoint":"dowel","topType":"rails"}'
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://kerfwisecabinetbuilder.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
kerfwise_cabinet_builder - Local stdio connector:
node src/mcp-stdio.ts --tool=kerfwise-cabinet-builder
{
"mcpServers": {
"kerfwise-cabinet-builder": { "type": "http", "url": "https://kerfwisecabinetbuilder.usefulweb.site/mcp" }
}
}