FreeCAD MCP MCP Server

A server to interact with FreeCAD models using the Model Context Protocol (MCP).

Local serverstdioPython

What is the FreeCAD MCP MCP server?

A server to interact with FreeCAD models using the Model Context Protocol (MCP). That is what the freecad mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

This repository is a FreeCAD MCP that allows you to control FreeCAD from Claude Desktop.

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

The tools it exposes

The server publishes 12 tools. What each one is for:

  • create_document — Create a new document in FreeCAD
  • create_object — Create a new object in FreeCAD
  • edit_object — Edit an object in FreeCAD
  • delete_object — Delete an object in FreeCAD
  • execute_code — Execute arbitrary Python code in FreeCAD
  • insert_part_from_library — Insert a part from the parts library
  • get_view — Get a screenshot of the active view
  • get_objects — Get all objects in a document
  • get_object — Get an object in a document
  • get_parts_list — Get the list of parts in the parts library
  • run_fem_analysis — Run the CalculiX solver on an existing Fem::FemAnalysis and return summary results (max von Mises stress, max displacement, node count, working
  • Demo — This is the conversation history. https://claude.ai/share/7b48fd60-68ba-46fb-bb21-2fbb17399b48

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 12 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch FreeCAD MCP.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. FreeCAD MCP's toolset — create_document, create_object, edit_object and 9 more — is a fair guide to whether it matches your workflow.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
create_documentCreate a new document in FreeCAD.
create_objectCreate a new object in FreeCAD.
edit_objectEdit an object in FreeCAD.
delete_objectDelete an object in FreeCAD.
execute_codeExecute arbitrary Python code in FreeCAD.
insert_part_from_libraryInsert a part from the [parts library](https://github.com/FreeCAD/FreeCAD-library).
get_viewGet a screenshot of the active view.
get_objectsGet all objects in a document.
get_objectGet an object in a document.
get_parts_listGet the list of parts in the [parts library](https://github.com/FreeCAD/FreeCAD-library).
run_fem_analysisRun the CalculiX solver on an existing Fem::FemAnalysis and return summary results (max von Mises stress, max displacement, node count, working directory). Auto-creates a SolverCcxTools if the analysis has none. See [exa
DemoThis is the conversation history. https://claude.ai/share/7b48fd60-68ba-46fb-bb21-2fbb17399b48

How to install the FreeCAD MCP MCP server

```json
{
  "mcpServers": {
    "freecad": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/freecad-mcp/",
        "run",
        "freecad-mcp"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use FreeCAD MCP to create document.
  • Use FreeCAD MCP to create object.
  • Use FreeCAD MCP to edit object.

Frequently asked questions

It connects FreeCAD MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 12 tools (create_document, create_object, edit_object, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with FreeCAD MCP directly.