API & MCP

Everything a person can do on Kerfwise, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • GET https://kerfwise.usefulweb.site/api/v1/tools – catalog
  • GET https://kerfwise.usefulweb.site/api/v1/tools/{id} – inputs, output schema, examples
  • POST https://kerfwise.usefulweb.site/api/v1/tools/{id}/calculate – run a tool
  • GET https://kerfwise.usefulweb.site/api/v1/workflows · POST https://kerfwise.usefulweb.site/api/v1/workflows/{id}/run
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Tools on Kerfwise

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://kerfwise.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: kerfwise_variant_sheet, kerfwise_cabinet_builder, kerfwise_cut_list, kerfwise_sheet_nesting, kerfwise_cnc_gcode, kerfwise_gcode_inspector, kerfwise_feeds_speeds, kerfwise_profile_extruder, kerfwise_model_report, kerfwise_form_drawing, kerfwise_tolerance_stack, kerfwise_scene_preview, kerfwise_render_budget, kerfwise_sketch_constraint_solver, kerfwise_shelf_sag, kerfwise_room_quantities, kerfwise_ifc_export, kerfwise_finger_joint_box, kerfwise_box_dieline, kerfwise_living_hinge, kerfwise_kerf_test
  • Local stdio connector: node src/mcp-stdio.ts
{
  "mcpServers": {
    "usefulweb": { "type": "http", "url": "https://kerfwise.usefulweb.site/mcp" }
  }
}