# KiCad Copilot [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/biosshot/kicad-copilot  
**GitHub Stars:** 37  
**npm Downloads (last month):** 1002  
**Views:** 18  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kicad-copilot

## Description
File-oriented MCP server for KiCad schematics, PCB placement, routing, and pours.

## Tools
Capabilities this server exposes over MCP:

- **component_search** — Search a component by exact part_uuid or MPN.
- **search_reused_block** — The backend reusable-block catalog is currently disabled. Use get_project_info to find reusable sheets in the current project.
- **beautify_schematic** — Reassemble selected KiCad components into named functional blocks while preserving their electrical connections. Recoverable item errors are returned (max 36). For circuit workflow docs, read: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md
- **extract_circuit** — Apply circuit changes to a KiCad .kicad_sch file. Every added component must include part_uuid. Recoverable item errors are returned (max 36). For circuit modification docs, read: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md
- **get_schematic** — Get exactly one KiCad .kicad_sch file as a compact component and net list. For circuit workflow docs, read the local docs folder: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md
- **create_doc** — Create a KiCad project, schematic, hierarchical page, or empty PCB without overwriting files. Agent instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md
- **get_project_info** — Build KiCad project and hierarchical schematic trees from a file or directory path. Agent instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md
- **list_checkpoints** — List file checkpoints saved by KiCad Copilot. Agent instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md
- **save_checkpoint** — Save an exact checkpoint of one KiCad file. Agent instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md
- **restore_checkpoint** — Restore one exact file checkpoint by id. Agent instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md
- **export_pcb_routing_board** — Export a read-only .kicad_pcb snapshot as JSON with RoutingBoardV2 and capture diagnostics.
- **run_pcb_analysis** — Run a trusted local analysis DSL against a read-only KiCad Board V2 snapshot. Returns a report or an operation ID for wait_operation. Instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-analysis/SKILL.md
- **import_pcb_changes** — Synchronize one KiCad PCB from its associated schematic. PCB instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md
- **get_pcb_component_sizes** — Return server placement footprint sizes and compact board estimate. PCB instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md
- **make_pcb_layout** — Create and atomically apply placement, save a checkpoint, and return PNG/SVG preview paths. PCB instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md
- **run_pcb_router_dsl** — Apply stackup, DRC, copper-only, or routing intent through eda-copilot-router, verify natively, and commit atomically. PCB instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md
- **analyze_schematic** — Run pinned kicad-happy schematic checks offline. Findings are compact and enabled by default; optional booleans add focused top-level report fields. Analysis instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/analysis.md
- **analyze_pcb** — Run pinned kicad-happy PCB checks. The associated schematic is discovered automatically and used for PCB enrichment and cross-domain checks. Thermal and EMC are opt-in. Analysis instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/analysis.md
- **audit_lifecycle** — Run network-backed component lifecycle and optional temperature-range checks. Long audits return an operation_id for wait_operation. Analysis instructions: /home/user/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/analysis.md
- **wait_operation** — Wait for a running PCB layout, routing, analysis, or lifecycle audit operation.
- **cancel_operation** — Cancel a running PCB layout, routing, analysis, or lifecycle audit operation.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "kicad-copilot": {
    "command": "npx",
    "args": ["-y","kicad-copilot-mcp"]
  }
}
```

## Documentation

## What KiCad Copilot does

KiCad Copilot gives an AI agent structured operations for KiCad project files rather than requiring manual edits to individual KiCad objects. It can inspect project and hierarchical schematic trees, create projects and design files, read schematics as compact component and net lists, and modify circuits with real components identified by part UUIDs.

The server also covers several PCB workflow stages. It can synchronize a board from its associated schematic, estimate component and board dimensions, generate a placement without immediately changing the PCB, apply a stored placement, route locally, remove routing while retaining placement and zones, and create full-board copper zones with optional stitching vias.

File checkpoints provide a recovery path for individual KiCad files. Agents can save exact file states, list available checkpoints, and restore a checkpoint by its identifier.

## How it works

The MCP client starts the server over standard input/output. Operations address saved `.kicad_pro`, `.kicad_sch`, and `.kicad_pcb` paths directly; KiCad IPC and a plugin installed inside KiCad are not required.

PCB placement and routing can run as asynchronous operations. The corresponding wait tools return generated PNG and SVG placement previews or wait for routing completion, while cancellation tools request that an active operation stop. Placement generation does not alter the board until the resulting placement is assembled.

Local PCB routing uses the bundled WASM router and managed KRT backend, so routing work is performed locally rather than sent to an external routing service. The project also integrates with native `kicad-cli` functionality for operations such as ERC, DRC, previews, exports, and manufacturing files.

## Setup and configuration

Install the package through `npx` in an MCP client configuration. Codex can be configured with:

```bash
codex mcp add kicad-copilot -- npx -y kicad-copilot-mcp
```

Claude Code uses the equivalent command:

```bash
claude mcp add kicad-copilot -- npx -y kicad-copilot-mcp
```

A generic stdio configuration is:

```json
{
  "mcpServers": {
    "kicad-copilot": {
      "command": "npx",
      "args": ["-y", "kicad-copilot-mcp"]
    }
  }
}
```

Restart the MCP client after adding the server configuration.

## Tools and capabilities

- Search components by exact part UUID or manufacturer part number, and find reusable circuit blocks by function.
- Read a single schematic as a compact component and net list, then add, remove, replace, connect, or reorganize circuit elements.
- Create KiCad projects, standalone schematics, hierarchical pages, and empty PCBs without overwriting existing files.
- Inspect project and hierarchical schematic trees from a file or directory path.
- Save, list, and restore exact checkpoints for individual KiCad files.
- Set copper-layer counts, synchronize schematics into PCBs, estimate placement dimensions, preview and apply placement, route boards, clear routing, and create copper pours.

Circuit modification tools return recoverable item errors, with a maximum of 36 reported errors for the relevant operations. Added schematic components must include a `part_uuid`.

## Limitations and notes

Placement generation is separate from placement application: `make_pcb_layout` produces a stored result and preview paths, while `assemble_pcb_layout` applies that placement to a board. Routing and placement operations may therefore require the matching wait or cancellation tools when running asynchronously.

The copper-pour operation creates managed full-board zones and can optionally add stitching vias; it is intended for simple board-wide pours. PCB routing is performed by the bundled local router. KiCad files should be checkpointed before changes when an agent needs an exact rollback point.

_Full upstream README: https://allmcps.com/mcp/kicad-copilot/readme_

