FreeCAD Claude Bridge

Claude × FreeCAD

Talk to your CAD.

Describe what you want to Claude in a chat panel inside FreeCAD, or from Claude Code. Claude builds it in your open document, checks walls, overhangs and fits, and exports print-ready files. Toys, storage, dollhouses, figures, scale models and spare parts. Every step is exactly one undo step.

  • Free, MIT licence
  • FreeCAD 1.0 or newer
  • macOS, Linux, Windows
Claude panel
Make a 40×30×10 mm block with a 10 mm hole in the middle and export it as STEP.
Top 40 30 Ø10 Front 10 Iso X Y Z BLOCK-40x30x10 · STEP Drawn byClaude Scale1:1 Unitsmm
29tools: build, check, export and more
1 callis one undo step; failed code leaves nothing behind
3 OSmacOS, Linux and Windows, tested in CI on FreeCAD 1.1.4
Localthe bridge listens only on your own machine

01 How it works

Claude drives the same FreeCAD you use.

Nothing is rendered somewhere else. Claude sends Python to the FreeCAD you have open, so you see every change as it happens, and you can click, undo and take over at any time.

A

You and Claude

Type into the Claude panel in FreeCAD, or just ask in Claude Code. Your selection and active document travel along, so "make this face 2 mm thicker" works.

  • chat panel in FreeCAD
  • Claude Code and Desktop
  • pictures, files, model-tree objects
B

The bridge

A small MCP server with 29 tools, first of all run_python. It also carries a skill with tested FreeCAD 1.1 patterns for Part, PartDesign, Sketcher, Assembly and TechDraw.

  • started with uvx
  • checks, standard parts, export
  • heavy work in a headless job
C

The FreeCAD addon

Runs inside FreeCAD. Code executes in the GUI thread as one undo transaction. If it fails, it is rolled back, and the journal knows which edits were yours and which were Claude's.

  • one call = one undo step
  • audit log of every call
  • automatic safety copies

02 Made by chat

From a few sentences to a printable model.

Each of these was built by Claude in FreeCAD from a short description in the chat panel. The pictures are renders of the real files.

A modular dollhouse with three roofs, cut open to show furnished rooms on two floors
AA dollhouse. For a two-year-old: three modules that click together, with furnished rooms.
A storage house with a tiled roof and round slots for Tonie figures on both floors
BA Tonie storage house. A slot for every figure, and a tiled roof.
A green play board with studs, a small house, trees, a fence and a blue river
CA play board. 20 × 20 cm tiles that fit Duplo, with a house, trees and a river.
A sculpted yellow Labrador standing on a grey base
DA Labrador. A sculpted figure on a base, printed as one watertight piece.

03 Real screens

The panel, right inside FreeCAD.

These are screenshots of FreeCAD 1.1 on macOS, not mock-ups. The model in the first picture is an Audi RS5 at 1:24 with 68 parts, built by Claude from photos.

FreeCAD with the model tree on the left, a green Audi RS5 in the 3D view and the Claude panel on the right with a 3D print button
FIG. 1The panel sits in FreeCAD. Model tree on the left, the model in the middle, the Claude panel docked on the right with model, effort and permission mode. The text in the box is an example and was not sent.
The Claude panel on the dollhouse: a main chat with a sub chat, an answer as a table with status symbols and the footer of the turn
FIG. 2Chats that belong to models. A conversation opens its model. A sub chat works on one part, here the ground floor of the dollhouse. Answers come as tables with status symbols and end with time, steps and token counts.
The same car body built two ways: lofted sections with bumpy reflection stripes on the left and a faired body with calm stripes on the right
FIG. 3Smooth surfaces, checked. faired_body builds car and boat bodies from a few feature lines, and check_surface shows reflection stripes. Left: lofted through a table of points. Right: faired. Calm stripes mean a fair surface.
The 3D print dialog with printer, build volume, nozzle, colours and assembly choices, next to three pages of the generated assembly guide
FIG. 4From model to printed kit. The 3D print… button asks for your printer and for plug-together or glue. It writes the whole model as one print where possible, moving parts with axles, plates split by colour only when needed, and a PDF guide with a picture for every step.

04 Features

More than a code box.

Claude checks its own work against numbers, builds from tested parts and learns what you like.

P-01

One call, one undo step

Code that fails leaves nothing behind. Whatever Claude did, Ctrl+Z takes it back in one go.

P-02

From a picture

Attach a photo or give a file path: a keychain from a logo, a vase revolved from its silhouette, a relief plaque from a photo. All of it runs locally.

P-03

Standard parts that work

make_part builds gears, springs, threads, bolts and nuts to ISO sizes, hinges, boxes, brackets, knobs, and also wheels, lamps and grille patterns. Sizes that cannot work are refused, with the reason.

P-04

Checks with numbers

check_all measures sizes, holes, fits, walls, overhangs and stability on a saved copy, problems first. Every failed check says what it found.

P-05

3D print export

One button writes a coloured 3MF and STL, axles for parts that turn, connector pins only where needed, and a PDF assembly guide.

P-06

Sub chats for parts

A model in parts gets a chat per part: "open sub chats for the roof and the ground floor". Each starts with the main chat's history and changes only its part.

P-07

Organic shapes

sculpt blends primitives like clay: people, animals and rocks, with hair as locks and poses such as a raised arm, as one watertight mesh for printing.

P-08

It learns what you like

After a model the panel asks for a thumbs up or down. What you say becomes short lessons that every new session follows. You can read, edit or forget them.

P-09

Heavy work stays off the UI

run_headless starts a separate freecadcmd, so FreeCAD stays responsive. Even a long run_python script keeps the window redrawing.

P-10

One folder per model

Each model gets <Name>/ with the file, exports/, print/ and references/. A bare file name in an export lands there.

P-11

Updates from FreeCAD

The panel checks once a day for a newer version and offers Update now. The addon itself makes no network requests.

P-12

Links to what it made

After each answer, "New files" lists every export and save of that turn. One click opens a file, another shows it in the folder.

05 Tool list

29 tools, in three groups.

In Claude Code they are named mcp__plugin_freecad_freecad__<tool>. A selection:

Build make

Tested builders first, free code second.

  • make_part
  • sculpt
  • image_to_3d
  • run_python
  • design_library

Check prove

Run on a saved copy, so the document stays as it is.

  • check_all
  • check_print
  • check_fit
  • check_design
  • check_surface
  • flex_test
  • compare_to_picture

Work with FreeCAD do

One undo step per call, rolled back on errors.

  • status
  • get_tree
  • get_object
  • document
  • view
  • selection
  • export
  • import
  • run_headless
  • sub_chat

Allow all of them with mcp__plugin_freecad_freecad__* in permissions.allow. Screws, nuts and fits follow ISO sizes. Note that run_python runs arbitrary code in FreeCAD. Full list in the README.

06 Install

One line, one window.

The setup opens a window with a checklist. A missing item gets a Download button, and nothing is changed until everything is there. Run it again any time to update or repair.

macOS / Linux · Terminal
$ curl -fsSL https://raw.githubusercontent.com/Scharmen/FreeCadClaudeBridge/main/install.sh | sh
Windows · PowerShell
> irm https://raw.githubusercontent.com/Scharmen/FreeCadClaudeBridge/main/install.ps1 | iex

Prefer a double-click? The repository has an installer for macOS and Windows. Developers can install the plugin by hand with /plugin install freecad --marketplace Scharmen/FreeCadClaudeBridge and run /freecad:setup.

  1. It checks what you have. FreeCAD, Claude Desktop, Claude Code and your sign-in. Whatever is missing is named, with its download page.
  2. It fixes what it can. If only Claude Code or the sign-in is missing, it offers to install and log in right away. It installs uv if needed, after asking.
  3. It sets everything up. The freecad plugin goes into Claude, the Claude panel into FreeCAD, and it offers to start FreeCAD.
  4. Talk. The Claude panel appears docked on the right. Toggle it with Ctrl+Alt+K.

07 Safety and tests

Local, logged and tested.

Tested on three systems

CI runs the tests on Linux, macOS and Windows against FreeCAD 1.1.4, including the GUI on Linux.

Local and authenticated

The addon listens only locally: a Unix socket with permissions 0600, or TCP on 127.0.0.1 on Windows. Both sides prove themselves with a 32-byte token. Every call, with its code, goes into an audit log.

Code execution by design

run_python runs with your user rights. Claude Code's permission prompts are the second barrier, and in the panel you can allow once, always or deny. Treat FCStd files from unknown sources like code.

Open the sheet. Describe the part.