Teaching AutoCAD to take orders in plain English
It bridges LLMs and desktop CAD software so you can draft by typing instead of clicking through toolbars.

What it does
CAD-MCP is a Python-based MCP server that sits between an LLM client—such as Claude Desktop, Cursor, or Windsurf—and Windows CAD software. It translates natural language prompts into COM API calls for AutoCAD, GstarCAD, or ZWCAD, letting you create lines, circles, dimensions, layers, and text by describing what you want rather than navigating ribbons and toolbars.
The interesting bit
The project is essentially a language-to-CAD translation layer: glue code that maps parsed shape, color, and action keywords into concrete drawing parameters, then fires them at a running CAD process over Windows COM. That makes it less a drawing app and more a remote-control rig for software that predates LLMs by decades.
Key highlights
- Supports AutoCAD, GstarCAD, and ZWCAD via Windows COM interfaces
- Handles basic drafting primitives: lines, arcs, polylines, rectangles, circles, text, hatches, and linear dimensions
- Includes layer creation, switching, and DWG export
- Plugs into MCP-compatible editors using
server.py - Parses color, shape, and action keywords from free-form text commands
Caveats
- Windows-only, because it relies on
pywin32COM automation - Requires a locally installed, supported CAD license; it is not a standalone renderer
- The README exposes
startup_wait_timeandcommand_delaysettings, hinting that CAD process lifecycle management can be finicky
Verdict
Best for Windows-based drafters and developers who want to experiment with LLM-driven automation inside existing CAD suites. If you do not already have a licensed copy of AutoCAD, GstarCAD, or ZWCAD, there is nothing here to draw with.
Frequently asked
- What is daobataotie/CAD-MCP?
- It bridges LLMs and desktop CAD software so you can draft by typing instead of clicking through toolbars.
- Is CAD-MCP open source?
- Yes — daobataotie/CAD-MCP is open source, released under the MIT license.
- What language is CAD-MCP written in?
- daobataotie/CAD-MCP is primarily written in Python.
- How popular is CAD-MCP?
- daobataotie/CAD-MCP has 513 stars on GitHub.
- Where can I find CAD-MCP?
- daobataotie/CAD-MCP is on GitHub at https://github.com/daobataotie/CAD-MCP.