Data as of
FreeCAD MCP for Claude Code: Setup & Config
Claude Code: Control FreeCAD from an assistant through an addon and Python MCP server.
What you can do with FreeCAD in Claude Code
Choose direct FreeCAD modeling with library parts, Python access, screenshots, and existing-analysis FEM runs.
- Create and revise CAD documents and objects conversationally.
- Run an existing FEM analysis and review its summary results.
Before you start: FreeCAD in Claude Code
- FreeCAD
- The FreeCADMCP addon installed in the appropriate addon directory
- uvx
- Claude Desktop for the documented client setup
Restart FreeCAD after installing the addon, choose the MCP Addon workbench, and start its RPC server. --only-text-feedback disables visual feedback. Remote RPC access requires explicit enablement and allowed IPs.
FreeCAD Claude Code configuration
Choose Claude Code configuration scope
For FreeCAD MCP, open Project scope: .mcp.json at the repository root. Project JSON: merge into mcpServers; user scope: use the CLI.
Add FreeCAD MCP to Claude Code
Use the freecad-mcp entry below in mcpServers. Keep FreeCAD MCP's documented stdio connection fields and your other Claude Code entries.
Check FreeCAD MCP in Claude Code
FreeCAD MCP: Inspect claude mcp list and /mcp status.
Config file · Project scope: .mcp.json at the repository root
{
"mcpServers": {
"freecad-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"freecad-mcp"
],
"env": {}
}
}
}claude mcp add-json --scope project 'freecad-mcp' '{"type":"stdio","command":"uvx","args":["freecad-mcp"],"env":{}}'FreeCAD tools available to Claude Code
FreeCAD's stored tool list documents 11 tools; compare it with Claude Code's connected tool list, because the stored list is not a live check.
- create_document
For FreeCAD's create_document, review the permission request and arguments in Claude Code before approval.
- create_object
For FreeCAD's create_object, review the permission request and arguments in Claude Code before approval.
- edit_object
For FreeCAD's edit_object, review the permission request and arguments in Claude Code before approval.
Change an existing CAD object's properties.
- delete_object
For FreeCAD's delete_object, review the permission request and arguments in Claude Code before approval.
Remove an object from a FreeCAD document.
- execute_code
For FreeCAD's execute_code, review the permission request and arguments in Claude Code before approval.
Run arbitrary Python within the FreeCAD application.
- insert_part_from_library
For FreeCAD's insert_part_from_library, review the permission request and arguments in Claude Code before approval.
- get_view
For FreeCAD's get_view, review the permission request and arguments in Claude Code before approval.
Capture the current active FreeCAD view as an image.
- get_objects
For FreeCAD's get_objects, review the permission request and arguments in Claude Code before approval.
- get_object
For FreeCAD's get_object, review the permission request and arguments in Claude Code before approval.
- get_parts_list
For FreeCAD's get_parts_list, review the permission request and arguments in Claude Code before approval.
List available components in the FreeCAD parts library.
- run_fem_analysis
For FreeCAD's run_fem_analysis, review the permission request and arguments in Claude Code before approval.
Run CalculiX for an existing FEM analysis and report stress, displacement, node count, and working directory.
Troubleshooting FreeCAD in Claude Code
- If FreeCAD MCP fails to start, check uvx freecad-mcp (from uv, for Python tools), the working directory, and Claude Code's selected scope; inspect claude mcp list and /mcp.
- FreeCAD MCP uses stdio here: Claude Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
- Known limitation: Requires a FreeCAD addon plus a running RPC server.
- Known limitation: The Python execution tool can run arbitrary code inside FreeCAD.
- Known limitation: Remote access requires explicit IP allowlisting and RPC configuration.
- General Claude Code troubleshooting lives in the /clients/claude-code guide.
FreeCAD MCP — details. Claude Code guide