
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
kicad-copilot-mcp
Advanced tools
File-oriented MCP server for KiCad schematics, PCB placement, routing, and pours
AI-powered MCP server for KiCad. Create and modify schematics from natural language, search real components, work with hierarchical projects, generate PCB placement, route boards locally, and create simple copper pours directly through an AI agent.
KiCad Copilot is the KiCad counterpart to EasyEDA Copilot. It provides the same core circuit-generation and PCB automation capabilities—and goes further with file-oriented hierarchical projects, recoverable checkpoints, native kicad-cli integration, and fully local PCB routing.
Recommended companion: kicad-happy complements KiCad Copilot with independent design review, datasheet-backed analysis, SPICE simulation, EMC pre-compliance, BOM sourcing, and manufacturing checks. Use KiCad Copilot to build and modify the design, then use kicad-happy to analyze and review it.
KiCad Copilot gives AI agents a high-level, file-oriented interface to KiCad:
kicad-cli for ERC, DRC, previews, exports, manufacturing files, and other native operations.KiCad Copilot works directly with saved .kicad_pro, .kicad_sch, and .kicad_pcb files. It does not require KiCad IPC or a plugin installed inside KiCad.
These projects were generated and iterated through KiCad Copilot. The complete KiCad source files are available in the examples directory.
A hierarchical ATmega328P design with the MCU core, clock, reset, decoupling, USB-UART power, Nano-compatible headers, and debug connections split across functional sheets.
![]() Project overview | ![]() USB-UART and power |
![]() MCU core | ![]() Nano headers and debug |
Download the ATmega328P project
A larger multi-sheet design covering power input, 3.3 V regulation, the high-voltage generator, flyback stage, feedback, detector, controller, and user interface.
![]() Project overview | ![]() Power input |
![]() High-voltage generator | ![]() Detector |
![]() Controller UI | ![]() 3.3 V power |
![]() HV flyback | ![]() HV feedback |
![]() User interface |
Download the Geiger high-voltage project
A hierarchical RP2350 design with power, clock, flash, USB/debug, GPIO headers, and an AI-generated PCB placement. The example includes the placement DSL and an editable KiCad board.
![]() Project overview | ![]() Power |
![]() RP2350 and clock | ![]() Flash |
![]() USB and debug | ![]() GPIO headers |
KiCad 3D render of the generated PCB placement
Add the MCP server to your AI agent.
Codex:
codex mcp add kicad-copilot -- npx -y kicad-copilot-mcp
Claude Code:
claude mcp add kicad-copilot -- npx -y kicad-copilot-mcp
Generic MCP configuration:
{
"mcpServers": {
"kicad-copilot": {
"command": "npx",
"args": ["-y", "kicad-copilot-mcp"]
}
}
}
Restart the MCP client after adding the server. KiCad Copilot includes local workflow documentation for the agent; tool descriptions expose its installed path automatically.
KiCad Copilot searches for kicad-cli in PATH and standard KiCad installation locations, preferring KiCad 10 when multiple supported versions are installed. Set KICAD_CLI_PATH when the executable is stored elsewhere.
The first real-component conversion uses an existing EasyEDA2KiCad installation or installs it automatically into a managed local virtual environment.
Ask the agent to inspect a KiCad project or give it the path to a target .kicad_sch file. A typical request can be as simple as:
Open D:\Projects\sensor\sensor.kicad_pro and add a 3.3 V regulator block to the Power sheet.
The agent can inspect the project tree, read the target sheet as compact component/net JSON, find exact components, assemble the requested change, and validate the saved result through KiCad.
Hierarchical projects remain file-oriented: each physical schematic sheet is modified through its own .kicad_sch path, while project-wide context is used where the operation requires the complete signal map.
KiCad Copilot changes files on disk. KiCad does not reliably merge those changes with newer unsaved edits in an already open editor.
Before a write:
After a write:
PCB placement and routing use an explicit review flow:
.kicad_pcb file.Placement previews are never applied automatically. The agent receives a layout_id only for an explicitly generated result and uses it to assemble the intended board after review.
Routing, pours, and placement are separate operations. This keeps schematic-to-PCB synchronization explicit and makes it possible to clear or rebuild routing without deleting placed components.
get_project_info reports the discovered kicad-cli path and version. Agents should use the native CLI whenever KiCad already provides the operation, including:
See KiCad CLI workflow for ready-to-use commands.
| KiCad version | Status |
|---|---|
| KiCad 10 | Supported |
| KiCad 9 | Supported |
Other major versions are rejected because their file formats and CLI behavior are not covered by the current implementation.
git clone https://github.com/biosshot/kicad-copilot.git
cd kicad-copilot
npm install
npm run check
npm start
Run the MCP Inspector with:
npm run inspect
The repository also contains focused schematic, PCB, and routing test scripts for development against disposable files.
MIT
FAQs
File-oriented MCP server for KiCad schematics, PCB placement, routing, and pours
We found that kicad-copilot-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.