SolidWorks MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SolidWorks MCP ServerMake a new part, sketch a 30 mm circle on the front plane, and extrude it 15 mm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SolidWorks MCP Server (906grown edition)
Control SolidWorks with plain English through Claude, using the Model Context Protocol (MCP).
Created by 906grown. Built on the original SolidWorks MCP Server by Samsaam Ali Baig (MIT License).
This edition adds 23 new tools (48 total), a one-click Windows installer, SolidWorks 2026 / 3DEXPERIENCE support, and the ability for Claude to see the model with screenshots.
Requirements
Windows 10 or 11
SolidWorks 2023 to 2026 (installed and licensed), including SOLIDWORKS 3DEXPERIENCE R2026x
Python 3.10 or newer (python.org, check "Add python.exe to PATH" during install)
The Claude desktop app
Related MCP server: solidworks-mcp
Install (easy way)
Download this repo (green Code button > Download ZIP) and unzip it somewhere permanent, like
Documents\solidworks-mcp.Double-click
INSTALL.bat. It installs the Python packages, checks the server loads, and adds it to Claude's config (your old config is backed up first).Fully quit Claude (system tray > Quit) and reopen it.
Open SolidWorks, then ask Claude: "Connect to SolidWorks and tell me the version."
Using Claude to install it? Point it at SETUP_FOR_CLAUDE.md.
Manual install
pip install -r requirements.txtThen add this to %APPDATA%\Claude\claude_desktop_config.json (use your real path):
{
"mcpServers": {
"solidworks": {
"command": "python",
"args": ["C:\\path\\to\\solidworks-mcp\\solidworks_mcp_server.py"]
}
}
}Tools
Original tools (25)
Category | Tools |
Connection |
|
Documents |
|
Sketches |
|
Features |
|
Utilities |
|
New in the 906grown edition (23)
Category | Tool | What it does |
See & measure |
| Captures the model view (any standard view) so Claude can see what it built |
| Exact geometry of whatever you've selected (diameters, axes, lengths, positions) | |
| Finds holes, pins and fittings with their diameters and positions | |
| Overall part size and extents | |
Documents |
| Switch between open documents |
Selection |
| Select a plane, sketch, feature or axis by name |
| Select the face/edge/vertex at a model coordinate | |
| Clear the selection | |
Planes & sketches |
| Offset or angled reference planes |
| Sketch on any plane or flat face, or the current selection | |
| 3D sketch paths from lines and splines | |
| Dimensioned circle at a model point (e.g. the end of a path) | |
| Construction centerline for revolves | |
| Spline through points | |
Advanced features |
| Sweep (or swept cut) along a path, with sketch or round profile |
| Loft (or lofted cut) between profiles, with optional guides | |
| Revolve (or revolved cut) around a centerline or axis | |
Editing |
| List dimension names and values |
| Change a dimension by name and rebuild | |
| Rename a feature, sketch or plane | |
| Delete a feature, sketch or plane | |
| Undo the last step(s) | |
| Force a full rebuild |
Every new tool was tested live against SOLIDWORKS 2026 (API v34).
Example prompts
"Make a new part, sketch a 30 mm circle on the front plane and extrude it 15 mm."
"Take an isometric screenshot so I can see it."
"I selected a hole. What's its diameter?"
"Sweep a 6 mm round profile along a curved path from (0,0,0) up 40 mm and over 20 mm."
"List the dimensions and change the socket diameter to 12 mm."
Notes
execute_pythonruns any Python code on your computer with access to SolidWorks. Only approve it when you know what it's doing.Logs go to
solidworks_mcp/solidworks_mcp.log(ignored by git).If SolidWorks isn't auto-detected, set
exe_pathinsolidworks_mcp/config.jsonto yourSLDWORKS.exe.
License
MIT. See LICENSE. Original work copyright Samsaam Ali Baig; additions copyright 906grown.
This server cannot be deployed
Maintenance
Related MCP Connectors
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
- OwlCADOAuthcom.owlcad
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Work with your DealSharp negotiation projects, documents and tools from Claude.
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to create and manipulate SolidWorks CAD models through natural language commands, automating part creation, sketching, and extrusion.10-
- AlicenseNot gradedqualityDmaintenanceEnables AI (e.g., Claude) to control SolidWorks via natural language, automating part creation, sketching, and feature operations through the Model Context Protocol.1MIT
- AlicenseBqualityBmaintenanceEnables Claude or any MCP client to drive a live SOLIDWORKS session through its COM API, modeling parts, building assemblies with mates, checking interferences and machining feasibility, and exporting STEP or DXF files. It also exposes a local semantic index of the SOLIDWORKS API so the model can look up signatures, enums, and official examples before running arbitrary Python against the session.221MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude to create and modify real Onshape CAD models — sketches, extrudes, fillets, patterns, mates, and parametric variables — with every mutation returning structured status, warnings, and geometric deltas. Includes multi-view PNG rendering, image-reference decomposition, and drawing OCR so the agent can visually verify and iterate on parts and assemblies.MIT