Skip to content
MCP server

SolidWorks MCP

Drive SolidWorks parts, assemblies and drawings from AI agents over the COM API

Runs locallyStatus and history
Pricing
Open source
Platforms
Windows, CLI
Runs
Locally
Version
2.0.0
Listing updated
3 days ago

About SolidWorks MCP

SolidWorks MCP is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.

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.

Install

Run in a terminal

claude mcp add solidworks-mcp-python -- uvx solidworks-mcp-python

Add to claude_desktop_config.json

{
  "mcpServers": {
    "solidworks-mcp-python": {
      "command": "uvx",
      "args": [
        "solidworks-mcp-python"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "solidworks-mcp-python": {
      "command": "uvx",
      "args": [
        "solidworks-mcp-python"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Open source

MIT-licensed; requires your own SolidWorks licence

Prices change. Check andrewbartels1.com before you buy.

SolidWorks MCP 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 to SolidWorks MCP

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Hosted MCP connector for creating and rendering videos from HTML through AI chat

    • Remote
    • Freemium
    • 85.3K GitHub stars
    • Design and media
  3. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  4. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  5. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  6. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory