Skip to main content
Glama

FreeCAD MCP

Control FreeCAD from Claude Desktop and other MCP clients. Create and edit models, run Python scripts, inspect documents, and run FEM analyses.

Demo

Design a flange:

Designing a flange in FreeCAD

See more demos and examples for a toy car, modelling from a 2D drawing, and agent integrations.

Related MCP server: midas-nx-mcp

Quick start

You need FreeCAD and uv / uvx. FreeCAD MCP has two components: an addon running inside FreeCAD and an MCP server launched by your client.

1. Install and start the FreeCAD addon

git clone https://github.com/neka-nat/freecad-mcp.git
cd freecad-mcp

Copy addon/FreeCADMCP into your FreeCAD addon directory, then restart FreeCAD. Select the MCP Addon workbench and click Start RPC Server in the FreeCAD MCP toolbar.

See the installation guide for platform-specific commands and screenshots.

2. Connect Claude Desktop

Add the following entry to claude_desktop_config.json:

{
  "mcpServers": {
    "freecad": {
      "command": "uvx",
      "args": ["freecad-mcp"]
    }
  }
}

Restart Claude Desktop to load the configuration, keep FreeCAD open with its RPC server running, and ask Claude to create a model. Connections use localhost by default.

Documentation

Guide

Contents

Installation

Addon directories, setup screenshots, running from source

Configuration

Auto-start, text feedback, remote connections, HTTP transport

Restricted mode

Opt-in typed CAD operations, document scope, and disabled Python tools

Docker

Running the MCP server in a container, client setup, networking

Tools

Available tools, screenshots, FEM analysis

Code execution

GUI execution, background jobs, headless scripts, timeout troubleshooting

Demos and examples

Design demos, FEM example, ADK and LangChain integrations

Contributors

Made with contrib.rocks.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables MCP clients like Codex to control Ansys Workbench and ICEM CFD locally, executing scripts, managing projects, and running simulations.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to inspect models open in MIDAS Gen NX or MIDAS Civil NX, query tables and analysis results, capture window views, and preview then confirm limited model changes such as writing records or running analysis.
      16
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to create and edit parametric FreeCAD models, run Python inside FreeCAD, capture viewport screenshots, inspect documents, execute headless scripts, and run FEM analyses.
      17
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables any MCP-capable AI client to discover supported CAD, BIM, and 3D applications, run scripts that inspect or modify models, and capture viewport screenshots to verify results.
      5
      48
      MIT