REST API & Hosted MCP Server

Compile US imperial floor plans, validate ergonomic clearances, generate construction material takeoffs, and export layered AutoCAD DXF and Blueprint PDF files from scripts or AI agents.

Hosted MCP Endpoint (Streamable HTTP)

Connect Claude Desktop, Cursor, Windsurf, or any MCP-compatible agent directly to our hosted server. Read-only compile, ergonomics, and takeoff tools work immediately; attach a pd_live_... key for DXF/PDF exports and higher limits.

https://www.plumbdraft.com/mcp

Available MCP Tools

  • sketch_to_floorplan
  • compile_floorplan_geometry
  • validate_clearance_ergonomics
  • calculate_material_takeoff
  • export_blueprint_dxf
  • export_blueprint_pdf

Claude Desktop & Cursor Configuration

Add PlumbDraft to your MCP client configuration. Generate or revoke API keys anytime from your Account page.

{
  "mcpServers": {
    "plumbdraft": {
      "url": "https://www.plumbdraft.com/mcp",
      "headers": {
        "Authorization": "Bearer pd_live_YOUR_API_KEY"
      }
    }
  }
}

REST API Endpoints

MethodEndpointAuthDescription
POST/api/v1/compileFree (10/day) or BearerNormalizes walls, detects rooms, computes square footage, bounds, and opening tags.
POST/api/v1/ergonomicsFree (10/day) or BearerRuns IRC/NKBA-inspired clearance checks on doorways, aisles, and fixture spacing.
POST/api/v1/takeoffFree (10/day) or BearerCalculates flooring (+10% waste), drywall 4x8 sheets, paint/primer, baseboard, and schedules.
POST/api/v1/export/dxfBearer pd_live_...Returns a layered AutoCAD ASCII DXF file in imperial inches (A-WALL, A-DOOR, A-WIND, A-FURN, A-DIMS, A-ANNO).
POST/api/v1/export/pdfBearer pd_live_...Returns a 2-sheet 1/4"=1'-0" or 1/8"=1'-0" architectural Blueprint PDF.

Interactive Compile & Takeoff API Tester

Run live requests against PlumbDraft right from your browser.

RESPONSE
// Click "Send Request" to inspect live JSON output.