Search tools, AI agents, MCP servers
Submit a tool

Search iThub

Search tools, categories and collections. Type at least two characters.

Explore all tools
↑ ↓ to explore resultsEnter to open · Esc to close

FreeCAD MCP

Model Context Protocol server and FreeCAD addon that let an MCP client create, edit and inspect parametric CAD models

MCP ServersOpen source

FreeCAD MCP at a glance

Pricing
Open source
Deployment
Windows / macOS / Linux app
License
Open source
Platforms
WindowsmacOSLinux
Language
Python
Tool type
MCP server
Data location
Runs locally: the FreeCAD addon and MCP server exchange XML-RPC calls on localhost by default, and execute_code and FEM solves run inside the user's own FreeCAD installation with no vendor cloud component.
Works with
claude desktop, claude code, Cursor, VS Code
Maker
neka-nat
Founded
2023

What is FreeCAD MCP?

FreeCAD MCP is a Model Context Protocol server for FreeCAD, the open-source parametric 3D CAD application it controls. It has two components: an addon that runs inside FreeCAD and exposes an XML-RPC server, and a separate MCP server process that a client such as Claude Desktop, Claude Code or Cursor launches and talks to. The MCP server translates each tool call into an XML-RPC request to the addon, which runs the operation on FreeCAD's GUI thread and can return a rendered screenshot of the result. The repository was created on November 25, 2023 and the latest tagged version is v0.1.32, dated November 16, 2026, which both the addon manifest and the GitHub tag history confirm. The project has not published a GitHub Release; version tracking is done through the addon's package.xml and git tags.

The addon and the MCP server are maintained together but versioned and distributed separately. The addon is copied by hand into FreeCAD's user addon directory, for example %APPDATA%\FreeCAD\v1-1\Mod\ on Windows or ~/.FreeCAD/Mod/ on Ubuntu, as described in the installation guide. The MCP server is a Python package published for uv or uvx and requires Python 3.12 or later, while FreeCAD's own bundled Python can still be 3.11. A Docker image is also documented for running the MCP server in a container, with FreeCAD and the addon kept on the host. Communication between the two components uses a protocol version that both sides report; protocol 3, the current one, adds generation scoped GUI dispatch, task history and exclusive admission for shared scripts, and the server warns when the addon and server protocol versions do not match.

FreeCAD MCP is released under the MIT license, the same as stated in its Python package metadata. Its dependencies include the official mcp SDK, Pydantic, PyJWT and the validators package. The maintainer, neka-nat, also publishes other open source projects on GitHub, including cupoch, a GPU accelerated robotics and point cloud library, and probreg, a point cloud registration package, each with more than 1,000 GitHub stars.

The project is scoped to driving an existing FreeCAD installation; it does not package or ship FreeCAD itself, and it has no mobile or web client. The RPC server the addon starts has no authentication and does not encrypt traffic by default: it listens on localhost only unless remote connections are explicitly enabled, and the configuration guide documents an optional auth token and an SSH tunnel as alternatives to opening the port to a network.

Key capabilities

  • Document management create_document, list_documents and reload_document create a FreeCAD document, list the documents currently open and close and reopen a saved document so external file changes, such as the output of a headless script, are picked up.
  • Object creation and editing create_object, edit_object and delete_object create, modify and remove objects in a document. A failed edit rolls back its transaction, and a creation failure removes the new object rather than leaving a partial one behind.
  • Document inspection get_objects and get_object return the objects in a document or the properties of one object. Missing documents or objects are reported as errors rather than as empty results.
  • Viewport screenshots get_view returns a screenshot of the active view in one of nine orientations, including Isometric, Front, Top and Dimetric, with optional width, height and focus object parameters. create_object, edit_object, delete_object, get_objects, get_object, execute_code, insert_part_from_library and run_fem_analysis can also return an optional screenshot, controlled per call or disabled globally with the --only-text-feedback flag.
  • Python execution on the GUI thread execute_code runs a Python script inside FreeCAD with access to FreeCAD/App and FreeCADGui/Gui aliases and a persistent shared namespace across calls, with a default 90 second execution budget that can be raised up to 1800 seconds.
  • Background and headless execution execute_code_async starts a background job and returns a job ID for get_async_status; a commit() helper applies results back on the GUI thread. execute_code_headless runs a script in a separate freecadcmd process, so a native crash in geometry code does not affect the running FreeCAD session.
  • RPC and version status get_rpc_status reports listener state, GUI dispatch health, queue and job counts, the addon's reported version and whether its protocol matches the MCP server's, without needing the GUI thread.
  • Parts library access insert_part_from_library and get_parts_list insert parts from and list the contents of the community FreeCAD parts library.
  • FEM analysis run_fem_analysis runs the CalculiX solver on an existing FEM analysis container, auto creating a solver object if needed, and returns maximum von Mises stress, maximum and minimum displacement, node count and the applied loads with their units.
  • Installing the FreeCAD addon The addon/FreeCADMCP directory from the repository is copied into FreeCAD's user addon directory, for example Mod/FreeCADMCP, after which the MCP Addon workbench and its Start RPC Server command appear inside FreeCAD.
  • Installing the MCP server The server is run with uvx freecad-mcp without a separate install step, or from a cloned checkout with uv sync and uv run freecad-mcp for development. It requires Python 3.12 or later, kept separate from FreeCAD's bundled interpreter.
  • Docker image A Dockerfile builds an image that runs only the MCP server; FreeCAD and the addon still run on the host. execute_code_headless is unavailable in the image because it has no FreeCAD installation.
  • Remote connections and auth token The addon can bind to all interfaces with an allowed IP or CIDR list, and an auth token can be set on the addon and passed to the server through FREECAD_MCP_TOKEN. An SSH tunnel is documented as an alternative that keeps the RPC port on localhost.
  • HTTP and SSE transports Besides the default stdio transport, the server can run --transport streamable-http or the deprecated sse transport as a long lived service, with a separate listen token, --allowed-host entries and DNS rebinding protection for non-loopback addresses.

Where FreeCAD MCP fits

Creating and editing parametric models through a conversation

An MCP client can call create_document and create_object to build primitives, sketches and features, then edit_object to change their properties, with FreeCAD recomputing the parametric history after each change. The documented demos show a flange and a toy car built this way, and a conversation history link for the toy car example is included in the demos page.

Inspecting a document and reviewing visual feedback

The get_objects and get_object tools return the current object tree and object properties as data, while get_view and the optional screenshots on other tools return a rendered image of the 3D view so a change can be checked visually. Screenshots are limited to the document currently displayed and do not show another open document.

Running long or isolated computations

Pure geometry work that does not need document or view access can run through execute_code_async, which hands results back to the GUI thread with a commit() call. Operations prone to native crashes, such as lofts, sweeps or boolean operations with many B-spline surfaces, can instead run in a separate freecadcmd process through execute_code_headless, which reports a crash signal without ending the FreeCAD session.

Modeling a part from a 2D drawing or converting an existing file

The demos page documents building a 3D part from an input 2D engineering drawing supplied as an image. The same tool set, combined with FreeCAD's STEP, IGES, STL and DXF import and export, covers inspecting and modifying an existing CAD file rather than only starting from an empty document.

Structural analysis with FEM

An existing Fem::FemAnalysis container with a mesh, material and constraints can be solved with run_fem_analysis, which runs CalculiX and reports stress, displacement and the loads it read from the model. The cantilever FEM example builds a beam, meshes it, solves it and compares the result with an analytical solution.

Connecting a client over a network or from a container

By default the addon's RPC server and the MCP server both listen on localhost only. The configuration guide documents enabling remote connections with an IP allow list and auth token, an SSH tunnel alternative, and running the MCP server itself as an HTTP service, including the Docker setup for host and bridge networking. Similar projects in the directory with their own built-in MCP server include SolidCraft and CADCraft, both parametric CAD applications rather than addons for an existing one.

Install

uvx freecad-mcp

Reviews of FreeCAD MCP

No reviews yet

Be the first to share your experience with FreeCAD MCP.

Loading review form…

Found FreeCAD MCP useful? Upvote it todayYour vote helps other IT teams find it in the daily ranking.

Similar to FreeCAD MCP

Compare:FreeCAD MCP vs CADCraftFreeCAD MCP vs SolidCraftFreeCAD MCP vs Firecrawl MCP Server

  1. CADCraftOpen-source Rust 2D and 3D CAD app with a command line, DXF and DWG files, layouts, AutoLISP, a CLI and an MCP serverCAD & 3D2 views
  2. SolidCraftOpen-source parametric 3D CAD in Rust with an editable feature timeline, desktop and browser apps, CLI and MCPCAD & 3D69 views
  3. Firecrawl MCP ServerA Firecrawl connector for web search, page extraction, site mapping and bounded crawling with Markdown or structured results.MCP Servers19 views
  4. HA-MCPCommunity MCP server that lets Claude, ChatGPT and other AI clients configure, automate and debug Home AssistantMCP Servers4 views
  5. MCP Google Drive ServerArchived: An archived Google Drive reference server for listing, searching and reading files, including exported Google Workspace documents.MCP Servers4 views
  6. MCP SQLite ServerArchived: An archived SQLite connector with schema inspection, read and write queries, table creation and a business-insights memo.MCP Servers4 views
  7. easi.runSelf-hosted Chrome for AI agents via MCP/REST, with live viewing and human takeover. Free AGPL-3.0-only software. Bring your Linux/Docker server and agent/model; their costs are separate.MCP Servers4 views
  8. MCP Git ServerA Python MCP server for inspecting and changing a local Git repository, including status, diffs, staging and commits.MCP Servers3 views