Solidworks Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Solidworks Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Automate SolidWorks using natural language through Claude AI and the Model Context Protocol (MCP)
SolidWorks MCP Server is a production-ready Model Context Protocol server that lets Claude AI control SolidWorks through natural language. Instead of manually clicking through menus, you simply tell Claude what to design — and it builds it for you.
Example prompts you can use:
| Category | Tool | Description |
|---|---|---|
| Connection | connect_solidworks | Connect to running SolidWorks instance |
| Connection | get_solidworks_info | Get version and installation info |
| Documents | create_new_part | Create a new part document |
| Documents | create_new_assembly | Create a new assembly document |
| Documents | open_document | Open an existing SolidWorks file |
| Documents | close_document | Close the active document |
| Documents | save_document | Save the active document |
| Documents | list_open_documents | List all open documents |
| Sketches | create_sketch | Create a sketch on a plane (Front/Top/Right) |
| Sketches | close_sketch | Exit the active sketch |
| Sketches | draw_circle | Draw a circle by center and radius |
| Sketches | draw_rectangle | Draw a rectangle by two corners |
| Sketches | draw_line | Draw a line between two points |
| Sketches | draw_arc | Draw an arc by center and angles |
| Sketches | draw_polygon | Draw a regular polygon (triangle, hex, etc.) |
| Features | extrude_sketch | Boss-extrude the active sketch |
| Features | cut_extrude | Cut-extrude to remove material |
| Features | fillet_edges | Add fillets to selected edges |
| Features | chamfer_edges | Add chamfers to selected edges |
| Features | list_features | List all features in the model |
| Utilities | set_units | Change default unit (mm/inch/cm/m/ft) |
| Utilities | execute_python | Execute custom Python code in SW context |
git clone https://github.com/alisamsam/solidworks-mcp.git
cd solidworks-mcppip install -r requirements.txtAdd the following to your claude_desktop_config.json:
Location: C:\Users\YOUR_NAME\AppData\Roaming\Claude\claude_desktop_config.json
{
"mcpServers": {
"solidworks": {
"command": "python",
"args": ["C:\\path\\to\\solidworks-mcp\\solidworks_mcp_server.py"]
}
}
}solidworks-mcp/
├── solidworks_mcp_server.py # Entry point
├── solidworks_mcp/ # Main package
│ ├── __init__.py # Package exports (v3.0.0)
│ ├── server.py # MCP server & tool definitions
│ ├── config.py # Configuration management
│ ├── config.json # Default settings
│ ├── constants.py # SolidWorks constants & enums
│ ├── automation/ # Core automation modules
│ │ ├── base.py # Connection management
│ │ ├── documents.py # Document operations
│ │ ├── sketches.py # Sketch operations
│ │ └── features.py # Feature operations (SW 2025 fixed)
│ └── utils/ # Utility modules
│ ├── units.py # Unit conversion system
│ └── sw_finder.py # Auto-detect SolidWorks
├── requirements.txt
├── .gitignore
└── DEVELOPMENT_ROADMAP.md # Future development planEdit solidworks_mcp/config.json to customize behavior:
{
"exe_path": "auto",
"default_unit": "mm",
"startup_timeout": 120,
"log_level": "INFO",
"default_extrude_depth": 10.0,
"default_fillet_radius": 2.0
}| Setting | Default | Description |
|---|---|---|
exe_path | "auto" | Path to SLDWORKS.exe or auto-detect |
default_unit | "mm" | Default unit for all dimensions |
startup_timeout | 120 | Seconds to wait for SW startup |
log_level | "INFO" | Logging verbosity |
This server includes special handling for SolidWorks 2025 API changes:
FeatureExtrusion3 → FeatureExtrusion2 → FeatureBossSimplefeat.Name, feat.GetTypeName2(), IsSuppressed2()execute_python toolContributions are welcome! Please:
git checkout -b feature/my-featuregit commit -m "Add my feature"git push origin feature/my-featureThis project is licensed under the MIT License — see the LICENSE file for details.
Samsaam Ali Baig
⭐ If this project helps you, please give it a star!
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.