Freecad Mcp

FreeCAD 3D CAD automation via FastMCP — headless document/export plus FluidX3D/OpenFOAM CFD extensions. For Cursor / Claude Desktop. Webapp.

LLM Mart 4 views 24 listing impressions

Questions, improv ideas, "what if it also did X"? → Discussions — Q&A for support, Ideas for anything you'd improve but wouldn't file a whole Issue for. Bugs still go to Issues.

Install (Windows)

Download freecad-mcp-0.6.2-setup.exe - the full desktop app (webapp + embedded backend) in one installer.

  • The installer is unsigned. Windows SmartScreen will warn: choose More info > Run anyway.
  • Prefer MCP-only? freecad-mcp-0.6.2.mcpb registers the server in Claude Desktop.
  • All releases and older versions: Releases.

Two ways to use this

This project exposes FreeCAD as a server that two different kinds of users talk to:

Who How What for
MCP server (port 10944) AI agents — Claude Desktop, Cursor, Continue, any MCP client Your AI assistant calls tools like step_to_stl() or cfd_run_solver() directly. You type "convert this STEP file and slice it for my printer" and it does the whole chain. Hands-free CAD work. Agentic loops: the AI iterates design → simulate → analyze → refine without you touching the GUI.
Web dashboard (port 10945) Humans — you, in a browser A dark-mode React app: Guided Demo (cube → car → depot CRUD), Parts Studio, Depot, Convert, Models, Marketplace, BIM/CFD/FluidX3D workspaces, Chat, Logs and Settings. Point-and-click workflow. Open /demo to see the whole chain work, or upload a STEP file and click Convert.

Both talk to the same FreeCAD backend. An AI agent can prepare a simulation case, and you can inspect the results in the web dashboard — or vice versa.

Scripting & automation

Everything the AI agents and the web dashboard call goes through the same REST API at http://localhost:10944/api/v1/. You can script against it directly from Python, curl, or any HTTP client:

import requests

# Ask the AI assistant to convert a file — same API the webapp uses
r = requests.post("http://localhost:10944/api/v1/control/tool", json={
    "tool": "step_to_stl",
    "arguments": {"file_name": "bracket.step", "output_name": "bracket.stl"}
})
print(r.json())  # {"success": True, "output": "bracket.stl", ...}

# Or run a parametric study across 10 different geometries
for length in [0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0, 7.5, 10.0]:
    requests.post("http://localhost:10944/api/v1/control/tool", json={
        "tool": "cfd_create_domain",
        "arguments": {"domain_type": "channel", "length_m": length, "case_name": f"study_{length}m"}
    })

This is how you build headless pipelines: generate 100 geometry variants in a loop, run simulations on each, collect results, train a surrogate model. No GUI needed — FreeCAD runs in the background as a geometry engine.

What can I do with this?

FreeCAD is a free professional CAD modeler (like SolidWorks but open-source). Through the API, you can:

From the project's README.

Related servers

Read and write RAGE Package Format archives

23 views

See how ChatGPT, Claude, Gemini and Perplexity read any website. Scored out of 100.

19 views

MCP server for Geargrafx PC Engine / TurboGrafx-16 emulator

19 views

Read-only discovery for NeuralNg Angular components, APIs, packages, icons and theme recipes.

15 views