solidworks-mcp (haunchen)
MCP server that creates SolidWorks engineering drawings from any MCP client through COM automation.
What it does and how it connects
solidworks-mcp is an MCP server that creates SolidWorks engineering drawings from any MCP client through COM automation. Open a part, generate first-angle standard views, add dimensions and balloons, insert a BOM table, then export to PDF, all from a Claude conversation. It exposes 21 tools in five groups: file operations, drawing views, annotation, export and assembly analysis.
It drives SolidWorks 2021 over pywin32 COM from a single STA worker thread, reached over Streamable HTTP on the local network. It has been tested only on SolidWorks 2021; other versions may work since the COM API is largely stable, but the README gives no guarantee. It needs Windows 10 or 11 with SolidWorks 2021 installed, Python 3.10 or later, and an MCP client that supports Streamable HTTP.
The README warns the server has no authentication: anyone who can reach the port can drive the SolidWorks instance and read or write files through it, so it must run on a trusted LAN only and never be exposed to the internet. Large screenshots and PDFs can be served through a shared folder instead of inline base64.
Alternatives
Compare side by side- dsh-solidworks (tian-yu200)
A DeepSeek Harness plugin that automates SolidWorks at a safe, high level through the SolidPilot base, rather than an MCP server for drawings.
- SwpilotCLI
Puts a Claude Code or Codex assistant inside the SolidWorks task pane to automate feature work, rather than an MCP server for drawings.
- solidworks-GPT-plugin
A Codex plugin that adds a knowledge-backed design and validation workflow for SolidWorks, rather than an MCP server for drawings.
- solidworks-api-mcp
An MCP server that searches the SolidWorks API documentation, rather than creating drawings.
- MecAgent
A commercial agent product for mechanical CAD work, rather than an open source MCP server for drawings.
Recurring errors it addresses
Error Index entries this tool is built to reduce or work around.
- Saving an assembly can trigger rebuilds that break mates and randomly alter mate dimensions.Error Index
- Large assemblies can lock up on open with the feature tree failing to populate.Error Index
- Even simple save/check-in operations can take minutes on capable hardware.Error Index
- A shipped SolidWorks agent skill called interference-check API methods that do not exist (InterferenceDetection, GetInterference(index), GetComponents) and called Done() before computing, so its core validation step could never complete on a real machine. The check silently never ran.Error Index
- A SolidWorks MCP bridge returned success JSON and even a normal-looking PDF export while the live document was wrong: a sketch asked for the Right plane silently landed on Front, and a macro call reported success=False with zero errors while never running. Only visual inspection inside SolidWorks itself revealed it.Error Index
Sources
Not verified
- Pricing (no price stated; open source under MIT)
- Real user voices (the repository's recent issues are maintainer pull requests)
- A named individual builder beyond the repository owner handle haunchen
Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.