AI-powered conversational assistant for SolidWorks CAD automation using the Model Context Protocol (MCP).
ForgeAI lets you design SolidWorks parts through natural language conversation. Instead of clicking through menus and remembering commands, you describe what you want to build and ForgeAI executes the CAD operations.
Example:
You: "Create a 100x50x25mm box on the front plane"
ForgeAI: ✓ Created sketch on Front plane
✓ Added 100x50mm rectangle
✓ Extruded 25mm
You: "Add 5mm fillets to all edges"
ForgeAI: ✓ Applied 5mm fillets to 12 edges
┌─────────────────┐ stdio ┌─────────────────┐ COM API ┌─────────────────┐
│ Claude Desktop │◄──────────────►│ ForgeAI MCP │◄───────────────►│ SolidWorks │
│ (AI Client) │ │ Server │ │ │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│
▼
┌─────────────────┐
│ Screenshots │
│ (feedback) │
└─────────────────┘
- MCP Server: Python-based server exposing SolidWorks operations as tools
- SolidWorks Integration: COM API automation via pywin32
- AI Client: Claude Desktop
Phase 1: Foundation
The project is currently implementing the core part modeling capabilities defined in the V1 roadmap.
create_new_part: Create a new blank part documentsave_part: Save current document to specified path
create_sketch: Start a new sketch on a plane (Front/Top/Right)close_sketch: Exit sketch modedraw_rectangle: Draw a center rectangledraw_circle: Draw a circledraw_line: Draw a line between two pointsdraw_arc: Draw a three-point arcdraw_polygon: Draw a regular polygondraw_spline: Draw a spline through specified points
extrude: Extrude sketch (boss or cut)fillet: Apply fillet to edgeschamfer: Apply chamfer to edges
model_state: Current features, sketches, and active sketch infoscreenshot: Current viewport as PNG image
ForgeAI operates as an MCP server using the standard input/output (stdio) transport. To use it with Claude Desktop, add the server configuration to your claude_desktop_config.json file.
{
"mcpServers": {
"forgeai": {
"command": "python",
"args": ["-m", "core.mcp_server"],
"cwd": "C:\\path\\to\\ForgeAI\\src"
}
}
}See Getting Started for detailed setup instructions, or run python scripts/install_mcp.py for automatic configuration.
- Windows 10/11
- SolidWorks 2018+
- Python 3.10+
- Claude Desktop
MIT
Project started January 2026