SolidWorks MCP — Claude Code MCP server: what it does, how to install
MCP server for Claude Code that automates SolidWorks through its Windows COM interface. Generates 3D parts, assemblies, and drawings from plain-text prompts.
MIT ★ 112 updated 2026-11-16
claude mcp add solidworks-mcp-python -- uvx solidworks-mcp-pythonWhat SolidWorks MCP does
The server exposes 123 tools mapped to the SolidWorks COM API. Claude Code calls these functions to sketch on planes, extrude geometry, bore holes, and mate components. Each tool tags its status as stable, beta, experimental, or deprecated.
Execution requires Windows 10 or 11, an active SolidWorks installation, and Python 3.13+. Calls run locally through PyWin32Adapter without third-party cloud bridges.
What it helps with
- model parts and sketches from textual requirements
- assemble multi-component mechanisms with mates
- apply extrusions, cuts, and fillets automatically
- inspect and generate CAD drawings in SolidWorks
Example prompts for the agent
- Build a bracket part on the Top plane and extrude it by 10 mm
- Drill a 12.7 mm hole through the center of the upper arm
- Assemble a universal joint from parts with concentric mates
How to install SolidWorks MCP
Platform CLI
claude mcp add solidworks-mcp-python -- uvx solidworks-mcp-pythonuvx runs the command named after the package; if the README names another one, use uvx --from solidworks-mcp-python <command>
Platform CLI
codex mcp add solidworks-mcp -- uvx solidworks-mcp-pythonuvx runs the command named after the package; if the README names another one, use uvx --from solidworks-mcp-python <command>
Config file
{
"mcpServers": {
"solidworks-mcp": {
"command": "uvx",
"args": [
"solidworks-mcp-python"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from solidworks-mcp-python <command>
Config file
{
"servers": {
"solidworks-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"solidworks-mcp-python"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from solidworks-mcp-python <command>
Platform CLI
gemini mcp add solidworks-mcp uvx solidworks-mcp-pythonuvx runs the command named after the package; if the README names another one, use uvx --from solidworks-mcp-python <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about SolidWorks MCP
How to install SolidWorks MCP in Claude Code?
Run claude mcp add solidworks-mcp-python -- uvx solidworks-mcp-python in your terminal.
What does SolidWorks MCP do?
It exposes 123 automation tools over COM. Coding agents use them to build models, sketches, and assemblies directly in SolidWorks.
What are the requirements for SolidWorks MCP?
You need Windows 10 or 11, a local SolidWorks installation, and Python 3.13+.