SolidworksMCP Python logo

SolidworksMCP Python

Automates SolidWorks parts, assemblies, drawings, and verification through 154 Python MCP tools and the SolidWorks COM API.

Install SolidworksMCP Python

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "solidworksmcp-python": {
      "command": "uvx",
      "args": [
        "solidworks-mcp-python"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 154 tools correctly ().

Overview

SolidworksMCP-python connects AI clients to SolidWorks through Python, pywin32, and the SolidWorks COM API. Its 154 tools cover sketching, part and assembly modeling, drawings, materials, verification, export, templates, and macros. An optional agent layer supports orchestration and prompt testing around an intent-plan-execute-inspect-iterate workflow. Reach for it when an AI-assisted CAD workflow needs to create or inspect SolidWorks models on Windows.

Use cases

  • Create dimensioned SolidWorks parts from natural-language specifications
  • Build assemblies with mates and inspect interference
  • Generate manufacturing drawings with BOMs and GD&T
  • Verify model dimensions, mass, volume, and feature counts
  • Test AI-generated CAD plans through recorded tool calls

Key features

  • 154 SolidWorks automation tools
  • Python COM integration through pywin32
  • Part, sketch, assembly, and drawing operations
  • Model verification and engineering measurements
  • Drawing annotations, GD&T, and BOM generation
  • Optional agent orchestration and prompt testing

Tools154

What SolidworksMCP Python lets your agent do. Expand a tool for its parameters.

Verified live~35.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

9/9 checks healthy over the last 17d

What it can do

From the 154 tools this server returned when we ran it.

Runs commands · 3Can delete or modify data · 4Writes files · 1Read-only tools · 146
Network at startup2 connections
Files written at startup2

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · solidworks-mcp-python (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars102Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed154Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How SolidworksMCP Python works

What SolidworksMCP-python does

SolidworksMCP-python exposes SolidWorks automation through the Model Context Protocol. AI clients can use it to create parts, assemble components, generate drawings, inspect model results, and continue iterating based on those results. The project is aimed at workflows where a user describes a mechanical design, an agent plans the required operations, and MCP tool calls carry them out in SolidWorks.

The repository advertises 154 tools across modeling, sketching, drawing production, engineering data, analysis, export, automation, templates, and macros. It also includes an optional agent and prompt-testing layer for evaluating AI-assisted workflows.

How it works

The server routes tool requests from an MCP client into SolidWorks through Python COM automation using pywin32. Its runtime also includes COM/VBA routing and adapter safety wrappers. A typical workflow is iterative: describe the intended result, generate a plan, execute the tools, inspect the resulting model or measurements, and adjust the next operations.

The demonstrated workflow creates a dimensioned plate, applies a material, verifies its volume and mass, produces a drawing, adds datum and GD&T annotations, inserts the part into an assembly, adds mates, checks interference, and creates an assembly drawing with a bill of materials. Verification tools can report properties such as dimensions, volume, mass, feature and body counts, component and mate counts, and interference results.

Setup and configuration

The project targets Windows 10 or 11 and requires Python 3.13 or newer. SolidWorks is the CAD application being automated; the project is tested against SolidWorks 2026. Because communication uses the SolidWorks COM API, the server is intended for an environment where the Windows SolidWorks application and its automation interface are available.

The MCP client supplies requests to the server, while SolidWorks performs the underlying CAD operations. The project includes a live-test suite and documented demonstrations that replay tool calls against SolidWorks, which can help evaluate a local setup before building a larger agent workflow.

Tools and capabilities

Representative capabilities include:

  • Create sketches with lines, circles, dimensions, and constraints, then check whether they are fully defined.
  • Build and modify solid geometry with operations such as extrusion, cuts, and revolves.
  • Insert components, add assembly mates, list assembly contents, and check interference.
  • Generate part and assembly drawing packages with views, dimensions, notes, title blocks, and optional BOMs.
  • Apply materials, list dimensions, measure geometry, set custom properties, and verify model results.
  • Add drawing annotations including datum tags, GD&T frames, center marks, and arranged dimensions.

Limitations and notes

SolidWorks automation is tied to the Windows COM environment, so this is not a platform-neutral CAD server. Operations affect an external SolidWorks application and should be checked in the resulting model and drawings. The project’s demonstration notes also show that an agent may use more calls than necessary; the examples are intended to make individual tool behavior visible rather than prescribe the most efficient modeling strategy.

The repository includes an MIT license and identifies SolidWorks 2026 and Windows 10/11 in its project metadata.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about SolidworksMCP Python

SolidworksMCP-python is an MCP server that connects AI clients to SolidWorks through Python COM automation via pywin32. Its 154 tools cover part and assembly modeling, sketches, drawings, analysis, export, templates, macros, and verification, while an optional agent layer supports orchestration and prompt testing for iterative CAD workflows.

Install it in a Windows 10 or 11 environment with Python 3.13 or newer and SolidWorks available for COM automation. The server relies on pywin32 to communicate with SolidWorks, and its live tests can be used to evaluate the local setup.

Yes. SolidworksMCP-python is designed for Claude and other AI agents that can call MCP tools. Claude can use the server to send SolidWorks modeling, assembly, drawing, and verification operations through the MCP interface.

It can create and inspect parts, assemblies, and drawings. Available workflows include sketching and extrusion, component insertion and mating, material assignment, drawing views and dimensions, GD&T annotations, BOM generation, and model verification.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSolidworksMCP Python AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/solidworksmcp-python?style=directory)](https://allmcps.com/mcp/solidworksmcp-python)
HTML Embed
<a href="https://allmcps.com/mcp/solidworksmcp-python"><img src="https://allmcps.com/api/badge/solidworksmcp-python?style=directory" alt="SolidworksMCP Python on AllMCPs" /></a>