# qcad-mcp

Automates 2D CAD tasks by parsing DXF and DWG files into SVG layouts or 3D STL meshes. Useful for analyzing room dimensions and generating geometry inside AI coding assistants.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 17
- Author: sandraschi
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sandraschi/qcad-mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/qcad-mcp

## What it does

This server connects your development environment to the Python library `ezdxf` and optional QCAD Pro binaries. Through 12 specialized MCP tools, it extracts layer details, analyzes room dimensions, adds annotations, and extrudes flat blueprints into 3D meshes like STL, OBJ, or GLB.

All project drawings reside in local persistent storage under `%LOCALAPPDATA%\qcad-mcp\depot`, customizable via `QCAD_MCP_DEPOT`. The package also spins up a control dashboard on port `11967` alongside a REST interface on port `11966`. Workflows run locally.

Core DXF manipulation relies on `ezdxf` under Python 3.13+, but converting DWG files requires a local QCAD Pro installation. The service can also hand off geometry to `blender-mcp` and `freecad-mcp` without forcing companion dependencies.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- convert DXF floor plans into 3D STL meshes
- extract room dimensions and calculate boundary areas
- batch-export CAD drawings into SVG vector graphics
- convert DWG files to DXF using QCAD Pro

## Example prompts
- Extrude the exterior walls in `floorplan.dxf` into an STL mesh with height 3.0
- Analyze the rooms in `office_layout.dxf` and list door dimensions
- Convert `schematic.dwg` to DXF and export the layers to SVG

## Similar
- [Next AI Draw.io](https://affpapa.org/en/nevibecode/mcp/next-ai-drawio.md) — MCP server · ★ 36398
- [tldraw](https://affpapa.org/en/nevibecode/mcp/tldraw.md) — MCP server · ★ 51091
- [Figma-Context-MCP](https://affpapa.org/en/nevibecode/mcp/figma-context-mcp.md) — MCP server · ★ 16062
- [Agent-Native Assets](https://affpapa.org/en/nevibecode/mcp/agent-native-assets.md) — MCP server · ★ 7506
- [Remove AI Watermarks](https://affpapa.org/en/nevibecode/mcp/remove-ai-watermarks.md) — MCP server · ★ 6114
- [Dembrandt](https://affpapa.org/en/nevibecode/mcp/dembrandt.md) — MCP server · ★ 3821

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
