solidworksmcp-python (andrewbartels1)

A Python MCP server that drives SolidWorks on Windows through COM automation for modeling, sketching, drawings, analysis, and export, with agent orchestration utilities.

MCP serverOpen sourceMaintainedMCAD

What it does and how it connects

solidworksmcp-python is a Python MCP server for SolidWorks automation with 154 tools, plus an optional agent and prompt-testing layer for AI-assisted workflows. It drives SolidWorks through the COM API with pywin32 on Windows 10 and 11, requires Python 3.13 or later, and is tested on SolidWorks 2026.

The README demo builds a 100 by 50 by 10 mm AISI 1020 mounting plate with four M5 clearance holes from a single prompt, then stacks two plates 10 mm apart, checks the result, and draws the assembly with a BOM, in 58 recorded tool calls. Each result is checked against a hand calculation for volume, mass, the 10 mm gap, and the BOM quantity.

Coverage spans sketching, extrusions, materials, verification, assemblies, and fully dimensioned drawings. The project also ships a documentation site with a walkthrough of the demo, including the agent plan and every call with its arguments, and a live test that replays the demo against SolidWorks.

Recurring errors it addresses

Error Index entries this tool is built to reduce or work around.

Sources

  1. 1READMEgithub.com
  2. 2GitHub repo statsapi.github.com
  3. 3Latest releasegithub.com
  4. 4Documentationandrewbartels1.com

Not verified

  • No independent user voice found: recent issues are by the maintainer.
  • Pricing: none stated on the repo.

Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.