ParCAD

Open source CAD your AI drives. Parts are code, a real CAD kernel checks them, and you export STEP, 3MF or STL for printing.

Hosted MCP Server

npx add-mcp 'https://mcp.parcad.dev/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Parametric CAD you write as code

For people and their AI agents. Select edges with a description like “hole rims on the top face”, get every part measured on an OpenCASCADE B‑rep, and connect Claude, ChatGPT or Cursor with one URL.

Open ParCAD web›

Free · AGPL-3.0 · Experimental

const plate = box(80, 60, 8).tag("plate");
const wall = box(8, 60, 40).at(-36, 0, 20).tag("wall");
 
const body = union(plate, wall, { blend: 6 });   // the blend is the fillet
const drilled = body.cut(
  ...grid(2, 2, 36, 40).map(([x, y]) => cylinder(3, 32).at(x, y)),
);
 
return drilled
  .edges({
    curve: "circle",
    role: "hole",
    adjacentTo: { faceNormal: "+z" },
  })
  .expect({ count: 4 })   // four rims, or the build stops
  .fillet(0.8);

The selector matches the four hole rims on the top face. Move a hole and it matches them again; lose one and the build stops at.expect()

Loading mesh

Exported mesh · drag to orbit

Size

80 × 60 × 44 mm

Volume

55 231.168 mm³

Bodies

1

Watertight

yes

Free and open source · macOS, Linux, Windows, browser

Why ParCAD

Code-CAD that stops when an edit breaks the part

In a CAD script, moving one hole can shift a fillet onto a different edge while the build still succeeds. ParCAD describes geometry, checks each description on every build and measures the solid it made.

The example bracket, rendered by the kernel

error expected 3 edge(s), but matched 4. The model's topology
changed; inspect the current edges and update the selector
or expectation. The edges matched, shortest first:
  18.84 mm arc at (-18.00, -20.00, 4.00), convex 90°
  18.84 mm arc at (-18.00, 20.00, 4.00), convex 90°
  18.84 mm arc at (18.00, -20.00, 4.00), convex 90°
  18.84 mm arc at (18.00, 20.00, 4.00), convex 90°

Fillet, chamfer, blended union, intersect, loft, sweep, helix, revolve, shell, draft, polar pattern and mirror A screw-top jar and its cap, 0.25 mm apart on the thread A manifold block in section

Select edges by description

Write what you mean: the circular rims that open onto the top face, the seam where the arm meets the hub. The description keeps matching after you move a hole or add three more.

A drifted selector stops the build

Add.expect({ count: 4 }) to a selector. If an edit changes what it matches, the build stops and lists every edge it found, with its length and position, so you know what to change.

One OpenCASCADE model

Your script builds a small graph, and OpenCASCADE turns it into faces and edges. The viewport, the measurements and the STEP file all come from that one solid.

Every number is measured

Reports read volume, wall thickness, whether two bores meet and the gap between a lid and its base off the built solid. The jar and cap in the picture sit 0.25 mm apart on the thread.

See inside the part

Cut any part on a plane to check that bores meet and walls keep their thickness. An agent gets the same section views over MCP.

Built so models can make models

A CAD MCP server for Claude, ChatGPT and Cursor

Connect your AI to mcp.parcad.dev/mcp, or run the same server on your own machine at 127.0.0.1:4242/mcp. The agent reads the language, then builds, measures and exports parts. Locally it works in the session you have open.

What an agent is shown: four views at one scale, two sections, and faces coloured by tag

What an agent is shown: four views at one scale, two sections, and faces coloured by tag

One URL, nothing to install

Install ParCAD in ChatGPT, or add mcp.parcad.dev/mcp to Claude, Cursor or Codex, and sign in with GitHub or Google. In ChatGPT and Claude the part shows up in 3D right in the chat.

claude mcp add --transport http parcad https://mcp.parcad.dev/mcp

How to connect ›

Pictures made for reading

Four views at one scale, sections through the inside, and faces coloured by the tag that built them, drawn for a model that reads images.

What an agent sees ›

Or on your own machine

Install with Homebrew and add one line to Claude Code or Codex, or one click in Cursor and VS Code. ParCAD web can also hand your client a link to its tab.

claude mcp add parcad -- parcad mcp

Setup guide ›

Tested on small models

Each tool reply goes to a small model over MCP, in both thinking modes. A trial counts as SOUND only when the model reached the right answer by the route the case requires.

Read the method ›

Free. Four ways to run it

Each one runs the same kernel, with the same tools and reports.

Hosted

Free

Sign in with GitHub or Google

Add one URL to your AI client and it can build parts. Nothing to install.

What you get

  • Claude, ChatGPT, Cursor, Codex or any MCP client
  • In Claude, the part in 3D right in the chat
  • Your parts in your own account
  • Limits on builds and storage per account
  • A part unused for 30 days is deleted, so download what you keep

Desktop app

Free

Releases · macOS, Linux, Windows

The editor, the viewport and the MCP server in one window.

Download›

What you get

  • macOS Apple silicon, Linux.deb and.AppImage, Windows.msi
  • Every build measures the whole eval corpus before upload
  • UI and MCP on 127.0.0.1:4242, shared live with your agent
  • Parts are plain.js files you can edit in any editor

Headless

Free

Homebrew, macOS and Linux

The same host without a window, for your browser or your agent.

What you get

  • parcad serve — the whole app at 127.0.0.1:4242
  • parcad mcp — stdio for clients that launch servers
  • parcad tools and parcad call — every tool from a shell
  • brew services start parcad keeps one up from login

ParCAD web

Free

Nothing to install

The desktop editor and kernel, compiled to WebAssembly, in a browser tab.

Open in browser›

What you get

  • Every seed part, the op palette, sections and inspection
  • Export STEP, 3MF and STL as downloads
  • Connect an AI client with a link
  • Parts live in that browser's storage
  • Heavy parts get 60 s, or up to 600 when an agent asks

AGPL-3.0. Parts you make are yours. OpenCASCADE and its bindings are LGPL-2.1, so redistributing a binary carries obligations — NOTICE.md spells them out. Builds are unsigned for now; the README says how to open them.

Operations for small mechanical parts

Fillet, chamfer, blended union, intersect, loft, sweep, helix, revolve, shell, draft, patterns and mirror, plus threads, thickened surfaces and fitted curves.

Each operation lands with a case in eval/cases/ that records what it measured. When a change moves one of those numbers, a test fails before release.

Fillet, chamfer, blended union, intersect, loft, sweep, helix, revolve, shell, draft, polar pattern and mirror, each built by the exact kernel

Fillet, chamfer, blended union, intersect, loft, sweep, helix, revolve, shell, draft, polar pattern and mirror, each built by the exact kernel

Thirty-five example parts

Brackets, flanges, manifolds and heat sinks — parts you print or machine one of. Each opens as a seed part in the app, and most have a case in the eval corpus, so an example that stops building fails a test.

All examples›

Frequently asked questions

For anything else, open an issue on GitHub.

Open an issue›

How do I connect ParCAD to Claude or ChatGPT?

In ChatGPT, install ParCAD from the plugin directory (https://chatgpt.com/plugins/plugin\_asdk\_app\_6afa3e76a9a481919a4854e2446d5801). Elsewhere, add https://mcp.parcad.dev/mcp as a connector and sign in with GitHub or Google. In Claude that's Customize, then Connectors, then Add custom connector. Claude Code and Codex take it in one line, shown under Agents above.

Nothing to install. Your parts live in your own account.

Can an AI design 3D-printable parts with it?

Yes, that's what it's for. The agent writes the part as JavaScript, and ParCAD builds it on an exact kernel and checks it: the sizes you asked for, wall thickness, what it stands on, whether it fits the thing it holds, and whether a hinge or drawer moves without hitting anything.

Export 3MF for Bambu Studio, OrcaSlicer, PrusaSlicer or Cura.

Is ParCAD the same as PartCAD?

No. PartCAD is a package manager for CAD models. ParCAD is a CAD app and an MCP server, at parcad.dev.

Is it ready for real parts?

It's experimental: one author, and the DSL still changes. Every operation is checked against measured geometry in the eval corpus, but none of it has had years of use yet.

Measure a part before you machine it.

How does it compare to CadQuery, build123d and OpenSCAD?

Those projects are older and more mature. ParCAD differs in three ways: selectors describe geometry and check how many edges they match; the viewport, measurements and STEP export come from one B‑rep; and every report carries measured numbers an agent can read.

What is it for?

Small mechanical parts: brackets, flanges, manifolds, heat sinks, enclosures — things you print or machine one of. Units are millimetres.

Which agents can use it?

Any MCP client. The hosted server works with Claude, ChatGPT, Cursor, Codex or anything that connects to a URL. On your own machine, parcad mcp works with Claude Code, Codex, Cursor, VS Code and Claude Desktop. Start the agent on read_docs, which returns the whole language in one call.

What can I export?

STEP for exact surfaces, 3MF for a slicer with each body as its own named object, and STL for a bare mesh. Each export reports the file's size, volume, watertightness and the deflection of every triangle.

Is it free, and how is it licensed?

Free. The app, the CLI, ParCAD web and the hosted server cost nothing. The hosted server has limits on builds and storage per account.

GNU AGPL-3.0 or later. The parts you make are yours: part scripts and everything ParCAD exports from them can be licensed however you like, and the seed parts are MIT. Releases through v0.0.9 stay MIT or Apache-2.0.

OpenCASCADE and its bindings are LGPL-2.1, so redistributing a binary carries obligations; NOTICE.md spells them out.