SolidworksMCP-python
A Python MCP server for SolidWorks: 156 tools for parts, assemblies and drawings through the COM API, each with a support level.
- 99 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- The agent creates and saves SolidWorks model files on disk, and setup adds entries to client configurations.
Install
- Works in
Manual install
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
uvx solidworks-mcp-python setupThe README Install section: uv first, then the setup wizard in a new PowerShell window. Windows and SolidWorks are required.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- The agent creates and saves SolidWorks model files on disk, and setup adds entries to client configurations.
This is third-party code. Review the repository files before installing.
What it does
The server connects an agent to SolidWorks on Windows through the COM API. The agent builds sketches, parts, assemblies with mates and drawings from a text description. The README shows a universal joint of eight parts assembled from one prompt: Claude Code made 294 tool calls to do it. Each of the 156 tools carries a support level: stable, beta, experimental or planned, so the agent knows how far to trust it. The same adapters also work as a plain Python library without an AI. `uvx solidworks-mcp-python setup` finds the installed SolidWorks version and MCP clients and adds a `solidworks` entry to their configs.
Who it is for. Design engineers on Windows who want to build SolidWorks models through Claude Code or Cursor, or script automation in Python.
Good fit when
- A part or assembly is described in words and the agent builds it instead of manual modelling.
- A model needs checking: the `verify_model` tool compares the result with the intent.
- SolidWorks routine is automated with a Python script on the adapters, no model involved.
- Several clients are set up in one pass: Claude Desktop, Claude Code, VS Code, Cursor and LM Studio.
Not a fit when
- You work on macOS or Linux: Windows 10 or 11 and SolidWorks are required.
- You only experiment without a licence: `--mock` mode answers without SolidWorks but builds no models.
- You need a guarantee for every tool: some are beta or experimental.
Example request
What model is open in SolidWorks? Build a bracket 38.1 mm wide with a 12.7 mm hole and check its dimensions with verify_model.MCP
- Transport
- stdio
- Authentication
- not required
Limitations
Runs only on Windows 10 and 11 with SolidWorks installed, tested on SolidWorks 2026. For real work the `--year` flag with your release year is required, and `setup` fills it in. Some tools sit at beta, experimental or planned level. Dimensions are millimetres in some tools and metres in others, which a separate `solidworks-mcp` skill covers. The agent changes and saves model files on disk, so work on copies.
How to disable. Remove the `solidworks` entry from the MCP client configuration. `setup` backs the file up before editing. The skill lives in `~/.claude/skills/solidworks-mcp` and goes away with the folder.
FAQ
Is an API key or account login needed?
No. The server runs on your computer and needs no login or keys.
What does the setup command do?
It finds the SolidWorks version and MCP clients, lets you choose clients, checks startup in mock mode and adds a `solidworks` entry. The configuration is backed up before editing.
How do I connect by hand?
For Claude Code run `claude mcp add --scope user solidworks -- uvx solidworks-mcp-python --year 2026`, using your own year.
Is there something to teach the agent the working order?
Yes, the `solidworks-mcp` skill: sketch, close, feature, face selection and verification. Install it with `uvx solidworks-mcp-python skill install`.
Can the package be confused with another project?
Yes: `uvx solidworks-mcp` installs a different project. The right package name is `solidworks-mcp-python`.
Discussion
No questions or reviews yet.
Related
MCP serversSolidWorks MCP in Python
Solidworks-MCP
An MCP server for SolidWorks in Python: 22 tools for parts, sketches, operations and utilities
A skill pack and MCP server for SolidWorks: an agent builds parts and assemblies via COM and checks the model.
An MCP server for SolidWorks: the agent models parts and assemblies, produces drawings and rebuilds a part from a DXF or DWG file
SolidWorks MCP in TypeScript
SolidworksMCP-TS
An MCP server for SolidWorks in TypeScript: models, sketches, drawings, export and VBA macros. The author has not yet verified most tools
MCP servers and skills for CATIA, SolidWorks, Siemens NX, EPLAN, Fusion and ANSYS so an agent can model and verify CAD results.
KOMPAS-3D MCP in Python
kompas-mcp-python
An early unofficial MCP server for KOMPAS-3D in Python: 76 tools for parts and drawings, arbitrary Python off by default
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| SolidworksMCP-python (this card) | no | not required | 99 | |
| SolidWorks MCP in Python | no | not required | 204 | a Python MCP server with 22 tools; here 156 tools with support levels |
| SolidWorks MCP in TypeScript | no | not required | 253 | a TypeScript server with VBA macros; here Python adapters and a client setup wizard |
README in short
The README opens with a joint assembled from a prompt, then covers installation through uv, connecting five clients, mock mode and the workflow skill.