Claude in AutoCAD: a free MCP setup guide
This free MCP server lets Claude draw right in your AutoCAD. You ask in plain words, Claude writes the AutoLISP and AutoCAD runs it. Lines, layers, blocks, dimensions, whole floor plans. Setup takes about 15 minutes.
What you need
- Full AutoCAD, not LT. Tested on AutoCAD 2026 for Mac. On Windows AutoCAD 2021 or newer.
- Claude Desktop or Claude Code with a paid Claude plan.
- uv, the Python package manager. It downloads Python by itself.
- On a Mac also the Xcode Command Line Tools, to build a small helper.
Setup on a Mac
xcode-select --install
curl -LsSf https://astral.sh/uv/install.sh | shcurl -L https://horezmi.com/downloads/autocad-mcp.zip -o /tmp/autocad-mcp.zip
unzip -q /tmp/autocad-mcp.zip -d ~
cd ~/autocad-mcp/helper && swiftc -O acadctl.swift -o acadctl
cd ../server && uv sync3. In System Settings → Privacy & Security, turn on the app that runs Claude (Claude Desktop or Terminal) under Accessibility and under Screen & System Audio Recording, then restart that app.
4. Open a drawing in AutoCAD, keep your hands off the keyboard for 20 seconds and run the self-test: cd ~/autocad-mcp/server && uv run autocad-mcp-selftest. You should see all 10 checks passed.
Have a drawing on paper or a scan?
Claude in AutoCAD draws what you tell it. If you already have a plan as a photo, a scanned PDF or a hand sketch, you don't need any of this. Upload it to Horezmi and in a few minutes you get a DWG with walls, doors, rooms and dimensions.
Sent
Came outSetup on Windows
The Windows version has passed automated tests but has not yet been run on a real AutoCAD for Windows. Run the self-test first, and if something fails, send its output to support@horezmi.com.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Invoke-WebRequest https://horezmi.com/downloads/autocad-mcp.zip -OutFile $env:TEMP\autocad-mcp.zip
Expand-Archive $env:TEMP\autocad-mcp.zip -DestinationPath C:\cad-mcp
cd C:\cad-mcp\autocad-mcp\server
uv syncuv run autocad-mcp-selftestConnect it to Claude
Claude Code, one line (on Windows put C:\cad-mcp\autocad-mcp\server as the folder):
claude mcp add autocad -s user -- uv run --directory ~/autocad-mcp/server autocad-mcp{
"mcpServers": {
"autocad": {
"command": "/Users/NAME/.local/bin/uv",
"args": ["run", "--directory", "/Users/NAME/autocad-mcp/server", "autocad-mcp"]
}
}
}Restart Claude. The autocad_* tools appear in its list of tools.
Prompts to try
- Show the AutoCAD status.
- Draw a floor plan of a small house: two bedrooms, a kitchen, a bathroom, with dimensions.
- Put all the walls on a layer called A-WALL, colour 7.
- List the layers and how many objects each one has.
If it doesn't work
No answer from AutoCAD within 60 seconds on the first call
AutoCAD is asking whether to load a file from an untrusted folder. Allow it, or add the folder .cad-mcp/autocad in your home folder to Trusted Locations.
AutoCAD is busy
A dialog is open or a command is running. Press Esc in AutoCAD and ask again.
AutoCAD isn't running (Windows)
Claude and AutoCAD must run as the same user with the same rights. If one runs as administrator and the other doesn't, they can't see each other. AutoCAD LT doesn't work.
On a Mac nothing gets typed
The app that runs Claude has no Accessibility permission, or the screen is locked. AutoCAD comes to the front for a moment on each command, that is normal.
Still stuck? Write to support@horezmi.com with what Claude answered.
Try it without installing anything
Claude in AutoCAD draws what you tell it. If you already have a plan as a photo, a scanned PDF or a hand sketch, you don't need any of this. Upload it to Horezmi and in a few minutes you get a DWG with walls, doors, rooms and dimensions.