solidworks-mcp (hjbaard)
MCP server that lets AI agents build, measure, and verify parametric parts and assemblies in a live SolidWorks session over COM.
What it does and how it connects
SolidWorks MCP is an MCP server that lets an AI agent model real parametric parts and assemblies in the user's own SolidWorks over COM on Windows, and check its own work. Every modelling call returns the measured volume, mass, and bounding box, so the agent can compare the result with the spec and correct itself.
The README lists 88 tools covering fully defined sketches, extrude, revolve, sweep, loft and splines, holes and counterbores, ISO metric threads, fillets, chamfers, shells, patterns, mirrors, ribs, equations, materials, assemblies with mates and interference checks, STEP, STL, and 3MF export, screenshots, engraved and embossed text, dimensioned drawings, and printability checks.
The server is built to fail loud: a call that cannot do what was asked returns ok false with the cause, never silently wrong geometry. It is distributed on PyPI as solidworks-mcp and runs with uvx.
What engineers report
Hi, and thanks for this server. I run it daily on SOLIDWORKS 2026 SP4.1 (French), version 0.17.0.
2026-11-02Read the original
Alternatives
Compare side by side- MecAgent
A commercial AI copilot that runs as a separate desktop app beside CAD and acts inside the open SolidWorks session.
- solidworks-mcp (just1step)
A Windows tray-app MCP server that bridges AI assistants to SolidWorks automation over a shared COM session.
- fusion360-mcp-server
An MCP server that connects AI coding agents to Fusion 360 through an in-Fusion add-in bridge.
- freecad-ai
A FreeCAD workbench with a chat interface that builds and edits 3D models from natural language through 50 structured tools and 24 LLM providers.
- onshape-mcp (gpambrozio)
An Onshape MCP server with 93 tools for sketching, solid features, assemblies, drawings, and export, with zero-config browser sign-in.
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 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
- On SolidWorks 2016, the set_dimension tool reports success for a sketch dimension change the sketch cannot solve. The dimension stores the new value while the solver rejects it, the geometry does not move, the sketch is left no_solution, and check_errors reports nothing. Measured probes showed the mass and every segment unchanged against the ok:true answer.Error Index
Sources
Not verified
- Pricing: none stated on the repo.
- A named individual builder beyond the repository owner handle hjbaard
Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.