SolidWorks MCP in Python

Solidworks-MCP

An MCP server for SolidWorks in Python: 22 tools for parts, sketches, operations and utilities

  • 157 ★ on the repository
  • Last commit
  • MIT
MCP server

Broad access

Why this level

  • Runs operations in your SolidWorks and changes the model
  • Works with a live licensed program on your computer
  • Installed from sources with no ready package
All reasons and checks

alisamsam/solidworks-mcp

Install

Manual install

git clone https://github.com/alisamsam/Solidworks-MCP.git
cd Solidworks-MCP
pip install -r requirements.txt

Then add the launch of solidworks_mcp_server.py with the full file path to the client config.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • Runs operations in your SolidWorks and changes the model
  • Works with a live licensed program on your computer
  • Installed from sources with no ready package

This is third-party code. Review the repository files before installing.

What it does

The Python 3.10+ server drives SolidWorks 2023–2025 on Windows 10 and 11 and finds the program installation through the registry on its own. The README lists 22 tools: parts, sketches, operations on solids and utilities. Installation is from sources: clone the repository, run pip install -r requirements.txt and launch solidworks_mcp_server.py, then add the script path to the client config.

Who it is for. For designers who want a simple SolidWorks server without Node.js and VBA: parts, sketches and operations.

Good fit when

  • You need to create a part and a sketch from a description and dimensions
  • You need a small set of tools in Python without building native modules
  • You need to quickly test an idea before taking a large server

Not a fit when

  • You need drawings, export and VBA macros: the TypeScript server has more of them
  • You have no Windows and no licensed SolidWorks

Example request

Create a part: a 50 by 50 mm square sketch, a 30 mm extrude and a 3 mm fillet on the edges

MCP

Transport
stdio
Authentication
not required

Limitations

Windows 10 or 11, an installed licensed SolidWorks 2023–2025 and Python 3.10 or newer are required. The server installs from sources; there is no ready package. It runs operations in your SolidWorks, so work on a copy of the model. The repository was last updated in March 2026.

How to disable. Remove the server entry from the client config and delete the repository clone.

FAQ

Which SolidWorks versions are supported?

SolidWorks 2023–2025 on Windows 10 and 11.

How does the server find SolidWorks?

It looks for the program installation in the Windows registry, so you do not need to give a path.

How many tools does it have?

22: parts, sketches, operations and utilities.

How is it different from the TypeScript version?

It is simpler: fewer tools, no VBA macros and no native module builds. The TypeScript version is wider, but its author has not verified most of its tools.

Discussion

No questions or reviews yet.

An MCP server for SolidWorks in TypeScript: models, sketches, drawings, export and VBA macros. The author has not yet verified most tools

MCP serverBroad access237Repository stars

KOMPAS-3D MCP in Python

kompas-mcp-python

Russian stack

An early unofficial MCP server for KOMPAS-3D in Python: 76 tools for parts and drawings, arbitrary Python off by default

MCP serverBroad access

Fusion 360 MCP

fusion360-mcp-server

An MCP server for Autodesk Fusion 360: the agent builds sketches and solids, edits parameters and runs commands in an open project

MCP serverBroad access117Repository stars

AutoCAD MCP Pro

autocad-mcp-pro

An MCP server for AutoCAD with hundreds of tools: a live AutoCAD through COM or DXF without the program, with a token saving mode

MCP serverBroad access135Repository stars

SketchUp MCP

sketchup-mcp2

An MCP server for SketchUp: the agent creates and changes geometry, assigns materials and exports the scene, and eval_ruby runs Ruby inside the program

MCP serverBroad access42Repository stars

An MCP server to drive FreeCAD from Claude Desktop and other clients: create and edit models, run scripts and FEM analysis

MCP serverBroad access2.8KRepository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialAuthenticationRepository starsMain difference
SolidWorks MCP in Python (this entry)nonot required157
SolidWorks MCP in TypeScriptnonot required237wider: drawings, export and VBA macros, but most tools are unverified
SolidWorks Automation Skillno1,151a skill and MCP for SolidWorks and AutoCAD, Windows only
AutoCAD MCP Prononot required135247 tools, a live AutoCAD through COM or DXF without the program

README in short

The README describes a Python server with 22 tools for SolidWorks 2023–2025: parts, sketches, operations and utilities. Installation is from sources through pip install -r requirements.txt, launching solidworks_mcp_server.py. MIT license.

README badge

Report a problem

Foxx AISolidWorks MCP in Python
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.