solidworks-mcp
Drives SolidWorks 2022 on Windows via COM to perform CAD operations like sketching, features, dimensioning, and mass property inspection from AI assistants.
README
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.
Quick start (recommended)
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
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:
- Claude Desktop:
claude/README.md - opencode:
opencode/README.md
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.