# SolidWorks MCP

> SolidWorks MCP is an open-source MCP server for design and media. Drive SolidWorks parts, assemblies and drawings from AI agents over the COM API. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Windows, CLI
- **Website:** https://andrewbartels1.com/SolidworksMCP-python/
- **Repository:** https://github.com/andrewbartels1/solidworksmcp-python
- **MCP Registry name:** io.github.andrewbartels1/solidworks-mcp-python
- **Categories:** design and media, developer tools
- **Listing updated:** 2026-11-14

## About

This Python server targets people who want to keep using SolidWorks while letting an agent do the repetitive modelling steps. It exposes more than 150 tools (the site says 152, the README says 156) across modelling, sketching, drawings, analysis, export, templates and macros. Simple operations go straight through the SolidWorks COM API, and harder ones fall back to generated VBA.

The author describes an inspect, classify and delegate loop: the agent reads model state first with calls like `get_model_info`, `list_features` and `get_mass_properties`, classifies the feature family, then picks direct execution or VBA. Each tool carries a support level (stable, beta, experimental or planned) so the agent knows how far to trust it.

The README shows a worked example in which Claude Code built an eight-part universal joint with a crank sub-assembly from a written prompt. The author calls it a hobby and research project, and it needs Windows with SolidWorks installed.

## Features

- **Large tool surface:** Over 150 tools for parts, assemblies, drawings, analysis and export.
- **COM with VBA fallback:** Direct COM calls for simple work, generated VBA for complex operations.
- **Support levels:** Each tool is marked stable, beta, experimental or planned.
- **Model inspection first:** Read features and mass properties before planning changes.
- **Prompt-driven builds:** Example of a multi-part mechanism built from one written prompt.

## Good for

- Generate a part from a described sketch and extrusion
- Inspect an existing model's feature tree
- Fix a failed 3D-print part faster
- Build an assembly with mates from a written spec
- Export drawings and files in batches

## Install

### Claude Code (Terminal)

```sh
claude mcp add solidworks-mcp-python -- uvx solidworks-mcp-python
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "solidworks-mcp-python": {
      "command": "uvx",
      "args": [
        "solidworks-mcp-python"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "solidworks-mcp-python": {
      "command": "uvx",
      "args": [
        "solidworks-mcp-python"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "solidworks-mcp-python": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "solidworks-mcp-python"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "solidworks-mcp-python": {
      "command": "uvx",
      "args": [
        "solidworks-mcp-python"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "solidworks-mcp-python": {
      "command": "uvx",
      "args": [
        "solidworks-mcp-python"
      ]
    }
  }
}
```

## Tools

- `get_model_info`: Read the current model's state.
- `list_features`: List features of the model.
- `get_mass_properties`: Read mass properties.
- `classify_feature_tree`: Classify the feature family before planning.

## FAQ

### What does it run on?

It uses the SolidWorks COM API, and the README badges list Windows and Python.

### How is it installed?

The registry lists a PyPI package named solidworks-mcp-python, run over stdio.

### Which licence?

The README shows an MIT badge.

### Is it production-ready?

The author calls it a hobby and research project and asks for feedback issues.

### Is SolidWorks MCP free?

Yes. SolidWorks MCP is open source, so you can use and self-host it for free.

### How do I add SolidWorks MCP to Claude Code?

Run this command in your terminal: claude mcp add solidworks-mcp-python -- uvx solidworks-mcp-python

### What are the best alternatives to SolidWorks MCP?

The closest alternatives to SolidWorks MCP are REA, HyperFrames by HeyGen, Codebase Memory, GitHub and Serena MCP: the IDE for your agent.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): ffmpeg-skill is an open-source MCP server for design and media.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/solidworks-mcp
