pcbjs
PCB design as TypeScript and JSX where a board module compiles to routed tracks, pours, DRC and ERC, Gerber X2, drills, BOM, and placement files.
Summary rewritten from the vendor site because the catalog version did not match it.
What it does and how it connects
pcbjs is PCB design as TypeScript and JSX. A board is a TSX module: nets and parts are values, JSX places them, and one compile routes what is left to the autorouter, fills pours, runs DRC and ERC, and writes Gerbers, drills, a BOM, and a placement file, all zipped, plus 2D, 3D, and schematic viewers that link every item back to its code.
The loop is pcbjs check, which compiles, routes, and runs DRC and ERC with one line per finding naming the source line to change. Findings carry position, references, and the source line; pcbjs inspect prints where parts, pads, and nets ended up in absolute millimetres. Routes can be drawn by hand or left to the autorouter, with differential pairs, length tuning, keepouts, teardrops, and pours.
It ships an MCP server and agent skills through pcbjs mcp and pcbjs skills install, a language server for editors, and a VS Code extension. Fab presets carry the stackup and rules, with JLCPCB and OSHPark named in the README, and KiCad footprints and boards can be imported for editing.
Alternatives
Compare side by side- tscircuit
Designs boards in TypeScript and React in a browser or CLI workflow, while pcbjs is a TypeScript and JSX board module compiled by its own toolchain.
- atopile
A code-first language and compiler for electronics, while pcbjs expresses the board as a TSX module with JSX placement.
- PCB-Agent-Teams
A multi-agent team that designs boards, while pcbjs is a deterministic compiler from TSX source to fab files.
- DeepPCB
A cloud routing service for an already placed board, while pcbjs routes, checks, and exports from TSX source.
- TraceMaker
A local router for existing KiCad files, while pcbjs starts from TSX source and compiles the whole board.
Sources
Not verified
- Pricing (none stated on the repo)
- Real user voices (the repo has no open issues)
- Related Error Index entries (no matching entry verified)
- A named individual builder beyond the pcbjs organization
Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.