autocad-mcp
Connects Claude AI to AutoCAD for architectural design, enabling natural language to execute 684 commands. Automates drawing creation and editing through the Model Context Protocol.
README
<p align="center"> <img src="https://img.shields.io/badge/Claude_AI-MCP_Server-blueviolet?style=for-the-badge&logo=anthropic&logoColor=white" alt="Claude AI"> <img src="https://img.shields.io/badge/AutoCAD-684_Commands-blue?style=for-the-badge" alt="684 Commands"> <img src="https://img.shields.io/badge/55_Tools-MCP_Protocol-green?style=for-the-badge" alt="55 Tools"> <img src="https://img.shields.io/badge/TypeScript-Node.js-3178C6?style=for-the-badge&logo=typescript&logoColor=white" alt="TypeScript"> </p>
<h1 align="center">autocad-mcp</h1>
<p align="center"> <strong>The most complete MCP server for AutoCAD architectural design.</strong><br> 684 commands. 55 tools. Powered by Claude AI. </p>
<p align="center"> <em>Tell Claude what to draw. It handles the rest.</em> </p>
What is this?
autocad-mcp is a Model Context Protocol (MCP) server that connects Claude AI directly to AutoCAD. It gives Claude the ability to execute 684 architectural design commands — walls, doors, windows, columns, stairs, dimensions, layers, hatching, annotations, and more.
Instead of clicking through menus, you just describe what you want:
"Draw a 3-bedroom apartment. 200mm exterior walls, 100mm partitions. Add doors, windows, and auto-dimension everything."
Claude does the rest.
Requirements
- Claude Pro/Max recommended for best results (more tool calls, longer context)
- Claude Desktop or Claude Code (MCP host)
- AutoCAD 2000+ on Windows
- Node.js v18+
How it works
┌─────────────────┐ ┌──────────────┐ ┌──────────────┐
│ Claude AI │ MCP Protocol │ autocad-mcp │ File IPC │ AutoCAD │
│ (Desktop / │ ◄────────────────► │ (Node.js) │ ◄───────────────► │ │
│ Code) │ 55 tools │ 684 commands │ C:\temp\*.json │ Arch Plugin │
└─────────────────┘ └──────────────┘ └──────────────┘
- You tell Claude what to draw in natural language
- Claude picks the right MCP tools and calls autocad-mcp
- autocad-mcp writes command files to
C:\temp\ - The LISP bridge in AutoCAD executes them and writes results back
- Claude reads the results and continues — iterating until your drawing is complete
Everything happens in seconds. No manual intervention needed.
684 Commands across 22 Categories
| Category | Tools | Commands | Examples |
|---|---|---|---|
| Walls | 8 | 22 | Double-line, partition, curtain walls |
| Doors & Windows | 6 | 34 | Single, double, sliding, French doors |
| Columns | 6 | 9 | Rectangular, circular, L, T, hollow |
| Stairs & Elevators | 6 | 8 | Straight, curved, escalators, lifts |
| Dimensions & Grids | 8 | 58 | Auto-dim, linear, aligned, grid axes |
| Layer Management | 9 | 35 | Create, freeze, isolate, rename |
| Hatching & Materials | 4 | 26 | Stone, wood, insulation patterns |
| Annotations | 6 | 48 | Text, leaders, title blocks, symbols |
| + 14 more categories | -- | 444 | Blocks, editing, curves, viewports... |
| Total | 55 tools | 684 commands |
Plus 2 generic tools:
yq_execute— run any of the 684 commands by nameyq_list_commands— search and browse all commands by category
Quick Start
1. Install
git clone https://github.com/xstaar/autocad-mcp.git
cd autocad-mcp
npm install && npm run build
2. Load LISP Bridge in AutoCAD
(load "C:/path/to/autocad-mcp/lisp/acad_mcp_bridge.lsp")
YQMCP-START
3. Configure Claude Desktop
Add to %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"autocad": {
"command": "node",
"args": ["C:/path/to/autocad-mcp/dist/index.js"],
"env": {
"ACAD_LICENSE_KEY": "YOUR-KEY-HERE"
}
}
}
}
4. Talk to Claude
"Create a structural grid 6x4m, place columns at every intersection, draw 200mm walls between them, add a main entrance door and 4 windows."
Claude will execute the commands in AutoCAD through autocad-mcp.
Licensing
<p align="center"> <img src="https://img.shields.io/badge/24h_Free_Trial-brightgreen?style=for-the-badge" alt="Free Trial"> </p>
| Plan | Price | Duration |
|---|---|---|
| Free Trial | Free | 24 hours, all features |
| Monthly | $9.99 | 30 days |
| Yearly | $79.99 | 365 days (save 33%) |
How it works
- Set your license key:
set ACAD_LICENSE_KEY=ACMCP-XXXXX-XXXXX-XXXXX-XXXXX - Restart the server — your key auto-locks to your machine
- One key = one machine. No exceptions.
Keys are validated through our activation server. Even with full source code access, license tokens cannot be forged — the signing key is server-side only.
Get a license
<p align="center"> <a href="https://t.me/plxarized"> <img src="https://img.shields.io/badge/Telegram-@plxarized-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white" alt="Telegram"> </a> <a href="https://github.com/xstaar/autocad-mcp/issues"> <img src="https://img.shields.io/badge/GitHub-Open_Issue-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub"> </a> </p>
Accepted payments: PayPal, cryptocurrency (BTC, ETH, SOL, USDT, and more).
Why Claude Pro / Max?
This MCP server works with any Claude plan, but Claude Pro or Max is strongly recommended:
- More tool calls per conversation — architectural drawings need many sequential commands
- Longer context window — Claude can plan complex multi-room layouts in one go
- Priority access — no rate limits interrupting your workflow
- Extended thinking — better spatial reasoning for complex floor plans
With Claude Free, you'll hit tool call limits quickly. With Pro/Max, Claude can design and draw an entire building floor plan in a single conversation.
Architecture
autocad-mcp/
├── src/
│ ├── index.ts # MCP server (55 tools registered)
│ ├── ipc.ts # File-based IPC with AutoCAD
│ ├── license.ts # Server-side activation system
│ ├── commands.ts # Registry of all 684 commands
│ └── tools/ # Typed tool implementations
├── lisp/
│ └── acad_mcp_bridge.lsp # AutoCAD LISP dispatcher
├── website/ # Landing page + activation API
└── dist/ # Compiled + obfuscated output
Environment Variables
| Variable | Description |
|---|---|
ACAD_LICENSE_KEY |
Your license key |
ACAD_MCP_IPC_DIR |
IPC directory (default: C:/temp) |
ACAD_MCP_IPC_TIMEOUT |
Response timeout in ms (default: 15000) |
License
Proprietary Software. Source provided for transparency. See LICENSE.
<p align="center"> <sub>An MCP server for <a href="https://claude.ai">Claude AI</a> | Powered by <a href="https://modelcontextprotocol.io">Model Context Protocol</a></sub> </p>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.