I tried to get Claude to design and order a real PCB
What would it take to get Claude to design a circuit board and actually order it? Not a render. A real board from a real factory, with parts on it.
Anthropic says its newest model took three device ideas all the way to working boards, but the board-design tooling in that test isn't public. So I asked a simpler question: with free tools, a normal laptop and a slow internet link from overseas, how close can an ordinary person get? I spent an afternoon finding out, and the whole run is in the video: I Tried to Get Claude to Design AND Order a Real PCB.
This post is the written version, with the files. Everything is in a public repo: KK4HFJ/claude-kicad-test-led, including the setup prompt you can hand to your own AI agent.

The ground rules
- Public, free tools only.
- Claude does the design work. I review, approve and pay.
- It has to end in a real order.
- Start simple: a USB-C powered LED board about the size of a postage stamp.
The stack
The AI doesn't draw boards by itself. Claude Code is the agent, and it drives KiCad through an MCP server, which is a set of tools KiCad hands to the AI.
| Piece | Job |
|---|---|
| KiCad 10 | Schematic and PCB editor, with its own Python and kicad-cli |
| KiCad MCP server (mixelpixx) | Lets the agent create projects, place parts, wire, route, and run ERC/DRC |
| Claude Code | The agent: runs commands, keeps files |
| Freerouting 2.5 | Autorouter |
| pcbparts MCP | Live JLCPCB/LCSC stock and prices |
| @jlcpcb/mcp (community) | Pulls the exact part's symbol, footprint and 3D model into the project |
| Claude in Chrome | Lets the agent use the fab's website |
KiCad runs on my laptop, not a server, because I want to see what the AI draws. And I kept the expensive model out of it: everything here ran on the standard one.
Installing it: the part nobody shows you
It took about two hours before anything got drawn. The worst of it:
- KiCad is a 924 MB download. On a contractor's internet link it stalled at 869 MB. Pause and resume got it home.
- It installed per-user, in
AppData\Local\Programsinstead of Program Files, so every guide pointed at the wrong folder. The fix was to stop guessing and search forkicad-cli.exe. - Node.js through a version manager is invisible to the agent. Version managers only put
nodeon the PATH inside configured shells, and MCP servers start outside them. Onewingetinstall fixed it. - PowerShell wouldn't run npm until I allowed scripts for my own account.
- Freerouting 2.2 and later need Java 25. I'd installed 21. Install 25, remove 21.
- The chat assistant gave me the wrong package name for one of the parts servers. Claude Code tried it, got a 404, and found the right one (
@jlcpcb/mcp). That tool also only knows KiCad 9 folders, so parts now always go into the project folder.
Every one of these is now a line in a setup file the agent reads before it touches anything.
One prompt, and the USB-C catch
Here's the whole prompt:
Create a KiCad project called test-led with a USB-C connector, a 1k resistor and an LED, then run ERC.
Eight tool calls later there was a wired schematic and the electrical rule check came back clean. Then Claude told me something I didn't ask: the board as drawn would never light from a USB-C charger.
It was right. A USB-C source won't turn on its 5 V until it sees a 5.1 kΩ resistor from each CC pin to ground. The rule check passed, and the board would have been dead on a C-to-C cable. It added R2 and R3.
Lesson one: a clean rule check isn't a working board. The checker catches wiring mistakes. It doesn't know what a charger expects.
Layout and routing
20 × 15 mm, two layers, connector at the edge. With no autorouter installed yet, Claude routed the five nets by hand: wide traces for power, a jumper on the back between the two VBUS pins, and ground poured over the whole bottom. DRC: zero errors.
Once Freerouting was running, it routed the board in about ten seconds, DRC clean, with more vias than the hand route. An autorouter finishes the job; it doesn't polish it. On five nets, hand routing is fine. On fifty, the autorouter pays for itself.
Real parts
A schematic symbol isn't a part. The factory needs part numbers it has on the shelf. Everything came back in stock: the resistors and LED are JLC Basic parts with no setup fee. JLC has no Basic USB-C at all, so the connector is one Extended part.
The downloaded connector footprint had bugs: the shield pins were numbered wrong, and its pads were built in a way that breaks ground fills. Claude found and fixed both, then re-ran every check.
The 3D model that lied
This is where a second set of eyes mattered. In the 3D view, a resistor looked jammed right up against the connector. The rule check said it was fine, and the chat assistant I was using told me it was just the camera angle. It was wrong.
So Claude Code wrote its own tool, which nobody asked for. It reads each part's real 3D model, places it on the board, measures the actual gaps, and renders the board from four angles.

It found the real problem. The connector's 3D model sat 0.8 mm out of place and floated 1 mm above the board. The copper was always right; only the picture lied. Claude fixed the offset, and the closest real gap came out at 1.78 mm. Pass.
Lesson two: a 3D view is only as honest as its models. Now, before every order, Claude checks that each downloaded part's model actually sits on its pads.
Ordering
To reach the factory, Claude Code needs a browser. Claude in Chrome is an extension signed into the same Claude account; you start Claude Code with --chrome. It uploaded the Gerbers, the parts list and the placement file, then read back what the factory made of them: every part matched to stock, the LED pointing the right way, the connector facing the edge. It stopped at the terms and the payment, because those clicks are mine.
At JLCPCB that came to $26.75, assembled and shipped. Then the account came up restricted, and I couldn't pay. That story, with JLCPCB's own emails, is in the next post: Why I moved from JLCPCB to PCBWay.
Plan B: PCBWay
The files are portable. Gerbers are universal; only the parts list was specific to one factory. Claude Code re-exported everything in PCBWay's format, where the parts list goes by manufacturer part number instead of the factory's own catalog numbers. Claude in Chrome uploaded it (PCBWay's upload form sits inside a frame, so it opened that frame in its own tab). Five assembled boards came to $34 plus parts. A few dollars more, for an order I could actually place.
The engineer's notebook
Every time I restarted Claude Code, it forgot everything. Only what's written in files survives. So now every project keeps a NOTEBOOK.md, plus a SETUP.md of every fix we found, and Claude reads them first, every time. Old-school, and it works. The notebook for this board is in the repo.
The first sample board
On 1 December PCBWay sent eight photos of the first assembled board and asked me to confirm soldering, polarity and orientation before they built the rest. I checked them against the design:
- R2 and R3 marked 512: 5.1 kΩ, the CC pull-downs Claude added.
- R1 marked 01B: EIA-96 code for 1.00 kΩ, the LED resistor.
- D1 with its cathode to ground, matching the K/A marks PCBWay added to the photo.
- The USB-C connector seated flat, with all four shell tabs soldered through.


I approved it, and the boards are in assembly and shipping. When they arrive, the real test is simple: plug in a C-to-C cable and see if the LED lights.
What it took
- A pipeline, not a prompt: KiCad, an MCP server, an autorouter and live parts data.
- A human reviewer for the 3D views, the polarity, the cost and the final yes.
- Notes that survive restarts.
- A factory that will actually take your order. That's the one thing no model can fix.
By the numbers: two bugs caught by the AI (the USB-C pull-downs and the misplaced 3D model), one caught by a human (the view that just looked wrong), and zero dollars spent on the expensive model.
Get the files
- The setup prompt:
ai-pcb-pipeline-instructions.md. Give it to your own AI agent and tell it: "Read this file and help me set up this pipeline step by step. Verify each step before moving on." It has every install step with its check, every gotcha above, the project rules and the pre-order checklist. - The board: KK4HFJ/claude-kicad-test-led has the KiCad 10 project, both fab sets (PCBWay and JLCPCB), the 3D clearance checker, the notebook and the sample photos.
- The video: I Tried to Get Claude to Design AND Order a Real PCB.
Next up: the boards arrive and we find out if they light up. 73, Steve KK4HFJ
Reply to this post
A question, a correction, or your own results? Send it here. Replies come to me by email and aren't published. Your address is only used to answer you.