KiCad Copilot

v0.1.1
io.github.biosshot/kicad-copilot Checked 2 days ago Published 8 days ago

Local KiCad MCP server for schematics, PCB placement, routing, and electrical and thermal analysis.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_reused_block Search Reused Block

The backend reusable-block catalog is currently disabled. Use get_project_info to find reusable sheets in the current project.

ParameterTypeDescription
query *stringQuery example: "3.3V power regulator"
limitintegerNumber of results per page.
pageintegerCurrent results page.

beautify_schematic 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: /work/app/node_modules/kicad-copilot-mcp/docs/SKILL.md

ParameterTypeDescription
blocks *objectComponent groups keyed by block name.
path *stringExisting target .kicad_sch path.

extract_circuit 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: /work/app/node_modules/kicad-copilot-mcp/docs/SKILL.md

ParameterTypeDescription
add_components *arrayComponents to add
add_reused_blocks *arrayreuded blocks to add
external_connect *Use only when you need to connect to a pin of an external component that you have not modified and that does not have a signal_name
external_rm_connect *Use only if you need to remove/break the connection from an external component's pin. Remember to remove external_rm_connect first and then add external_connect.
path *stringExisting target .kicad_sch path.
rm_components *Components to remove from the circuit

get_schematic Get KiCad Schematic

Get exactly one KiCad .kicad_sch file as a compact component and net list. For circuit workflow docs, read the local docs folder: /work/app/node_modules/kicad-copilot-mcp/docs/SKILL.md

ParameterTypeDescription
path *stringTarget .kicad_sch file path.

create_doc Create KiCad Document

Create a KiCad project, schematic, hierarchical page, or empty PCB without overwriting files. Agent instructions: /work/app/node_modules/kicad-copilot-mcp/docs/SKILL.md

ParameterTypeDescription
doc *

get_project_info Get KiCad Project Info

Build KiCad project and hierarchical schematic trees from a file or directory path. Agent instructions: /work/app/node_modules/kicad-copilot-mcp/docs/SKILL.md

ParameterTypeDescription
path *stringPath to a KiCad file or directory.

list_checkpoints List KiCad Checkpoints

List file checkpoints saved by KiCad Copilot. Agent instructions: /work/app/node_modules/kicad-copilot-mcp/docs/SKILL.md

ParameterTypeDescription
path *stringTarget KiCad file path.
limitintegerMaximum checkpoints per page.
pageintegerPage number, starting from 1.

save_checkpoint Save KiCad Checkpoint

Save an exact checkpoint of one KiCad file. Agent instructions: /work/app/node_modules/kicad-copilot-mcp/docs/SKILL.md

ParameterTypeDescription
path *stringTarget KiCad file path.
descriptionstringShort checkpoint description.

restore_checkpoint Restore KiCad Checkpoint

Restore one exact file checkpoint by id. Agent instructions: /work/app/node_modules/kicad-copilot-mcp/docs/SKILL.md

ParameterTypeDescription
id *stringCheckpoint id from list_checkpoints.
path *stringTarget KiCad file path.

export_pcb_routing_board Export PCB Routing Board V2

Export a read-only .kicad_pcb snapshot as JSON with RoutingBoardV2 and capture diagnostics.

ParameterTypeDescription
path *stringSource .kicad_pcb path.

run_pcb_analysis 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: /work/app/node_modules/kicad-copilot-mcp/docs/pcb-analysis/SKILL.md

ParameterTypeDescription
file *stringTrusted JavaScript analysis DSL file.
path *stringSource .kicad_pcb path.
wait_msinteger

import_pcb_changes Import PCB Changes

Synchronize one KiCad PCB from its associated schematic. PCB instructions: /work/app/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

ParameterTypeDescription
path *stringTarget .kicad_pcb path.
schematic_pathOptional root .kicad_sch override.

get_pcb_component_sizes Get PCB Component Sizes

Return server placement footprint sizes and compact board estimate. PCB instructions: /work/app/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

ParameterTypeDescription
path *stringTarget .kicad_pcb path.
designators
include_allboolean | null

make_pcb_layout Make PCB Layout

Create and atomically apply placement, save a checkpoint, and return PNG/SVG preview paths. PCB instructions: /work/app/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

ParameterTypeDescription
file *stringJavaScript PCB layout DSL file path.
path *stringTarget .kicad_pcb path.
wait_msinteger

run_pcb_router_dsl Run PCB DSL

Apply stackup, DRC, copper-only, or routing intent through eda-copilot-router, verify natively, and commit atomically. PCB instructions: /work/app/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

ParameterTypeDescription
file *stringJavaScript PCB routing DSL file path.
path *stringTarget .kicad_pcb path.
wait_msintegerInitial synchronous wait before returning a pcb-dsl operation_id.

analyze_schematic Analyze KiCad 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: /work/app/node_modules/kicad-copilot-mcp/docs/analysis.md

ParameterTypeDescription
path *stringPath to a .kicad_sch, .kicad_pro, or KiCad project directory.
allbooleanReturn every optional schematic report field. Does not override findings=false.
assemblybooleanReturn package mix and estimated hand/professional assembly complexity.
blocksbooleanReturn detected functional blocks such as regulators, crystals, filters, and interfaces.
bombooleanReturn compact BOM, sourcing coverage, missing properties, and optimization observations.
busesbooleanReturn detected buses, interfaces, differential pairs, and cross-domain signals.
connectivitybooleanReturn unconnected pins, single-pin nets, multi-driver nets, labels, and no-connect data.
findingsbooleanReturn compact actionable findings. Disable when only focused report fields are needed.
hierarchybooleanReturn sheets, hierarchical ports/labels, and hierarchy discovery warnings.
overviewbooleanReturn structured project size and schematic statistics.
powerbooleanReturn rails, voltage estimates, power tree, budget, sequencing, sleep current, and PDN observations.
verificationbooleanReturn test coverage, protocol checks, and compact analysis trust coverage.

analyze_pcb Analyze KiCad 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: /work/app/node_modules/kicad-copilot-mcp/docs/analysis.md

ParameterTypeDescription
path *stringPath to a .kicad_pcb, .kicad_pro, or KiCad project directory.
allbooleanReturn all optional PCB fields and run thermal and EMC. Does not override findings=false or enable proximity.
assemblybooleanReturn fiducials, orientation, test points, silkscreen, tombstoning, via-in-pad, and assembly complexity.
busesbooleanReturn bus and differential-pair routing information enriched from the schematic.
connectivitybooleanReturn copper connectivity, disconnected islands, plane splits, and zone continuity.
crossbooleanReturn detailed schematic/PCB cross-domain analysis. Cross checks run automatically when a schematic exists.
dfmbooleanReturn fabrication process tier, rule compliance, manufacturing metrics, and DFM issues.
emcbooleanRun analytical EMC pre-compliance checks and return risk score, categories, and test plan. SPICE is not used.
findingsbooleanReturn merged PCB, cross, thermal, and EMC findings. Disable for focused report-only queries.
overviewbooleanReturn board dimensions, layers, footprints, copper counts, zones, and routing completion.
placementbooleanReturn placement density, component groups, courtyard/edge issues, and decoupling distances.
powerbooleanReturn power routing, current capacity, ground domains, decoupling proximity, and switching loops.
proximitybooleanEnable slower trace proximity and crosstalk analysis after routing exists.
routingbooleanReturn compact track/via distributions, net lengths, layer transitions, and proximity results.
schematicstringOptional root .kicad_sch override. Normally discovered from the PCB/project automatically.
thermalbooleanRun thermal analysis and return junction-temperature, margin, proximity, and thermal-via results.

audit_lifecycle Audit Component Lifecycle

Run network-backed component lifecycle and optional temperature-range checks. Long audits return an operation_id for wait_operation. Analysis instructions: /work/app/node_modules/kicad-copilot-mcp/docs/analysis.md

ParameterTypeDescription
path *stringPath to a .kicad_sch, .kicad_pro, or KiCad project directory.
findingsbooleanReturn compact per-part lifecycle and temperature findings.
sourcesarrayOptional distributor sources. Omit to use every source with available credentials.
suggest_alternativesbooleanSearch for replacement parts when obsolete, EOL, or NRND parts are found. Adds network requests.
temperaturestringOptional required operating-temperature grade.
wait_msintegerInitial synchronous wait. A still-running audit returns operation_id.

wait_operation Wait Operation

Wait for a running PCB layout, routing, analysis, or lifecycle audit operation.

ParameterTypeDescription
operation_id *string
wait_msintegerWait below the common 60-second MCP request timeout.

cancel_operation Cancel Operation

Cancel a running PCB layout, routing, analysis, or lifecycle audit operation.

ParameterTypeDescription
operation_id *string