SolidWorks
This MCP server integrates with SolidWorks API and structuring it into Claude-compatible context streams.
What is SolidWorks?
SolidWorks is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to this mcp server integrates with solidworks api and structuring it into claude-compatible context streams.
This MCP server integrates with SolidWorks API and structuring it into Claude-compatible context streams.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- This MCP server integrates with SolidWorks API and structuri
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx solidworksConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use SolidWorks
The SolidWorks MCP Server (SolidPilot) is an open-source AI assistant integration that connects Claude and other LLM clients to the SolidWorks CAD application via its API, enabling natural-language control of 3D design workflows. It uses a Python layer for prompt generation and context building, a C# adapter layer for SolidWorks version-specific automation, and a COM bridge via PythonNET to relay commands from the AI client to the live SolidWorks session. This architecture lets engineers describe design changes, query model dimensions and mate information, and automate repetitive CAD tasks through conversation rather than manual UI interaction.
Prerequisites
- SolidWorks 2020 or later installed on Windows (COM automation requires a local SolidWorks license)
- Python 3.10+ and PythonNET installed
- Node.js 18+ with npx (for MCP client integration)
- An MCP-compatible client such as Claude Desktop
- Basic familiarity with SolidWorks API concepts (parts, assemblies, mates)
Clone the repository
Clone the mcp-server-solidworks repository to your local machine. The project includes Python scripts and pre-built C# adapter DLLs for different SolidWorks versions.
git clone https://github.com/eyfel/mcp-server-solidworks.git
cd mcp-server-solidworksInstall Python dependencies
Install the required Python packages including PythonNET which provides the COM bridge to SolidWorks.
pip install -r requirements.txtVerify SolidWorks COM registration
The server communicates with SolidWorks via COM automation. Ensure SolidWorks is installed and can be launched on your machine. Run SolidWorks at least once to complete COM registration.
Add the server to your MCP client configuration
Configure Claude Desktop to launch the SolidWorks MCP server using Python. Use the absolute path to the main Python entry point in the cloned repository.
{
"mcpServers": {
"solidworks": {
"command": "python",
"args": ["/absolute/path/to/mcp-server-solidworks/main.py"]
}
}
}Open SolidWorks and start using Claude
Launch SolidWorks and open a part or assembly. Restart Claude Desktop, then start describing the CAD operations you want to perform — the server will bridge your instructions to the live SolidWorks session.
SolidWorks Examples
Client configuration
Claude Desktop MCP configuration to launch the SolidWorks Python server. Adjust the path to your local clone of the repository.
{
"mcpServers": {
"solidworks": {
"command": "python",
"args": ["/Users/you/mcp-server-solidworks/main.py"]
}
}
}Prompts to try
Natural-language prompts for SolidWorks CAD automation via Claude.
- "What are the overall dimensions of the part currently open in SolidWorks?"
- "List all the mates in the current assembly and identify any conflicting ones."
- "Change the diameter of the Boss-Extrude1 feature from 10mm to 15mm."
- "Create a new sketch on the Top Plane and add a circle with 50mm diameter."
- "Show me the mass properties of the current part including volume and surface area."Troubleshooting SolidWorks
PythonNET fails to connect to SolidWorks COM object
Make sure SolidWorks is running and a document is open before making requests. The COM connection requires an active SolidWorks session. Also verify pythonnet is installed correctly: 'pip show pythonnet'.
C# adapter DLL fails to load for your SolidWorks version
The repository includes version-specific adapter DLLs. Check the adapters/ directory for a DLL matching your SolidWorks version (e.g. SW2022, SW2023). If your version is missing, review CONTRIBUTING.md for guidance on building a new adapter.
Server starts but Claude cannot read model data
SolidWorks must have an active document open (a .sldprt or .sldasm file). The MCP server reads context from the currently active document. Open or create a SolidWorks file before issuing commands through Claude.
Frequently Asked Questions about SolidWorks
What is SolidWorks?
SolidWorks is a Model Context Protocol (MCP) server that this mcp server integrates with solidworks api and structuring it into claude-compatible context streams. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install SolidWorks?
Follow the installation instructions on the SolidWorks GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with SolidWorks?
SolidWorks works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is SolidWorks free to use?
Yes, SolidWorks is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
SolidWorks Alternatives — Similar Developer Tools Servers
Looking for alternatives to SolidWorks? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up SolidWorks in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use SolidWorks?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.