SolidWorks MCP
Automate SolidWorks via COM (Windows)
Runs as a server Claude Code connects to. It needs its own configuration, and some servers need an API key.
Install just this one
Run in your terminal — needs Node
npx archtmpl@latest --mcp solidworks-mcpFirst time? The whole install, step by step
- Open Claude Code — the terminal version or the desktop app, either one.
- In a terminal, paste the line above and press Enter. In the app, paste it into the chat and ask Claude to run it.
- Restart Claude Code. That's the whole install.
The same JSON shown on this page works in the Claude desktop app without Claude Code. Add it to the app's config file, then restart the app:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
What this mcp server does
shell
1{ 2 "name": "SolidWorks MCP", 3 "summary": "Automate SolidWorks via COM — parts, sketches, drawings, exports through natural language", 4 "repo": "https://github.com/vespo92/SolidworksMCP-TS", 5 "preInstall": [ 6 { "shell": "test -d \"$HOME/.claude-arch/solidworks-mcp\" || git clone https://github.com/vespo92/SolidworksMCP-TS \"$HOME/.claude-arch/solidworks-mcp\"" }, 7 { "shell": "cd \"$HOME/.claude-arch/solidworks-mcp\" && npm install && npm run build" } 8 ], 9 "mcpServers": {10 "solidworks": {11 "command": "node",12 "args": ["${HOME}/.claude-arch/solidworks-mcp/dist/index.js"],13 "env": {14 "SOLIDWORKS_PATH": "C:\\Program Files\\SOLIDWORKS Corp\\SOLIDWORKS",15 "ADAPTER_TYPE": "winax-enhanced"16 }17 }18 },19 "postInstallNotes": "Windows only — COM interop. Requires SolidWorks 2021-2025 installed and licensed, and Node.js 20+; the winax native module compiles during npm install and must be built on the same Windows machine that runs SolidWorks. Adjust SOLIDWORKS_PATH if your install is elsewhere. Per the README this project is alpha/experimental — most tools beyond basic sketch/extrusion have not been validated against a live SolidWorks instance."20}21