Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

KiCad Tools

PYPI · MCP-SERVER-KICAD

Byte-preserving KiCad automation: 100+ tools for schematics, PCB layout, ERC, DRC, exports

Available components

0 this week 91 Trust /100

Last scanned (1 day ago)

Scores higher than 93% of PyPI servers

Category IoT and Hardware

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security100
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
  • 1 of 28 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to ProductOfAmerica/mcp-server-kicad). View diagnostics → Pass
  • Clear OSI-approved license (GPL-3.0-or-later).Pass
  • Actively maintained (last published 41 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability61
  • AI-judged instruction clarity (good).Pass
  • Context-footprint check failed: tool/resource definitions use about 21039 tokens (~193/item across 109 items; 109 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage71
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 0% of tool parameters carry a description.Fail
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • All 12 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
  • An AI judge read all 110 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
What we tested

Checks we ran (16)

  • Malware scan
  • Known CVEs
  • Install scripts
  • Dependency health
  • Source repository
  • Provenance
  • License
  • Maintenance
  • Security disclosure
  • Schema quality
  • Stability
  • Tool coverage
  • Injection markers
  • Destructive annotations
  • Judged manipulation
  • MCP protocol

Does not apply to this package (2)

  • Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
  • Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.

The score does not measure everything. What the score does not measure →

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 21 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 20 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
  • 19 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 18 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
  • 17 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 12 Nov 26 +1
    • Stability: 0.97 → pass security
  • 10 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.

  • 9 Nov 26 −17
    • Malware scan: pass → unverified ▼ security
    • Stability: pass → 0.90 functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 30 Nov 2026 · Analysed pypi/mcp-server-kicad@0.21.1

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem pypi
Reason Verified
Discovered via Registry attestation endpoint
Source repo ProductOfAmerica/mcp-server-kicad
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/ProductOfAmerica/mcp-server-kicad/.github/workflows/release.yml@refs/heads/main
Rekor log index 3328290680
Predicate type PyPI publish attestation https://docs.pypi.org/attestations/publish/v1
Subject digest sha256:516c0363781ef735ef6dff4610eca1e067ddab95a94e4fea72be5661786f9029

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend Known build tool hatchling.build

Background: Why install scripts are a supply-chain risk →

Dependencies 28 packages
Packages resolved 28
No linked repository 1
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 109 exposed · ~20,605 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
add_copper_zone ~276

Create an unfilled copper zone: a ground plane, power plane, or any filled copper pour. Call fill_zones afterward to compute the fills. Args: net_name: Name of the net to assign to this zone (e.g. "GND") layer: Copper layer (e.g. "F.Cu", "B.Cu") corners: List of {x, y} dicts defining the zone polygon (min 3) clearance: Zone clearance in mm min_thickness: Minimum copper thickness in mm thermal_relief: Use thermal relief pads (True) or solid connection (False) thermal_gap: Thermal relief gap in mm thermal_bridge_width: Thermal relief bridge width in mm priority: Zone fill priority (higher fills first) pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
clearancenumber––
cornersarrayyes–
layerstringyes–
min_thicknessnumber––
net_namestringyes–
pcb_pathstring––
priorityinteger––
thermal_bridge_widthnumber––
thermal_gapnumber––
thermal_reliefboolean––
NameTypeReqDescription
clearance_mmnumberyes–
cornersintegeryes–
layerstringyes–
netstringyes–

No examples provided.

add_global_label ~159

Add a global net label (visible across all sheets). Args: text: Net name (e.g. "VCC", "SDA") x: X position y: Y position rotation: Degrees (0=right, 90=up, 180=left, 270=down) shape: Label shape: input, output, bidirectional, tri_state, passive schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
rotationinteger––
schematic_pathstring––
shapestring––
textstringyes–
xnumberyes–
ynumberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_hierarchical_label ~151

Add a hierarchical label to a sub-sheet schematic. Args: text: Label name (must match parent sheet pin name) shape: Direction — input, output, bidirectional, tri_state, passive x: X position in mm y: Y position in mm rotation: Degrees (0, 90, 180, 270) schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
rotationinteger––
schematic_pathstring––
shapestringyes–
textstringyes–
xnumberyes–
ynumberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_hierarchical_sheet ~398

Add a hierarchical sheet to a parent schematic with matching labels in the child. Creates the sheet block in the parent, with its pins on the left edge, and the corresponding hierarchical labels in the child schematic. The child schematic must already exist (create it with create_schematic first). Everything is checked before the first write, so a refusal changes neither file: a pin direction that is not one of the five below, an empty pin name, a child that is no schematic, and a child that is the parent or has the parent somewhere below it. The sheet's page is the lowest number no sheet of the hierarchy uses. It is written at the instance path of the parent (the sheet that holds the block), which is where KiCad reads a sheet's page; give project_path when the parent is itself a sub-sheet, so that path can be found. Symbols already in the child get an instance entry at the new sheet's path. Args: parent_schematic_path: Path to parent .kicad_sch sheet_name: Display name for the sheet sheet_file: Path to child .kicad_sch (must exist) pins: List of dicts with 'name' (str) and 'direction' (str) keys. Direction: input, output, bidirectional, tri_state, passive. x: X position of sheet block (default 25.4) y: Y position of sheet block (default 25.4) project_path: Path to .kicad_pro file (for sub-sheet instance tracking)

NameTypeReqDescription
parent_schematic_pathstringyes–
pinsarrayyes–
project_pathstring––
sheet_filestringyes–
sheet_namestringyes–
xnumber––
ynumber––
NameTypeReqDescription
resultstringyes–

No examples provided.

add_junctions ~335

Add multiple junctions, as KiCad's junction tool places them. Each point dict has keys: x, y. A junction joins only where three or more wire directions, pins or sheet pins meet: a crossing, a T, a wire end at a pin with another wire. Anywhere else (empty space, a straight wire's interior, an L corner, a wire ending at a pin) KiCad's editor refuses it, "Junction location contains no joinable wires and/or pins." (sch_drawing_tools.cpp: 1465-1497 at 9.0.8), and its cleanup deletes one placed there, so the whole call is refused, naming each such point, and nothing is written. Every wire through a junction is split there, which kicad-cli 9 needs to read the join; where a junction is already exactly at a point no second one is added, but a wire still running through it is split. A point where KiCad allows a junction, or where one already is, is taken even off the page: it lies on wires or pins already drawn, which KiCad reads there as anywhere else. Any other point off the page is refused as off the page. The result names each junction written, each one already there and each split. Args: points: List of junction positions [{x, y}, ...] schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
pointsarrayyes–
schematic_pathstring––
NameTypeReqDescription
resultstringyes–

No examples provided.

add_keepout_zone ~221

Create a keep-out zone that restricts placement of specified items. Args: corners: List of {x, y} dicts defining the zone polygon (min 3) layers: Layers to apply keep-out to (default: ["F.Cu", "B.Cu"]) no_tracks: Restrict tracks in this zone no_vias: Restrict vias in this zone no_pads: Restrict pads in this zone no_copper_pour: Restrict copper pour in this zone no_footprints: Restrict footprints in this zone pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
cornersarrayyes–
layers–––
no_copper_pourboolean––
no_footprintsboolean––
no_padsboolean––
no_tracksboolean––
no_viasboolean––
pcb_pathstring––
NameTypeReqDescription
cornersintegeryes–
layersarrayyes–
restrictionsobjectyes–

No examples provided.

add_label ~132

Add a net label at a position. Args: text: Net name (e.g. "VIN_PROT", "5V_REL") x: X position y: Y position rotation: Degrees (0=right, 90=up, 180=left, 270=down) schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
rotationinteger––
schematic_pathstring––
textstringyes–
xnumberyes–
ynumberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_lib_symbol ~113

Load a symbol definition from a .kicad_sym library into the schematic. Args: symbol_lib_path: Path to .kicad_sym file. Optional; omit to use the configured default. symbol_name: Symbol name (e.g. "LM7805") schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
schematic_pathstring––
symbol_lib_pathstringyes–
symbol_namestringyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_pcb_line ~161

Add a graphic line to the PCB (edge cuts, silkscreen, etc.). Args: x1: Start X y1: Start Y x2: End X y2: End Y layer: Layer (e.g. "Edge.Cuts", "F.SilkS") width: Line width in mm pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
layerstring––
pcb_pathstring––
widthnumber––
x1numberyes–
x2numberyes–
y1numberyes–
y2numberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_pcb_text ~143

Add text to the PCB (silkscreen, fab layer, etc.). Args: text: Text content x: X position y: Y position layer: Layer (e.g. "F.SilkS", "B.SilkS", "F.Fab") rotation: Rotation in degrees pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
layerstring––
pcb_pathstring––
rotationnumber––
textstringyes–
xnumberyes–
ynumberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_power_symbol ~306

Place a power symbol (VCC, GND, +3V3, etc.). Uses place_component internally. Power symbols are regular symbols from the 'power' library with isPower=True. Places only the symbol asked for. A PWR_FLAG tells ERC the net has a source it cannot see, which only the designer knows, so add one with lib_id="power:PWR_FLAG" on each net that needs it. Args: lib_id: Library ID (e.g. "power:VCC", "power:GND") reference: Reference (e.g. "#PWR01") x: X position y: Y position rotation: Rotation in degrees symbol_lib_path: Path to a .kicad_sym file that defines the power symbol, for a library outside KiCad's stock set. Optional; omit to load it from the stock library named by the lib_id prefix. schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default. project_path: Path to .kicad_pro file (for sub-sheet instance tracking)

NameTypeReqDescription
lib_idstringyes–
project_pathstring––
referencestringyes–
rotationinteger––
schematic_pathstring––
symbol_lib_pathstring––
xnumberyes–
ynumberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_sheet_pin ~264

Add a pin to an existing hierarchical sheet block. The pin goes on the chosen edge at the first slot, counting down from the sheet's top edge in steps of 2.54 mm, that has no pin within 2.54 mm and lies inside the edge (this layout is the tool's own, not KiCad's). When the edge has no such slot the call is refused, writing nothing, and the message gives the height that takes one more pin (set it with modify_hierarchical_sheet). A direction that is not one of the five below, an empty name and a side other than left or right are refused too. Args: sheet_uuid: UUID of the sheet pin_name: Pin name (should match a hierarchical label in the child schematic) connection_type: input, output, bidirectional, tri_state, passive schematic_path: Path to parent .kicad_sch. Optional; omit to use the configured default. side: Which sheet edge to place pin on (left or right)

NameTypeReqDescription
connection_typestringyes–
pin_namestringyes–
schematic_pathstring––
sheet_uuidstringyes–
sidestring––
NameTypeReqDescription
resultstringyes–

No examples provided.

add_symbol ~524

Add a new symbol definition to a .kicad_sym library. Creates a complete symbol with pins and body graphics. If the library file does not exist it will be created. Args: name: Symbol name (e.g. "MP4572GQB-P", "TLV75733PDBVR") pins: Pin definitions — list of dicts, each with keys: number (str): pin number, e.g. "1" name (str): pin name, e.g. "VIN" ("~" for unnamed) type (str): electrical type — "input", "output", "bidirectional", "passive", "power_in", "power_out", "tri_state", "open_collector", "open_emitter", "unconnected", "free" x (float): X position in mm (default 0) y (float): Y position in mm (default 0) rotation (float): angle 0/90/180/270 (default 0) length (float): pin length in mm (default 2.54) reference_prefix: Reference prefix e.g. "U", "R", "C" (default "U") is_power: True for power symbols (default False) pin_names_offset: Pin name label offset in mm (default 0.508) in_bom: Include in BOM (default True) on_board: Place on board (default True) footprint: Default footprint e.g. "Package_SO:SOIC-8" (default "") datasheet: Datasheet URL (default "~") rectangles: Optional body rectangle(s) — list of dicts with keys: x1, y1, x2, y2 (float): corner coordinates in mm fill (str): "none", "background", or "outline" (default "background") If omitted, a rectangle is auto-computed from pin positions. symbol_lib_path: Path to .kicad_sym file. Optional; omit to use the configured default.

NameTypeReqDescription
datasheetstring––
footprintstring––
in_bomboolean––
is_powerboolean––
namestringyes–
on_boardboolean––
pin_names_offsetnumber––
pinsarrayyes–
rectangles–––
reference_prefixstring––
symbol_lib_pathstring––
NameTypeReqDescription
resultstringyes–

No examples provided.

add_text ~102

Add a text annotation to the schematic. Args: text: Text content x: X position y: Y position rotation: Rotation in degrees schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
rotationinteger––
schematic_pathstring––
textstringyes–
xnumberyes–
ynumberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_thermal_vias ~247

Add a grid of thermal vias under a footprint pad. Args: reference: Footprint reference (e.g. "U1", "R1") pad_number: Pad number to center vias on. If empty, auto-selects largest SMD pad. rows: Number of rows in the via grid, at least 1. rows * cols is at most 256. cols: Number of columns in the via grid, at least 1. spacing: Spacing between vias in mm via_size: Via annular ring diameter in mm via_drill: Via drill diameter in mm net_name: Net to assign to vias. If None, auto-detect from pad. pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
colsinteger––
net_name–––
pad_numberstring––
pcb_pathstring––
referencestringyes–
rowsinteger––
spacingnumber––
via_drillnumber––
via_sizenumber––
NameTypeReqDescription
centerobjectyes–
netstringyes–
padstringyes–
referencestringyes–
vias_addedintegeryes–

No examples provided.

add_trace ~255

Add a trace segment between two points. Args: x1: Start X y1: Start Y x2: End X y2: End Y width: Trace width in mm layer: Copper layer (e.g. "F.Cu", "B.Cu") net: A net number from list_pcb_nets, or 0 for no net. Any other number is refused and nothing is written, and so is every number but 0 on a board in KiCad 9's format or older that has no net table. A KiCad 10 board holds nets by name and its numbers are derived from where each net first appears, so read list_pcb_nets again after an edit. pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
layerstring––
netinteger––
pcb_pathstring––
widthnumber––
x1numberyes–
x2numberyes–
y1numberyes–
y2numberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_via ~234

Add a via at a position. Args: x: X position y: Y position size: Via pad size in mm drill: Drill diameter in mm net: A net number from list_pcb_nets, or 0 for no net. Any other number is refused and nothing is written, and so is every number but 0 on a board in KiCad 9's format or older that has no net table. A KiCad 10 board holds nets by name and its numbers are derived from where each net first appears, so read list_pcb_nets again after an edit. layers: Via layers (default: ["F.Cu", "B.Cu"]) pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
drillnumber––
layers–––
netinteger––
pcb_pathstring––
sizenumber––
xnumberyes–
ynumberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

add_wires ~362

Add multiple wires at once, as KiCad's wire tool adds them. Each wire dict has keys: x1, y1, x2, y2. Following SCH_LINE_WIRE_BUS_TOOL::finishSegments (sch_line_wire_bus_tool.cpp:1168-1276 at 9.0.8): a junction goes wherever three or more wire directions, pins or sheet pins meet, at a new wire's end or at a point already on the sheet that a new wire runs through (a pin, a wire end), and every wire through a junction is split there, so a T, or a wire drawn through a pin, joins in every reader. As KiCad merges the new wire with the collinear wires of its stroke that it overlaps or meets end to end (where no junction is), a stretch such a wire already covers is left out, and a merged run holding both pins of a two-pin part loses the stretch between them, so drawing across a part never shorts it. A wire of no length is left out, as KiCad's tool drops one. Existing wires are only ever split: where KiCad's trim would cut a wire already on the sheet, the call is refused and nothing is written. The result counts the wire nodes written and names each junction, split, left-out and trimmed stretch; when nothing changes it says so and writes nothing. Args: wires: List of wire defs [{x1, y1, x2, y2}, ...] schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
schematic_pathstring––
wiresarrayyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

annotate_schematic ~122

Auto-assign reference designators to unannotated components. Finds components with '?' in their reference (e.g. R?, U?) and assigns sequential numbers, respecting existing references in the schematic and across the hierarchy when project_path is provided. Args: schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default. project_path: Path to .kicad_pro file (scans hierarchy for existing refs)

NameTypeReqDescription
project_pathstring––
schematic_pathstring––
NameTypeReqDescription
resultstringyes–

No examples provided.

auto_place_decoupling_cap ~340

Place a decoupling capacitor and wire it to power/ground nets. Places the cap, wires pin 1 (top) to power_net and pin 2 (bottom) to ground_net via stub wires + labels. Args: lib_id: Cap symbol (e.g. "Device:C") reference: Reference (e.g. "C5") value: Cap value (e.g. "100nF") x: X position y: Y position power_net: Label for pin 1 (e.g. "VCC", "+3V3") ground_net: Label for pin 2 (e.g. "GND", "PGND") rotation: Rotation in degrees (default 0) symbol_lib_path: Path to a .kicad_sym file that defines the capacitor, for a library outside KiCad's stock set. Optional; omit to load it from the stock library named by the lib_id prefix. schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default. project_path: Path to .kicad_pro file (for sub-sheet instance tracking)

NameTypeReqDescription
ground_netstringyes–
lib_idstringyes–
power_netstringyes–
project_pathstring––
referencestringyes–
rotationinteger––
schematic_pathstring––
symbol_lib_pathstring––
valuestringyes–
xnumberyes–
ynumberyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

autoroute_pcb ~318

Autoroute PCB traces using the Freerouting autorouter. Exports the board to Specctra DSN format, runs Freerouting for automated trace routing, and imports the results into a new PCB file. The original board is never modified. Requires KiCad's pcbnew Python bindings, whose major version has to match the board's format era, and Java 25+ for the Freerouting build it downloads. Unless FREEROUTING_JAR names a Freerouting jar, the first run downloads Freerouting 2.5.0 (65 MB) from GitHub, checks its SHA-256 and caches it. Args: pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default. max_passes: Maximum autorouter optimization passes num_threads: Thread count for routing. Defaults to 1 because freerouting prints "Multi-threaded route optimization is broken and it is known to generate clearance violations" on every run. Raise it only if you are willing to DRC the result carefully. timeout: Max seconds to wait for routing (default: 600) output_dir: Directory for output files (default: same as PCB). Optional; omit to use the configured default.

NameTypeReqDescription
max_passesinteger––
num_threadsinteger––
output_dirstring––
pcb_pathstring––
timeoutinteger––
NameTypeReqDescription
drc_unconnected–––
drc_violations–––
keepouts_promotedinteger––
routed_pathstringyes–
text_fields_fixedintegeryes–
traces_addedintegeryes–
vias_addedintegeryes–
warningsarray––

No examples provided.

check_placement ~281

Check if placing/moving a footprint to (x, y) would violate constraints. Both checks are on the footprint's origin point, not its courtyard, so a footprint whose body overlaps a keep-out while its origin does not still reports ok. That is also why there is no rotation parameter: rotating about the origin cannot move the origin, so an angle could not change either answer. Keep-outs are read as KiCad reads them: a footprint's own keep-outs in board coordinates, as the file stores them; a layer set such as *.Cu or F&B.Cu as the layers it names; the footprint on its side, B.Cu or else F.Cu, as KiCad reads any other footprint layer; and the footprint's own keep-outs never count against it (intersectsArea skips an area whose parent is the item, pcbnew/pcbexpr_functions.cpp:697 at 9.0.8). Args: reference: Footprint reference designator x: Proposed X position y: Proposed Y position pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
pcb_pathstring––
referencestringyes–
xnumberyes–
ynumberyes–
NameTypeReqDescription
board_edge_checkedbooleanyes–
keepout_violationsarrayyes–
outside_board_edgebooleanyes–
statusstringyes–

No examples provided.

connect_pins ~254

Connect two component pins with Manhattan (L-shaped) wire routing. Combines get_pin_positions + coordinate math + add_wires into one call. At its own points (both pins and the L's corner) a junction goes where three or more directions meet, and any wire through it is split there, as KiCad's wire tool does (sch_line_wire_bus_tool.cpp:1263-1267 at 9.0.8); a leg running through a junction or a bus entry end already on the sheet is split there too, as KiCad's cleanup splits it. The result names each junction and split. Args: ref1: First component reference (e.g. "U1") pin1: First pin name or number ref2: Second component reference (e.g. "C3") pin2: Second pin name or number schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
pin1stringyes–
pin2stringyes–
ref1stringyes–
ref2stringyes–
schematic_pathstring––
NameTypeReqDescription
resultstringyes–

No examples provided.

create_project ~117

Create a KiCad 9 project (.kicad_pro + root .kicad_sch). No .kicad_prl is written, and an existing .kicad_sch or .kicad_prl of that name is left as it is; the result says whether the root schematic was created or kept. Args: directory: Directory to create the project in (created if missing) name: Project name (used for filenames)

NameTypeReqDescription
directorystringyes–
namestringyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

create_schematic ~56

Create a valid empty KiCad 9 schematic file. Args: schematic_path: Path for the new .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
schematic_pathstringyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

create_sym_lib_table ~230

Create a sym-lib-table file in the given directory. Each entry dict needs 'name' (the library nickname) and 'uri' (its path, usually "${KIPRJMOD}/..."). Overwrites existing sym-lib-table if present. A backslash in a uri is written as '/', as KiCad stores it. The whole list is checked first. An entry that cannot be written as given refuses the call, names the entry, and leaves any existing table as it was: an empty name; a name holding a character below U+0020, a backslash or a colon (a library nickname cannot); a name an earlier entry has; an empty uri; a double quote in a name or uri, or a line end or NUL in a uri (KiCad 9 and KiCad 10 read these differently in a table). Args: directory: Directory to write sym-lib-table in entries: List of dicts with 'name' and 'uri' keys

NameTypeReqDescription
directorystringyes–
entriesarrayyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

create_symbol_library ~57

Create a valid empty KiCad 9 symbol library. Args: symbol_lib_path: Path for the new .kicad_sym file. Optional; omit to use the configured default.

NameTypeReqDescription
symbol_lib_pathstringyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

duplicate_sheet ~317

Duplicate a hierarchical sheet, copying the child file with new UUIDs. The new block is a copy of the source block, moved to its right, with its fields placed again when the source's were autoplaced, and its page the lowest number no sheet uses, stored at the parent's path where KiCad reads it. The copied file's symbols get references of their own, so the two sheets are two sets of parts: each prefix takes its first free number across the hierarchy, in the order of the symbols' x then y position, and the units of one part keep one reference. A reference with no number stays as it is. A source file that holds sheets of its own is refused, with nothing written, because its sub-sheets would need new instance paths in other files. Give project_path when the parent is itself a sub-sheet, so its place in the hierarchy can be found. Args: sheet_uuid: UUID of the sheet to duplicate new_sheet_name: Display name for the new sheet schematic_path: Path to parent .kicad_sch. Optional; omit to use the configured default. project_path: Path to .kicad_pro (for hierarchy metadata) new_file_name: Name for the copied file (auto-generated if empty)

NameTypeReqDescription
new_file_namestring––
new_sheet_namestringyes–
project_pathstring––
schematic_pathstring––
sheet_uuidstringyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

export_3d ~215

Export PCB 3D model or render 3D view to image. `render` fills width, height and side; the mesh formats leave them unset. Args: format: Output format - "step", "stl", "glb", or "render" (PNG image) pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default. output_dir: Output directory. Optional; omit to use the configured default. width: Image width in pixels (render only) height: Image height in pixels (render only) side: View side: top, bottom, left, right, front, back (render only) quality: Render quality: basic, high (render only)

NameTypeReqDescription
formatstring––
heightinteger––
output_dirstring––
pcb_pathstring––
qualitystring––
sidestring––
widthinteger––
NameTypeReqDescription
formatstringyes–
height–––
pathstringyes–
side–––
size_bytesintegeryes–
width–––

No examples provided.

export_bom ~77

Export Bill of Materials (BOM) as CSV. Args: schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default. output_dir: Output directory. Optional; omit to use the configured default.

NameTypeReqDescription
output_dirstring––
schematic_pathstring––
NameTypeReqDescription
component_countintegeryes–
formatstringyes–
note–––
pathstringyes–
size_bytesintegeryes–

No examples provided.

export_footprint_svg ~81

Export footprint to SVG. Args: footprint_path: Path to a .kicad_mod file, or a .pretty library directory. Optional; omit to use the configured default. output_dir: Output directory. Optional; omit to use the configured default.

NameTypeReqDescription
footprint_pathstringyes–
output_dirstring––
NameTypeReqDescription
countintegeryes–
filesarrayyes–
formatstringyes–
pathstringyes–

No examples provided.

export_gerbers ~186

Export Gerber files for manufacturing. When layers contains exactly one layer, exports a single Gerber file: path names it, and size_bytes and layer are filled. Otherwise exports all layers (or the specified subset) plus optional drill files, and path names the output directory. files and count are filled either way. Args: pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default. output_dir: Output directory for gerber files. Optional; omit to use the configured default. include_drill: Also export drill files (default: True, ignored in single-layer mode) layers: Optional list of layer names. Single layer = single file output.

NameTypeReqDescription
include_drillboolean––
layers–––
output_dirstring––
pcb_pathstring––
NameTypeReqDescription
countintegeryes–
drill_countinteger––
drill_filesarray––
filesarrayyes–
formatstringyes–
layer–––
note–––
pathstringyes–
size_bytes–––

No examples provided.

export_hierarchical_netlist ~117

Export a netlist from the root schematic, including hierarchy info. Runs kicad-cli to generate a netlist and returns parsed component/net data with sheet path information for each component. Args: schematic_path: Path to root .kicad_sch file. Optional; omit to use the configured default. output_dir: Directory for netlist output (defaults to schematic directory). Optional; omit to use the configured default.

NameTypeReqDescription
output_dirstring––
schematic_pathstring––
NameTypeReqDescription
component_countintegeryes–
componentsarrayyes–
net_countintegeryes–
netsarrayyes–
output_pathstringyes–

No examples provided.

export_ipc2581 ~171

Export PCB in IPC-2581 format for manufacturing data exchange. Args: pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default. output: Output file path. Optional; omit to write <board name>.xml to the configured output directory, or beside the board when none is configured. precision: Numeric precision (default: 3) compress: Compress output file version: IPC-2581 version (default: "C") units: Output units - "mm" or "in"

NameTypeReqDescription
compressboolean––
outputstring––
pcb_pathstring––
precisioninteger––
unitsstring––
versionstring––
NameTypeReqDescription
formatstringyes–
note–––
pathstringyes–
size_bytesintegeryes–

No examples provided.

export_netlist ~95

Export a schematic netlist. Args: schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default. output_dir: Output directory. Optional; omit to use the configured default. format: Netlist format. spice and spicemodel produce simulator input.

NameTypeReqDescription
formatstring––
output_dirstring––
schematic_pathstring––
NameTypeReqDescription
formatstringyes–
note–––
pathstringyes–
size_bytesintegeryes–

No examples provided.

export_pcb ~246

Export PCB to PDF, SVG, or DXF format. Args: format: Output format - "pdf", "svg", or "dxf" pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default. output_dir: Directory for output files. Optional; omit to use the configured default. layers: Optional list of layer names to include (required for DXF) output_units: DXF output units - "in" or "mm" (DXF only) exclude_refdes: Exclude reference designators (DXF only) exclude_value: Exclude component values (DXF only) use_contours: Use board outline contours (DXF only) include_border_title: Include border and title block (DXF only)

NameTypeReqDescription
exclude_refdesboolean––
exclude_valueboolean––
formatstring––
include_border_titleboolean––
layers–––
output_dirstring––
output_unitsstring––
pcb_pathstring––
use_contoursboolean––
NameTypeReqDescription
formatstringyes–
layersarrayyes–
note–––
pathstringyes–
size_bytesintegeryes–

No examples provided.

export_positions ~142

Export component position file (pick and place) as CSV, in millimetres (mm). The columns are Ref, Val, Package, PosX, PosY, Rot and Side. PosX and PosY are the footprint's position in millimetres, with the board's Y axis negated; Rot is its angle in degrees; Side is top or bottom. Args: pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default. output_dir: Output directory. Optional; omit to use the configured default.

NameTypeReqDescription
output_dirstring––
pcb_pathstring––
NameTypeReqDescription
component_countintegeryes–
formatstringyes–
note–––
pathstringyes–
size_bytesintegeryes–

No examples provided.

export_schematic ~144

Export schematic to PDF, SVG, or DXF format. pdf and dxf produce one file, so path names it and size_bytes is filled. svg produces one file per sheet, so path names the directory. files and count are filled either way. Args: format: Output format - "pdf", "svg", or "dxf" schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default. output_dir: Directory for output files. Optional; omit to use the configured default.

NameTypeReqDescription
formatstring––
output_dirstring––
schematic_pathstring––
NameTypeReqDescription
countintegeryes–
filesarrayyes–
formatstringyes–
pathstringyes–
size_bytes–––

No examples provided.

export_symbol_svg ~74

Export symbol library to SVG images. Args: symbol_lib_path: Path to .kicad_sym file. Optional; omit to use the configured default. output_dir: Output directory. Optional; omit to use the configured default.

NameTypeReqDescription
output_dirstring––
symbol_lib_pathstring––
NameTypeReqDescription
countintegeryes–
filesarrayyes–
formatstringyes–
pathstringyes–

No examples provided.

fill_zones ~148

Fill all copper zones on the board using pcbnew's zone filler. pcbnew computes the fill; this server writes it. The board is handed to pcbnew read-only and the computed polygons come back as data, so the file that reaches the disk is the original with its zones' fills replaced and every other byte untouched. Nothing else about it changes: not its format version, not its layer names, not the constructs pcbnew does not model. Requires KiCad's pcbnew Python bindings to be installed. Args: pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
pcb_pathstring––
NameTypeReqDescription
statusstringyes–
warningsarray––
zones_filledintegeryes–

No examples provided.

flatten_hierarchy ~404

Flatten a hierarchical schematic into a single sheet whose netlist is the hierarchy's. The flat file is the root schematic with each sub-sheet's content copied below it, one cell per use of a sheet file (a file used twice is copied twice). Each part keeps the reference and unit KiCad reads for it at its sheet's path. A sheet pin becomes a local label at its place when its sheet has a hierarchical label of its name, and nothing otherwise. A local or hierarchical label of a sub-sheet becomes a local label named after the sheet's path, so nets keep their joins and no others; net names change to those labels. A label whose own sheet has a global label, a power symbol or a hidden power input pin of its text keeps that text, so it keeps joining it. Text variables that name the sheet are not rewritten. The tool refuses, writing nothing, where the flat file could not keep the netlist: a sheet pin or sub-sheet label that may be a bus, a file older than format 20221002, a local power symbol, a bus_alias in a sub-sheet, a root label named like a global net that only another sheet has, a library symbol whose pins differ between two files, a sheet marked DNP, out of the BOM, off the board or out of simulation, two sheets of one name, more than 4096 sheet instances, or a sheet file that cannot be read. A sheet file that is missing is flattened as an empty sheet, as KiCad loads it. Creates a new file and does not modify the hierarchy. Args: schematic_path: Path to root .kicad_sch file. Optional; omit to use the configured default. output_path: Path for flattened output (defaults to *_flat.kicad_sch)

NameTypeReqDescription
output_pathstring––
schematic_pathstring––
NameTypeReqDescription
resultstringyes–

No examples provided.

get_board_info ~74

Get board summary: footprint count, trace count, net count, thickness. The net count includes the unconnected net, as KiCad's own count does. Args: pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
pcb_pathstring––
NameTypeReqDescription
resultstringyes–

No examples provided.

get_footprint_bounds ~71

Get the board-coordinate bounding box of a placed footprint. Args: reference: Footprint reference designator pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
pcb_pathstring––
referencestringyes–
NameTypeReqDescription
courtyard–yes–
layerstringyes–
positionobjectyes–
referencestringyes–
rotationnumberyes–

No examples provided.

get_footprint_info ~58

Get pad and outline details for a footprint .kicad_mod file. Args: footprint_path: Path to .kicad_mod file. Optional; omit to use the configured default.

NameTypeReqDescription
footprint_pathstringyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

get_footprint_pads ~81

Get pad info for a placed footprint on the PCB. Args: reference: Footprint reference (e.g. "R1", "U1") pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

NameTypeReqDescription
pcb_pathstring––
referencestringyes–
NameTypeReqDescription
resultstringyes–

No examples provided.

get_net_connections ~135

Find all component pins connected to a net label. Scans labels matching the text, traces wires from label positions, and identifies component pins at wire endpoints. Each placed symbol contributes only its own unit's pins, so a multi-unit part does not report a sibling gate's input as sitting on this net. Args: label_text: Net name to search for (e.g. "VCC", "GND") schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
label_textstringyes–
schematic_pathstring––
NameTypeReqDescription
connectionsarrayyes–
label_countintegeryes–
netstringyes–

No examples provided.

get_pin_positions ~123

Get absolute pin positions for a placed component (accounts for rotation/mirror). A multi-unit part is placed as one symbol per unit and they all share the reference, so every placed unit is listed, each with its own pins plus the unit-0 pins they all share. Args: reference: Component reference (e.g. "U1", "R1") schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
referencestringyes–
schematic_pathstring––
NameTypeReqDescription
resultstringyes–

No examples provided.

get_schematic_summary ~51

Get schematic page info and item counts. Args: schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.

NameTypeReqDescription
schematic_pathstring––
NameTypeReqDescription
componentsintegeryes–
global_labelsintegeryes–
hierarchical_labelsintegeryes–
junctionsintegeryes–
labelsintegeryes–
no_connectsintegeryes–
page_height_mmnumberyes–
page_sizestringyes–
page_width_mmnumberyes–
sheetsintegeryes–
wiresintegeryes–

No examples provided.

Install

How do I install the KiCad Tools MCP server?

KiCad Tools runs locally as a PyPI package, launched with uvx mcp-server-kicad. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · mcp-server-kicad

# add to Claude Code
claude mcp add productofamerica-mcp-server-kicad -- uvx mcp-server-kicad
Common questions

What is the KiCad Tools MCP server?

KiCad Tools is an MCP server listed in the public MCP registry as io.github.ProductOfAmerica/mcp-server-kicad. Byte-preserving KiCad automation: 100+ tools for schematics, PCB layout, ERC, DRC, exports. This page covers its PyPI package (mcp-server-kicad).

Is the KiCad Tools MCP server safe to use?

KiCad Tools scores 91 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 30 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the KiCad Tools MCP server expose?

KiCad Tools exposes 109 tools: get_schematic_summary, list_schematic_components, list_schematic_labels, list_schematic_wires, list_schematic_global_labels, and 104 more. Their descriptions and schemas cost roughly 20,605 tokens of context every time the server is loaded.

Is the KiCad Tools MCP server still maintained?

KiCad Tools is still listed as active in the MCP registry. We last reached this channel on 30 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the KiCad Tools MCP server under?

KiCad Tools declares the GPL-3.0-or-later licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

What did VerifyMCP test on the KiCad Tools MCP server?

VerifyMCP ran 16 checks on KiCad Tools, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.