SolidWorks logo

SolidWorks

Model and verify parametric SolidWorks parts through MCP on a Windows machine with SolidWorks running.

Install SolidWorks

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": {
    "solidworks": {
      "command": "uvx",
      "args": [
        "solidworks-mcp"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio solidworks -- uvx solidworks-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx solidworks-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

SolidWorks MCP server connects an AI agent to a running SolidWorks installation over local Windows COM. SolidWorks can create and modify parametric parts using extrusions, revolves, sweeps, lofts, holes, threads, bodies, reference planes, and face features, while returning measured geometry such as mass, volume, and bounding boxes. Reach for it when an agent needs to build editable CAD geometry and check results against dimensional or mass calculations. It requires SolidWorks 2020 or newer, a Y-up part template, Python 3.11+, and an active SolidWorks session.

Use cases

  • Create parametric mounting plates, brackets, bosses, and cutouts
  • Build revolved, swept, lofted, or threaded mechanical parts
  • Verify modeled volume, mass, dimensions, and body structure
  • Modify parts with face holes, pockets, ribs, text, and counterbores

Key features

  • Parametric SolidWorks part modeling over MCP
  • Extrude, revolve, sweep, loft, spline, and plane tools
  • Face-based holes, bosses, pockets, and engraved text
  • ISO Hole Wizard features and modeled metric threads
  • Measured mass properties and body operations
  • Explicit errors for unsuccessful modeling operations

Tools88

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

Verified live~16.4k 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.

21/21 checks healthy over the last 68d

What it can do

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

Runs commands · 1Can delete or modify data · 4Read-only tools · 83
Tool definitions changed on 2026-11-17. Review them if you approved this server earlier.
Network at startup2 connections
Files written at startup10

Observed 2026-11-17 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 4d ago via OSV.dev · solidworks-mcp (PyPI)

Adoption & maintenance

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

GitHub stars64Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed88Callable tools this server registers over MCP.
Directory activity52 viewsConfig copies, upvotes, and views on AllMCPs.

How SolidWorks works

What SolidWorks does

SolidWorks exposes typed MCP tools for creating and inspecting parametric parts in a locally running SolidWorks application. The tool surface covers basic solids such as boxes, discs, cylinders, and cones, along with polygonal and spline extrusions, revolved profiles, swept pipes and profiles, lofts, ribs, and reference-plane operations. It can also cut pockets and profiles, split or combine bodies, and apply face-based features.

Engineering details include standard and counterbored holes, Hole Wizard holes, modeled ISO metric threads, bosses, text engraving or embossing, corner radii, draft, rotations, and face-relative positioning. Several tools return mass properties, dimensions, body information, or other measured results after SolidWorks rebuilds the feature. The server also reports connection status, SolidWorks revision, its own version, and the active part.

How it works

The server attaches to the active SolidWorks process through Windows COM; it does not launch SolidWorks and does not make network calls. Modeling calls operate on the current part and generally require new_part before creating geometry. Dimensions use millimetres, and many features return names for dimensions or bodies that can be addressed by later operations.

Profiles can be defined in standard planes, custom reference planes, or planar faces. Face tools locate a face by direction and a 3D point, while plane tools return the plane origin and axes needed to express later geometry. Separate bodies can remain independent, then be added, subtracted, or intersected. Failed operations return an explicit error object instead of silently accepting invalid geometry.

Setup and configuration

Use Windows with SolidWorks installed, licensed, and already open. Python 3.11 or newer is required; the documented quick-start path uses uvx solidworks-mcp. Register the command as an MCP server in Claude Desktop or another MCP client, or use claude mcp add solidworks -- uvx solidworks-mcp with Claude Code.

SolidWorks 2020 or newer is supported by the compatibility guidance. Parts are built in the Y-up coordinate frame, so configure a Y-up .prtdot as the default part template. Run uvx solidworks-mcp --selftest with SolidWorks open to check the connection, release, language, template, and tool areas.

For a checkout-based installation, create a Python virtual environment, install the project in editable mode with its development extras, and point the MCP client at the environment's Python module. The first COM call may take longer while Python generates its typelib wrappers.

Tools and capabilities

  • Create solids from boxes, polygons, splines, circles, revolved profiles, sweeps, and lofts.
  • Add reference planes, plane-based extrusions, ribs, face bosses, text, holes, counterbores, Hole Wizard features, and real metric threads.
  • Cut profiles on standard planes or planar faces, including blind and through cuts.
  • List, split, and combine solid bodies with additive, subtractive, or common operations.
  • Return measured mass properties and feature dimensions for verification.
  • Build editable feature sequences rather than sending arbitrary code to SolidWorks.

Limitations and notes

SolidWorks must be running before the server starts or a call is made. Newer Z-up part templates are refused by the tools; the API expects Y-up parts. Tool names and conventions may change while the project remains in its early 0.x stage.

Some SolidWorks builds can differ in API enums or method signatures, so compatibility checks should be rerun on the target installation. If the first COM call reports an EnsureModule problem, allow wrapper generation to finish or clear the temporary gen_py cache and retry. The server is intended for Windows because it depends on the SolidWorks COM API.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about SolidWorks

SolidWorks is an MCP server that connects AI agents to a running Windows SolidWorks installation through local COM. Its main tools create and modify parametric parts with extrusions, revolves, sweeps, lofts, holes, threads, cuts, planes, and body operations, while returning measured geometry and mass properties for verification.

Install `uv`, start SolidWorks, and register `uvx solidworks-mcp` as an MCP server in your client. Claude Code can use `claude mcp add solidworks -- uvx solidworks-mcp`; Claude Desktop and other clients can use the equivalent JSON command and arguments configuration.

It supports Windows with SolidWorks 2020 or newer installed, licensed, and running. Python 3.11 or newer is required, and the tools expect a Y-up SolidWorks part template. Run `uvx solidworks-mcp --selftest` with SolidWorks open to check the installation.

Yes, both Claude Desktop and Claude Code are documented client options. Claude Code uses the `claude mcp add` command, while Claude Desktop uses an `mcpServers` entry with `uvx` as the command and `solidworks-mcp` as its argument.

No. The server communicates with the SolidWorks process running on the same Windows machine through COM and does not make network calls. SolidWorks itself must be open before the server attaches to it.

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 PreviewSolidWorks AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/solidworks?style=directory)](https://allmcps.com/mcp/solidworks)
HTML Embed
<a href="https://allmcps.com/mcp/solidworks"><img src="https://allmcps.com/api/badge/solidworks?style=directory" alt="SolidWorks on AllMCPs" /></a>