AutoCAD Electrical MCP
An open-source MCP server that enables an AI assistant to draft, edit and validate drawings in AutoCAD Electrical from a plain-language description. Developed with Claude as an AI collaborator.

Describe, preview, apply.
Electrical drafting involves precise, repetitive work: lighting grids, socket placement, circuit assignment and routing back to the distribution board. The project automates the repetitive steps while the engineer retains every design decision.
“Fill the Classroom with a lighting grid, put it all on circuit 4F-L01, route it from the DB, then check the drawing for mistakes.”
With AutoCAD open, the change appears on screen as you chat, one undo step per instruction. Without AutoCAD, the same assistant builds the drawings offline as editable DXF files with PNG and PDF previews.
One model, four drawings
Generated from a single floor model
Every view comes from the same model, so they always agree. Each package exports to DXF, PNG and A3 PDF, with a manifest of file hashes and validation results.
Safeguards
The engineer stays in chargePreview before anything changes plan → preview → apply → undo
Every change is shown as a changeset first. Large requests start as a written plan you approve, which lists exactly what it needs from you.
Reference drawings are never written hashed bases
Architectural bases are hashed and protected. Each floor is drawn in a copy, and a check proves the originals are unchanged.
Built-in validation validation
Unique IDs, circuits on the right board, devices inside rooms, required layers, and hand edits detected.
Works with existing drawings existing drawings
It picks up your current symbols and gives them stable IDs without moving them, keeping your layers and style.
A draft aid, not an engineer scope
Ratings, factors and table values always come from you. The server never invents them and implies no engineering approval.
Where it stands
Current status, from the README- Offline workflowDrawings, exports, validation and Excel input sheets: covered by automated tests in CI
- Live AutoCADSelf-test passed on AutoCAD Electrical 2026. Most live editing tools are so far tested against a simulated AutoCAD
- Projects and reportsReads .wdp projects and schematics, writes BOM, wire and terminal reports and audits. Tested on synthetic projects
- DIALux importAligns a DIALux lighting layout onto the architecture and builds a lighting schedule. Tested on synthetic exports
- Next stepValidate on a real installation and a real DIALux export
