PlumbDraft CAD & Blueprint MCP
適用於住宅平面圖的美制英制 2D/3D 建築平面圖 CAD、AI 草圖轉 CAD、淨空人體工學稽核、建築材料數量估算、按比例的 Blueprint PDF,以及分層 AutoCAD DXF 匯出伺服器。免費方案(每日 10 次請求)提供幾何、淨空稽核和數量估算工具;草圖轉 CAD、DXF 和 PDF 匯出需使用 Bearer API 金鑰。
託管 MCP 伺服器
npx add-mcp 'https://www.plumbdraft.com/mcp'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件
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"
}
}
}
}
Inspect Real AutoCAD R12 DXF Output
Generated deterministically in-process by exportFloorPlanDxf() on the 2-Bedroom Craftsman Cottage starter plan (1:1 US inches, $ACADVER = AC1009, $INSUNITS = 1).
SIZE: 14,754 bytes (4,307 lines) ENTITIES: 187 LINE · 5 ARC · 5 CIRCLE · 42 TEXT LAYERS (6): A-WALL, A-DOOR, A-WIND, A-FURN, A-DIMS, A-ANNO
32-Second Product Walkthrough
0:32 DEMO
Watch a hand sketch move through 2D imperial CAD editing, 3D extruded wall inspection, clearance auditing, and 1/4"=1'-0" Blueprint PDF and R12 DXF export. No YouTube scripts load until you click Play.
REST API Endpoints
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| POST | /api/v1/compile | Free (10/day) or Bearer | Normalizes walls, detects rooms, computes square footage, bounds, and opening tags. |
| POST | /api/v1/ergonomics | Free (10/day) or Bearer | Runs IRC/NKBA-inspired clearance checks on doorways, aisles, and fixture spacing. |
| POST | /api/v1/takeoff | Free (10/day) or Bearer | Calculates flooring (+10% waste), drywall 4x8 sheets, paint/primer, baseboard, and schedules. |
| POST | /api/v1/export/dxf | Bearer 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/pdf | Bearer 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.
// Click "Send Request" to inspect live JSON output.