freecad-ai (josheeg)

MCP server with 36 tools that lets an AI assistant drive FreeCAD 1.1 headlessly over an XML-RPC bridge, built with a fail-closed tool contract that returns typed errors instead of raising.

Summary rewritten from the vendor site because the catalog version did not match it.

MCP serverOpen sourceMaintainedMCAD

What it does and how it connects

freecad-ai is an MCP server that lets an AI assistant drive FreeCAD 1.1 headlessly over an XML-RPC bridge. The server runs on its own Python and reaches FreeCAD over the bridge so the two never share an interpreter; the process boundary is deliberate, because FreeCAD links python311.dll and cannot be imported from any other Python. FreeCAD starts on the first tool call, not at server startup, and runs headless with no GUI instance. Requirements are Python 3.14 managed by uv and FreeCAD 1.1.

The tools cover documents, Part primitives, geometry description, properties, booleans, fillets, chamfers, mirrors, arrays, placement, shape summaries, mass properties, distances, point-in-solid tests, cross-sections, and sketches with named constraints, including a refuse rule: an unclosed profile does not fail at extrude time, it produces a wrong solid, so extrude_sketch refuses one explicitly. Dimensional properties are reported as value-plus-unit objects rather than bare numbers, and a value read back with get_properties can be passed straight to set_property.

The tool contract is fail-closed: a failing tool returns a typed error result carrying a stable kind and a hint (for example DocumentNotFound with "Call new_document with that name first") instead of raising, so an agent can recover instead of guessing. The bridge is unauthenticated and bound to loopback by default; the README warns not to widen the bind address, since anyone who can reach the port has full control of FreeCAD.

Recurring errors it addresses

Error Index entries this tool is built to reduce or work around.

Sources

  1. 1READMEgithub.com
  2. 2GitHub repo statsapi.github.com
  3. 3Latest releasegithub.com

Not verified

  • Pricing: none stated on the repo.
  • Real user voices: no real linked post read for this page; the repo has no public issues.
  • The catalog one-liner said 24 tools; the README states 36 tools, so the one-liner was rewritten from the README.

Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.