Model, measure and verify parametric parts and assemblies in a running SolidWorks (Windows).
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Let an AI agent (Claude, or any other MCP client) model real parametric parts and assemblies in your own SolidWorks β 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 instead of guessing that it "looks about right".
Built by the tools themselves: a mounting bracket (every step checked against a hand calculation), an M10 bolt with a real thread, a revolved + shelled vase, a swept pipe, a lofted + shelled horn.
width@Sketch1), so the part stays editable, in SolidWorks or
through the agent.{ok: false, error} with the cause, never silently wrong geometry.Install uv.
Start SolidWorks and leave it open (the server attaches to the running instance β it does not launch one).
Register the server with your MCP client.
Claude Code:
Claude Desktop (claude_desktop_config.json) or any other client:
It is also listed in the official
MCP Registry
as io.github.hjbaard/solidworks-mcp.
Ask for a part, for example:
Design a 100 Γ 80 Γ 8 mm mounting plate with a Γ16 mm centre bore, four counterbored M5 holes 12 mm from the corners and R5 corners. Check the volume against your own calculation, then export a fine STL.
The server hands every MCP client short modelling guidelines when it connects
(conventions, verify each step, known pitfalls). The full guide is the resource
solidworks://guide: recipes for holes, ribs, threads and assemblies, 3D-print
advice, and how to reverse-engineer a part from a mesh (STL/3MF). The same text
is in src/solidworks_mcp/guide.md.
Status: early (v0.3). It works end-to-end, but tool names and conventions may still change. See CHANGELOG.md.
GetActiveObject and does not launch one.EnsureModule errors β the first COM call generates the
makepy typelib wrappers under your temp gen_py folder. Let it finish; if it gets
into a bad state, delete the gen_py cache and retry. Early binding is mandatory on
this build (see Architecture).{ok: false, error: ...} β that is by design: every tool
fails loud with a readable message rather than silently producing wrong
geometry. Read the message; it names the likely cause.scripts/introspect_api.py to inspect your installed typelib.Clone the repository, then install it editable into a venv:
To run the MCP server from this checkout instead of via uvx, point your client at the venv's Python:
With SolidWorks open:
scripts/introspect_api.py regenerates/inspects the installed typelib and prints
verified enum values β run it if SolidWorks is upgraded and signatures change.
Two layers: pure unit tests (units, selector/direction parsing, polygon
cleaning, the component-placement maths, and that every MCP tool forwards its
arguments to the right session method) run anywhere; integration tests
(solidworks marker) drive a running SolidWorks and verify each feature's
volume β or each component's placement β against a hand calc. They auto-skip if
SolidWorks isn't reachable.
The server speaks MCP over stdio.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/solidworks)<a href="https://allmcps.com/mcp/solidworks"><img src="https://allmcps.com/api/badge/solidworks?style=directory" alt="SolidWorks on AllMCPs" /></a>