AutoCAD MCP Pro
Provides production-grade AutoCAD automation: creating and modifying drawings, drafting ISO/ANSI dimension and text styles, drawing mechanical parts, sheets and title blocks, building and reading P&IDs, architecture plans, and producing takeoffs, plus verifying and delivering drawings with measured requirement checks. Works live through COM on Windows or headlessly via ezdxf on any platform.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AutoCAD MCP ProDraw a 24-tooth spur gear with a keyed bore, then verify the bore is 40 mm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Autocad connector to Claude
How to install
Just text me on Instagram, @feras.elhs, and I'll help you set it up.
OR set it up yourself
It takes about 5 minutes and works on Windows and macOS. On Windows, AutoCAD can be drawn in live while it is open. On macOS, the drawings are saved as DXF files that you open in AutoCAD for Mac. Pick the app you use:
You need the Claude Desktop app.
1. Install uv (it downloads and runs the connector for you).
On Windows, open PowerShell and run:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"On macOS, open Terminal and run:
curl -LsSf https://astral.sh/uv/install.sh | sh2. Open the Claude Desktop config. In Claude Desktop, go to Settings → Developer → Edit Config. This opens a file called claude_desktop_config.json.
3. Paste this into the file and save it. If the file already has an "mcpServers" section, add only the "autocad" part inside it.
{
"mcpServers": {
"autocad": {
"command": "uvx",
"args": [
"--from",
"autocad-mcp-pro[com,pdf,office] @ git+https://github.com/ferasmed-dev/AI-to-Autocad",
"autocad-mcp"
],
"env": {
"AUTOCAD_MCP_BACKEND": "auto"
}
}
}
}4. Restart Claude Desktop (quit it fully, then open it again). On Windows, open AutoCAD first if you want Claude to draw in it live.
5. Try it. Ask Claude something like:
Draw a 9 × 6 m ground floor in brick: a living room and a hall, two doors, two windows and a stair. Add dimensions and schedules, and save it to my Documents folder.
If Claude says it can't find uvx, replace "uvx" in step 3 with its full path: C:\Users\YOUR-NAME\.local\bin\uvx.exe on Windows, or /Users/YOUR-NAME/.local/bin/uvx on macOS.
The plugin installs the connector and the premium drafting skill together. The skill teaches Claude the careful workflow: requirements → geometry → checked on the drawing → saved → reopened → delivered.
1. Install uv if you don't have it yet (same commands as in the Claude Desktop steps: PowerShell on Windows, Terminal on macOS).
2. Add the plugin. In a terminal, run:
claude plugin marketplace add ferasmed-dev/AI-to-Autocad
claude plugin install autocad-mcp-pro@autocad-mcp3. Restart Claude Code and ask it to draw something, for example a 9 × 6 m ground floor with a living room, a hall, dimensions and schedules. On Windows, open AutoCAD first if you want Claude to draw in it live.
Already added the connector to Claude Code another way? Keep only one: turn the plugin's autocad server off in /mcp, or copy .claude/skills/autocad-mcp-premium/ into your own .claude/skills/ instead of installing the plugin. plugin/README.md has the details.
Related MCP server: AutoCAD MCP Pro
What you get
Area | What it does |
Drawing lifecycle | create, open, save, export DXF/PDF, audit (repairs), purge, undo/redo |
Geometry | lines, arcs, polylines, splines, hatches, trim/extend/fillet/chamfer, handle-preserving edits |
Annotation | ISO 129 toleranced dimensions, ISO 286 fits ( |
Engineering generators | involute gears (front + section A-A), DIN 6885 keyed bores, ISO A3 title block |
Mechanical parts | one part model (segments or outline + typed features) and one view engine: front / side / top / section / detail with hidden lines, ISO 128-50 cut faces and ISO 129 dimensions. ISO 4014/4017/4032/7089/4762 fasteners and ISO 15 bearings insert as real blocks with attributes. DIN 471/472, DIN 509, DIN 332 and ISO 3601-2 features have their drawing code, but their tables still ship empty in 1.7 (see limits). Also ISO 21920-1 surface texture, ISO 2553 welds and ISO 128-40 section lines |
Sheet & delivery | ISO 5457 frames A4-A0 with zones and trim marks, ISO 7200 title blocks for every size, revision blocks with clouds, ISO 7573 parts lists with ISO 6433 balloons linked by XDATA, CSV/XLSX extraction, xrefs and images on both engines, real |
Architecture | one plan model (walls with hosted doors and windows) and one engine that resolves L / T / X junctions, cuts openings and draws poché by material. Room areas are measured from the faces the walls enclose, never typed, and rooms are read back from any plan with a confidence. Door / window / room schedules are real TABLEs. Also a furniture and sanitary catalogue at nominal sizes, a structural grid, north arrow, section / level / elevation marks, exterior dimension chains, and English or Turkish labels ( |
Understanding & takeoffs |
|
P&ID | catalogue blocks with ports and tags (ISO 10628-2 / ISA-5.1), port-to-port lines with ISA-5.1 classes and line numbers, |
Styles & standards | ISO-25 / ANSI dimension styles, ISOCP / ROMANS text styles, ISO / ANSI leader styles from authored presets; |
Discovery |
|
Batching |
|
Paper space | tab lifecycle, viewports, |
Page setup & templates | ISO 216 / ANSI Y14.1 sheets, ctb catalog, |
Environment | several open documents headlessly, portable layer states ( |
Selection | window vs crossing stated back to the caller; a polygon tested against its own shape, not its bounding box |
Boundaries |
|
Measurement |
|
Hatch depth | gradients, in-place edits, typed edge boundaries (headless), island styles |
Annotation objects | WIPEOUT, REVCLOUD, MTEXT background masks (headless), text find/replace |
3D solids |
|
Quality loop |
|
Verification |
|
Delivery |
|
Safe edits | documents carry an id and a content revision; |
248 tools in 28 groups. TOOL_PACKS=core hides these from a client that needs none of them: the nine pid_* tools, the 22 environment tools, the 14 mechanical tools, the 12 architectural tools and the two plant takeoffs. TOOL_PACKS=core,mech keeps the mechanical ones, TOOL_PACKS=core,arch the architectural ones, and TOOL_PACKS=core,plant the takeoffs. There are also 11 resources that cost nothing in the tool budget (autocad://drawing/info, layers, blocks, entities/stats, entities/{layer_name}, system/status, pid/symbols, standards/isa51, standards/coverage, and the task recipes recipes/index and recipes/{recipe_id}) and 5 prompt templates.
Two rules worth knowing.
Every coordinate in and out of a tool is WCS on both engines. The one exception is TEXT
rotation, which stays in the entity frame: a mirrored TEXT is mirror-imaged, and no scalar angle expresses that.Never read vertices back and shoelace them. That silently loses 28.2% of the area on a semicircular edge.
analysis_measure_entity(handle)reads the real geometry and states its own accuracy.
Why this exists
A big MCP server is expensive to be connected to. The full catalog costs a client 89,226 tokens before it has asked for anything. Discovery mode replaces it with three tools and costs 503.
A drafter searches for FILLET, not entity_fillet. Before the corpus, those command names appeared in no tool name or description. That was df = 0 against a stock index: the tools were not ranked badly, they were absent. The fix was data: an authored corpus of 206 AutoCAD command names and 1459 synonym phrases covering all 248 tools. A test refuses to let a tool exist without one.
Advertised surface | Tools seen | Idle cost |
| 243 | 89,226 tokens |
| 198 | 69,266 tokens |
| 206 | 68,221 tokens |
| 196 | 67,849 tokens |
| 193 | 65,987 tokens |
| 186 | 63,589 tokens |
| 184 | 61,422 tokens |
| 66 | 25,066 tokens |
| 3 | 503 tokens |
Re-measured for 1.7.0 withbenchmarks/token_suite.py's idle lane, over the real in-memory server. These are offline ratio estimates, not tokenizer counts, and they are the uncached cost: prompt caching amortises the idle term. 1.7 made the default surface 5,305 tokens dearer than 1.6.0 (lean 2,405): one more tool, plus the revision, preview and requirement parameters added to existing ones. benchmarks/token_suite.py --tokenizer anthropic counts for real.
Credits
Republished by ferasmed-dev. Based on U-C4N/Autocad-MCP by Umutcan Edizsalan, used under the MIT License (see LICENSE). All original code and credit belong to the original author.
This server cannot be deployed
Maintenance
Related MCP Connectors
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
- OwlCADOAuthcom.owlcad
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to create, read, validate, and critique production CAD drawings through one typed contract, running either live against AutoCAD over COM on Windows or headlessly with ezdxf anywhere. It covers mechanical parts and ISO sheets, architectural floor plans, P&ID drafting and reading, plus dimension, tolerance, and standards checks.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to create, read, validate and revise engineering drawings — mechanical parts, architectural floor plans, P&IDs, dimensions and ISO GD&T tolerance checks — either by driving a live AutoCAD session over COM on Windows or headlessly through ezdxf anywhere. Typed tool packs cover symbol libraries, standards-compliant layers and title blocks, takeoff workbooks, and critique of drawings made by others.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to create, modify, inspect, and validate AutoCAD drawings through a single typed contract, driving live AutoCAD over COM on Windows or running headlessly with ezdxf anywhere. It covers ISO-compliant drafting, mechanical and architectural geometry, P&ID schematics, dimensions, tolerances and takeoffs, with tool packs and a discovery mode to control context cost.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to automate drafting through a typed tool contract that drives either live AutoCAD over COM on Windows or a headless ezdxf engine anywhere, covering layers, dimensions, GD&T and tolerance validation, P&ID symbol drafting and reading, mechanical parts and sheets, architectural floor plans, and takeoffs. It also supports token-efficient discovery and tool packs so clients only load the capabilities they need.-