What is FreeCAD MCP?
FreeCAD MCP is a Model Context Protocol (MCP) server that enables you to control FreeCAD, the open-source parametric 3D CAD modeler, directly from Claude Desktop. It is designed for users who want to automate CAD design tasks, generate parts from descriptions or drawings, or integrate FreeCAD with AI-based workflows.
How to use FreeCAD MCP?
Install the FreeCAD MCP addon by copying the addon/FreeCADMCP directory to your FreeCAD Mod folder (paths differ by OS). Then restart FreeCAD, switch to the “MCP Addon” workbench, and click “Start RPC Server” in the toolbar. Configure Claude Desktop by editing claude_desktop_config.json to use uvx freecad-mcp as the MCP server command. Optionally enable auto-start of the RPC server via the FreeCAD MCP menu, or set up remote connections with --host and allowed IPs.
Key features of FreeCAD MCP
- Create, edit, and delete FreeCAD objects via natural language
- Execute arbitrary Python code in FreeCAD’s environment
- Insert parts from the FreeCAD parts library
- Capture screenshots of the active 3D view
- Run CalculiX FEM analysis and retrieve summary results
- Support for remote connections over a network
- Auto-start RPC server on FreeCAD launch
Use cases of FreeCAD MCP
- Design mechanical parts (e.g., a flange or toy car) from user descriptions
- Generate 3D models from 2D technical drawings
- Automate repetitive CAD operations with AI-driven prompts
- Perform finite element analysis (FEM) on models and inspect results
- Manage multiple documents and objects in FreeCAD remotely via Claude
评论