How to use Claude Code with ScadBox
Updated 24 November 2026
In ScadBox, open Settings › MCP Server, click Copy Setup Command beside Claude Code, paste it into Terminal and press Return, then start a new Claude Code session. Claude can then render your designs in ScadBox, look at them from any side, try the customizer's settings, check them for printing and export them, instead of writing code it can't see.
What you need
- ScadBox on a Mac with Apple silicon and macOS 15 or later.
- Claude Code, with its own Claude account. ScadBox doesn't include an AI.
You don't have to install anything else. ScadBox renders designs with its own built-in engine, and Claude's tools use it too. Designs are ordinary .scad files, so they open in other SCAD apps too.
Connect Claude Code
- Open ScadBox, then Settings (⌘,) and the MCP Server tab. Check that Let agents use ScadBox is on. It is unless you turned it off, and the Status line says Running.
- Under Connect an Agent, click Copy Setup Command beside Claude Code.
- Paste it into Terminal and press Return. It adds ScadBox to Claude Code for all your projects, and copies ScadBox's skills into
~/.claude/skills. - Start a new Claude Code session. Run
/mcpand you'll see thescadboxserver and its tools.
To see what you're running first, open Show the commands under the buttons. For Claude Code it's two steps, one to add the server and one to copy the skills (the skills folder's path inside ScadBox is shortened here):
claude mcp add --scope user scadbox -- '/Applications/ScadBox.app/Contents/Helpers/scadbox-mcp'
mkdir -p ~/.claude/skills && cp -R '/Applications/ScadBox.app/Contents/Resources/…/skills'/. ~/.claude/skills/
The copied command also removes an earlier scadbox entry first, so running it again is safe.
The first time you open ScadBox, the Set Up ScadBox window has the same thing: under AI Agents (optional), choose Connect… › Claude Code, and the command is copied for you. You can open that window again from Help › Set Up ScadBox.
Let Claude reach your designs
ScadBox from the Mac App Store can only use folders you've allowed. Add the folders your designs are in under Settings › General › Folders (or Add Folder… in the setup window). If Claude asks for a file outside them, ScadBox tells it which folder to ask you to add, and that call doesn't count against the free plan's limit.
What Claude can do in ScadBox
- Render:
renderreturns errors and warnings with line numbers,echo()output, the size of each part and whether the model is a closed solid. Claude renders after every edit and fixes what it reports. - Look at the model from any side:
snapshotdraws pictures from the front, top, side or any angle, with scale ticks, and can zoom into one area.sectioncuts the model open to show walls and joints inside. - Use the customizer:
get_parametersreads the sliders, switches and choices, andrenderandsnapshottake other values for them without changing the file.sweeptries every slider at its ends and every option, to find settings that break the design. - Check the print:
assesschecks the bed fit and printability,feature_checkfinds walls and details too thin for your nozzle,supportsandorientwork out supports and the best way up,stabilityandload_checkcheck stands and brackets, andslicegets real print time and filament from Bambu Studio or OrcaSlicer. See checking a print before slicing. - Design around real things:
measure_imagereads sizes off a photo or a drawing,find_objectandobject_modelgive the real size of phones, furniture, plugs and other things a part fits,get_hardwaregives screw, nut and magnet sizes, andget_printer_profilegives the fits measured for your printer. - Work on what you have open: say "the design I have open" and Claude finds ScadBox's front window with
open_designs, even if it was never saved, and changes it withwrite_open_design. ⌘Z undoes the change. - Export:
exportwrites STL, 3MF (with colours), OBJ, SVG or DXF.
The full list is on the MCP server page, and in Settings › MCP Server under Tools agents can use.
How a session goes
When Claude Code connects, ScadBox sends it a short description of how to work, and the skills fill in the details:
- Claude writes or edits the
.scadfile with its own file tools. - It calls
renderafter every edit and fixes every error and warning. - It calls
snapshotto look at the result, and compares it with what you asked for. - Before it tells you the design is done, it runs
check_design,sweep,assessandfeature_check, and fixes what they find.
Open the same file in ScadBox to watch it change. The window reloads each time Claude saves. While Claude is working, the code in that window is read-only so your edits and Claude's can't collide, but the customizer still works, and Edit Code Anyway unlocks it.
For a real example, see how an agent made the poop emoji sample from one sentence: it rendered and looked at the model, found eyelids that swung the wrong way and pupils showing through them, fixed both, and cleaned the design up until check_design found no issues.
The skills
The setup command copies ScadBox's ten skills into Claude Code. Each one is a written workflow for one kind of job, and Claude uses it when your request matches. You can also name one, for example /scadbox-print-ready.
scadbox-design: a new part, starting from the sizes that matter.scadbox-open-design: the design in ScadBox's front window.scadbox-print-ready: bed fit, orientation, supports, thin walls and the export for your slicer.scadbox-fit-real-objects: holders, mounts and inserts sized to real things, with your printer's clearances.scadbox-multi-part: lids, hinges, snap fits and kits, with assembly steps.scadbox-from-images: models from drawings and photos, logos traced into shapes, and lithophanes.scadbox-remix-mesh: adding to an STL, 3MF or OBJ you already have.scadbox-strength: brackets, hooks and stands that carry weight or must not tip.scadbox-make-customizable: fixed numbers turned into customizer settings.scadbox-text-and-colour: lettering that prints, and more than one colour.
The copy made by the setup command doesn't change when ScadBox is updated. To have ScadBox update it, go to Skills in Settings › MCP Server, click Keep Up to Date… beside Claude Code, then Continue…, and in the window that opens, with ~/.claude/skills already selected, click Install Skills. macOS asks only once. Or run the setup command again after each update.
Example prompts
Describe the object, what it holds or touches, and the sizes you know. Say where to save the file, and open it in ScadBox to watch it take shape.
“Design a wall bracket for a 1.2 kg speaker, 90 mm deep, with two screw holes. Save it to ~/Designs/speaker_bracket.scad and check it's strong enough.”
“Make the lid of the design I have open a sliding lid instead of a snap fit, and make sure every slider value still renders.”
“Here's a photo of my router with a bank card next to it. Measure it and design a stand that holds it upright without tipping.”
“Is this ready to print? Check it fits my bed, find the best way up, and export a 3MF.”
Claude Code also has the server's new_model prompt: type /mcp__scadbox__new_model and describe the object. Claude lists the real-world sizes the design depends on and asks you for any it can't reasonably assume before it starts.
Free and Pro
ScadBox is free, and on the free plan Claude can use its tools 20 times a day, which is enough to try it on a part (a typical part takes 10 to 40 calls). The count resets at midnight. When it runs out, ScadBox tells Claude, and Claude can still edit your files; everything else in ScadBox keeps working.
ScadBox Pro, US$29.99 a year, removes the limit. Some tools are Pro features: the Print Check tools (supports, feature_check, orient, hang_check, pause_plan), slice, section, object_model, measure_image, trace_image, lithophane and templates. On the free plan Claude is told, carries on without them, and those calls don't count. Exports in more than one colour are Pro too; a free export comes as an STL, or a one-colour 3MF.
Questions
- Do I need anything else installed for Claude Code to use ScadBox?
- No. ScadBox renders designs with its own built-in engine, and Claude's tools use the same engine, so there's nothing else to install. The engine can't yet import SVG, DXF or AMF files, run roof(), or export AMF, WRL or 2D PDF.
- Does ScadBox have to be open?
- The tools run inside ScadBox, so it has to be running, but you don't have to open it first: when Claude Code starts ScadBox's helper and ScadBox isn't running, the helper opens it.
- Can other computers connect to ScadBox's MCP server?
- No. Claude Code starts ScadBox's helper, scadbox-mcp, which talks to ScadBox through a private connection on your Mac. Nothing listens on your network.
- Does ScadBox include Claude?
- No. ScadBox gives the agent you already use the tools to work with your designs. You need Claude Code and a Claude account separately, and Claude's usage counts against that account, not against ScadBox.
- Can I use Codex, Gemini CLI or another agent instead?
- Yes. Settings › MCP Server has a Copy Setup Command button for Codex and for Gemini CLI, and Copy JSON for any other agent that takes an MCP server configuration.
- How many tool calls does the free plan allow?
- 20 agent tool calls a day, counted from midnight. A typical part takes 10 to 40. ScadBox Pro, US$29.99 a year, removes the limit.