PartCAD
Lets your AI agent inspect, render, test and export the parts and assemblies of PartCAD hardware packages.
515 stars on GitHubby PartCADLicense Apache-2.0Updated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add partcad -- uvx partcad mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
PC_PATH | The PartCAD package to serve: a directory with a partcad.yaml, or the file. The working directory when unset. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Generate a mounting bracket with four M4 holes and render it
Render my part from the front and top
What it is
PartCAD describes a physical product as text in a Git repository: parts, assemblies, materials and requirements. It renders, tests and documents them, and produces a bill of materials and assembly instructions. Its MCP server (pc mcp) lets AI agents work with those packages.
What it can do
pc mcp: start the MCP serverpc render: render a part to SVG, PNG or DXFpc test: check the ports, interfaces and simulations the objects declarepc instructions: make an assembly instruction book as PDF or HTMLpc init: create a package, with skills for Claude Code and Cursor- Analysis and simulation commands (
pc cae,pc sim,pc cam)
When to use
- βΊWhen you want an agent to write a CAD script and check the rendered result
- βΊWhen you need a bill of materials and assembly instructions from the same source
- βΊWhen you keep hardware designs in Git and want them reviewed like code
What you need
pip install -U partcad (Python), or use the PartCAD IDE or the VS Code extension. No account is mentioned.Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
cadHelps your agent design 3D parts and assemblies as Python build123d scripts, export them as STEP or STL files, and check their measurements.lab-hardware-cadHelps your agent create 3D models of lab parts. It exports these models for manufacturing, useful for creating custom equipment.canva-automationHelps your agent automate tasks in Canva. It can create designs, export files, and manage brand templates. It's useful for speeding up the creation of visual materials.Frequently asked questions
Is it free and open source?
Yes. The readme says it is licensed under Apache 2.0.
What CAD formats does it handle?
CadQuery, build123d, OpenSCAD, STEP, STL, 3MF, KiCad PCBs and many more, listed in the readme.
What can it export?
STEP, BREP, STL, 3MF, OBJ, IGES, glTF, URDF, 2D projections, drawings, Markdown and PDF or HTML instruction books.
Does it work with agents?
Yes. It has Agent Skills for Claude Code and Cursor, an MCP server and plain-text output on every command.
Do I need Python?
Only for the pip route. The PartCAD IDE and standalone tools are other options.
Where do I start?
The readme points to a tutorial and an examples folder with one directory per feature.
If it does not work
- βΊSee the Installation page linked in the readme for the MCP server and per-OS notes
- βΊRun
pc initinside a folder to create a package before using other commands - βΊIn Claude Code, run
/pc:setupafter installing the plugin
5 new skills a week. 1 minute to read.