Skip to main content
Glama

solidworks-mcp

An MCP server that drives SolidWorks 2022 directly from AI assistants — sketching, features (extrude/cut/revolve/fillet/chamfer/shell/patterns), driving dimensions and equations, exporting, and inspecting mass properties.

Windows only. SolidWorks automation goes through Windows COM — this must run on the same machine where SolidWorks 2022 is installed and licensed.

Download the latest release and run setup.bat — it auto-detects your Python and SolidWorks installs, installs dependencies, and configures your client. Done in one click.

Or manually:

powershell -ExecutionPolicy Bypass -File setup.ps1

Related MCP server: SolidWorks MCP Server

Client support

This repo ships the same MCP server for two AI clients:

Client

Directory

Config format

Claude Desktop

claude/

claude_desktop_config.json

opencode

opencode/

opencode.jsonc

Each directory has its own README with client-specific setup instructions and the same Python source code underneath.

solidworks-mcp/
├── README.md                    ← you are here
├── claude/                      ← Claude Desktop
│   ├── README.md
│   ├── claude_desktop_config.example.json
│   ├── server.py
│   ├── connection.py
│   ├── requirements.txt
│   ├── diagnose.py
│   └── tools/
└── opencode/                    ← opencode
    ├── README.md
    ├── opencode_config.example.jsonc
    ├── server.py
    ├── connection.py
    ├── requirements.txt
    ├── diagnose.py
    └── tools/

Quick start

Pick your client and follow its README:

Both require the same prerequisites: Python 3.10+ and SolidWorks 2022 on Windows. Install dependencies with pip install -r requirements.txt in the appropriate directory.

How it works

SolidWorks exposes its entire API over COM natively — no addon required. This server attaches to a running SolidWorks instance (or launches one) via pywin32, and exposes ~30 tools covering the full modeling workflow.

API enum constants are pulled live from your installed SolidWorks type library, so they're guaranteed correct for your install.

See the client-specific READMEs for the full tool list, example workflows, and known rough edges.

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLMs to automate SolidWorks (open/save parts, modify dimensions, export STEP) via COM, and optionally generate geometry using build123d code-CAD with PNG previews.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude to create and manipulate SolidWorks CAD models through natural language commands, automating part creation, sketching, and extrusion.
    8
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI (e.g., Claude) to control SolidWorks via natural language, automating part creation, sketching, and feature operations through the Model Context Protocol.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Agent-first CAD: editable .kcad.ts source, deterministic review, OpenCASCADE kernel.

  • AI-callable calculators and engineering models with real formulas. No hallucinated math.

  • DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/blussyya/solidworks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server