kicad-utilities-wasm
KiCad's native DRC and ERC checks, STEP export, and Specctra DSN/SES file handling compiled to WebAssembly, so boards can be checked in a browser or Node.js with no KiCad install.
What it does and how it connects
kicad-utilities-wasm compiles KiCad's validation and export tools to WebAssembly so they run in a browser or in Node.js without a native KiCad installation. The DRC side runs 26 test providers covering clearance, track width, hole size, annular width, silk and mask, courtyard and connectivity checks. The ERC side covers 42 violation types, including pin conflicts, power integrity, unconnected nets and hierarchical sheet validation. Both return JSON that follows KiCad's published drc.v1 and erc.v1 schemas. The WASM binary is about 7 MB and is multithreaded through WebAssembly pthreads.
Beyond checks, it generates 3D STEP models from PCB layouts using OCCT, extracting board geometry such as the stackup, drill holes and component positions, with an option to engrave the silkscreen into the board body for laser-engraved panel previews. It also exports Specctra DSN files for autorouter integration and imports SES files to apply routed tracks back onto the board.
The README is explicit about the limits of the port. Violation counts can differ from kicad-cli: on the sample board the WASM build reports 4 violations against 6 from kicad-cli, because library parity warnings need footprint library access and schematic data that standalone mode does not have. Schematic parity checks are skipped for the same reason, and browser use needs SharedArrayBuffer, which means the page must be served with Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers.
Alternatives
Compare side by side- KiCad
KiCad is the full native EDA suite these checks come from, GUI, schematic capture and layout editor included. kicad-utilities-wasm ports only KiCad's DRC and ERC engines plus its STEP and Specctra export tools to WebAssembly, so they run standalone in a browser or Node.js with no KiCad installation.
- kicad-mcp-pro
kicad-mcp-pro is an MCP server that drives a native KiCad installation so AI agents can run ERC/DRC, DFM, BOM and export workflows. kicad-utilities-wasm instead compiles the check engines themselves to WebAssembly, so the checks run embedded in a web page or a Node process, with no KiCad install and no agent layer.
Recurring errors it addresses
Error Index entries this tool is built to reduce or work around.
- A KiCad MCP bridge normalizes DRC, connectivity, and geometry into its own output format, and that normalized output can silently disagree with the native KiCad engine. The maintainer had to build seeded false-PASS and false-FAIL tests because the bridge layer cannot be trusted as engineering truth on its own.Error Index
- run_erc returned 0 violations, 0 warnings, and 0 errors for an ERC report it could not parse. A parse failure reads as a clean board.Error Index
- An engineer running Claude Code against KiCad found the agent kept repeating a stale claim of 19 DRC violations that lived on in prose docs. MCP tool summaries cannot be treated as live numbers; only DRC message text and actual exports are authoritative.Error Index
Sources
Not verified
- License: no LICENSE file is in the repo and the GitHub API returns no license, so no license is stated for the project's own code. The README notes it builds on KiCad source, which is GPL-3.0.
- No GitHub releases exist, so latest release fields are null.
- Pricing: none stated on the repo.
- Real user voices: no real linked post read for this page.
Last verified November 24, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.