Skip to main content
Glama
KiCAD MCP Server

KiCAD MCP Server

by Avinash1286

Discussions. Get in here.

https://github.com/Avinash1286/KiCAD-MCP-Server-THEAVI/discussions

🚀 Meet Konnect — the next generation

Konnect is this project rebuilt from scratch in Rust as a native KiCAD 10 plugin: a single binary with no runtime dependencies, built on KiCAD's official IPC API instead of SWIG, with 171 tools, bundled Claude skills and agents, design-review audits, and a manufacturing pipeline. It's where new development happens — licensed AGPL-3.0 (free for individuals and open source; commercial licenses available for businesses).

This Python/TypeScript server remains fully open (MIT) and maintained.

KiCAD MCP Server

This independent distribution is maintained by Avinash1286 and preserves attribution to all upstream authors and contributors under the MIT License.

A Model Context Protocol (MCP) server that enables AI assistants to automate KiCad PCB design. It uses the MCP 2026-07-28 stateless protocol core while retaining the SDK's legacy 2025 compatibility path for existing desktop clients.

Related MCP server: KiCAD MCP Server

Install without cloning the repository

The published @theavi/kicad-mcp npm runtime and universal Codex/Claude Code plugin let users install KiCad MCP from the GitHub marketplace and start designing without cloning, building, creating a virtual environment, or editing MCP configuration files.

  • Codex: codex plugin marketplace add Avinash1286/KiCAD-MCP-Server-THEAVI, then install KiCad PCB Designer from /plugins.

  • Claude Code: /plugin marketplace add Avinash1286/KiCAD-MCP-Server-THEAVI, then /plugin install kicad@kicad-mcp.

KiCad 9+ and Node.js 20+ are local prerequisites. The first launch automatically creates a private Python runtime. See Plugin distribution and installation for the complete user and publisher workflow.

Overview

The Model Context Protocol is an open standard for connecting AI assistants to external tools and data sources. This implementation provides a standardized bridge between MCP clients and KiCad, enabling natural-language control of PCB design operations.

Key Capabilities:

  • 216 tools across 20 categories, plus 3 supplemental discovery tools

  • Structured tool results, cancellation propagation, annotations, and MRTR confirmation for destructive operations

  • 18 live resources and 18 reusable prompts

  • Complete schematic workflow with 27 tools and dynamic symbol loading (~10,000 symbols)

  • Freerouting autorouter integration (Java, Docker, or Podman)

  • Custom footprint and symbol creation tools

  • JLCPCB parts integration with 2.5M+ component catalog and local library search

  • Datasheet enrichment via LCSC

  • MCP 2026-07-28 discovery, deterministic cacheable catalogs, and legacy 2025 client compatibility

  • Cross-platform support (Linux, Windows, macOS)

  • Real-time KiCAD UI integration via IPC API (experimental)

  • Comprehensive error handling and logging

Try out Arduino MCP - now you can get Claude to help in the IDE, real time!:

https://github.com/mixelpixx/arduino-ide

What's New in v2.7.1

Independent repository release

  • Updated repository, marketplace, clone, and support metadata for publication from Avinash1286/KiCAD-MCP-Server-THEAVI.

  • Preserved upstream author and contributor attribution under the MIT License while enabling independent package and GitHub releases.

What's New in v2.7.0

MCP 2026-07-28 migration

  • Migrated the server to the MCP TypeScript SDK v2, Node.js 20+, and Zod 4.

  • Added modern stateless protocol negotiation while retaining legacy 2025 client compatibility.

  • Added structured tool results, output schemas, safety annotations, cacheable discovery, cancellation propagation, and confirmation for destructive operations.

  • Reconciled the complete TypeScript/Python command catalog and now exposes 219 first-class tools.

  • Added an installable Codex/Claude plugin and a private, hash-locked Python runtime for zero-clone installation from npm.

What's New in v2.6.0

A session-killing bug is fixed

Deleting anything from a board — a component, a trace, a board outline — worked exactly once. The next operation, even a pure read, failed with a SwigPyObject error, and only close_project then open_project recovered. BOARD.Remove() hands C++ ownership to Python, so dropping the reference ran a destructor on an object KiCad still pointed at, corrupting SWIG state process-wide. Six call sites were affected; all now use BOARD.Delete().

10 new tools

  • Vendor PCB import: import_pcb converts PADS, Altium, Eagle, CADSTAR, Fabmaster, P-CAD, SolidWorks PCB and binary Cadence Allegro .brd files via KiCad 10's native importer.

  • Hierarchical schematics: remove_hierarchical_sheet, set_sheet_property, get_sheet_properties, and hierarchical_place for arranging footprints by schematic hierarchy.

  • Schematic lint and repair: lint_offgrid finds and safely snaps off-grid geometry that silently breaks junction placement; repair_flat_symbols fixes SnapEDA/SamacSys symbols that crash kicad-skip; lint_schematic_cosmetic tidies pin names and label orientation.

  • Board origins: set_board_origin / get_board_origin.

Your .kicad_pro net classes stop disappearing

Board saves no longer let pcbnew serialize a stale in-memory project model over your hand-edited net classes and netclass_patterns. Opening a project no longer rewrites the file at all.

Breaking: schematic tools fail loudly on an unparseable sheet

Tools that used to return partial or empty results now return a structured schematic_load_failed error naming the offending symbols. Silently skipping a broken sheet produced an incomplete pad-to-net map reported as success, which is worse. repair_flat_symbols fixes the usual cause. See KNOWN_ISSUES.md section 7.

Full details in the CHANGELOG.

What's New in v2.5.0

20 new board-lifecycle and geometry tools

  • Lifecycle: open_board, reload_board, save_board, save_as, is_dirty, discard_or_reload, create_board_from_schematic.

  • Graphics editing: clear_board_outline, replace_board_outline, list_graphics, delete_graphic, update_graphic, move_footprint_text.

  • Geometry queries: batch_move_components, get_component_geometry, get_pads, get_net_pads, get_ratsnest, estimate_airwire_lengths, check_placement_clearance.

All of them respect backend session pinning, so a board saved while KiCad's GUI owns the session routes to the GUI rather than writing a stale in-memory copy — including the awkward case where save_as changes the board's identity mid-session.

Formatting is normalized and enforced

  • pre-commit run --all-files (black, isort, prettier, flake8, mypy, eslint) is now a real CI gate, which is what CONTRIBUTING has always claimed.

  • npm run lint used to run black in write mode against whatever black was on PATH, silently reformatting your working tree with a version that disagreed with CI. It now checks only; npm run format:py is the write path.

  • The README's tool count is pinned to the registry by a test, so it self-corrects instead of drifting.

Full details in the CHANGELOG.

What's New in v2.4.1

Three tools that were registered but had no backend now work

  • assign_net_to_class, check_clearance and set_layer_constraints each had a full schema and a router entry but no dispatch handler, so every call returned Unknown command. Found by a documentation-coverage audit.

  • Per-layer constraints are written to a project-scoped .kicad_dru custom-rules file, which kicad-cli pcb drc and the GUI both pick up — there is no pcbnew API for them.

Silent failures removed

  • autoroute was abandoned by the Node bridge at 30 s while Freerouting was still running, reporting failure against a valid .ses that existed on disk. Its timeout now derives from the timeout and attempts you pass.

  • get_board_2d_view omitted --layers entirely when no layers were given, and KiCad 9+ then refuses the export — producing no file at all.

  • create_zone raised AttributeError on every call over the IPC backend.

New part-sourcing tools

  • search_parts_registry / get_registry_part / download_registry_part reuse a verified existing footprint or symbol instead of generating one. Downloads are host-allowlisted, extension-checked and size-capped.

  • get_jlcpcb_part returns live stock and tiered pricing when JLCPCB Open Platform credentials are configured, falling back to the local snapshot.

CI now actually runs the test suite

  • The Python job had been a no-op in four independent ways, and Actions was disabled repo-wide — 32 failed runs and 0 successes across the project's whole history. All 1551 Python and 63 TypeScript tests now gate every push.

Full details in the CHANGELOG.

What's New in v2.4.0

Symbol library management

  • import_symbol / export_symbol / rename_symbol copy a symbol between .kicad_sym libraries, extract one to a standalone file, and rename a symbol including its sub-symbol shards and any (extends ...) references from derived symbols in the same library.

  • add_symbol_property and add_library_symbol_property set custom BOM fields (Manufacturer, MPN, LCSC, ...) on a library symbol or on a schematic's cached definition.

  • update_symbol_from_library refreshes cached lib_symbols definitions across one schematic, a list, or every project under a directory — the programmatic equivalent of KiCad's Update Symbol from Library.

  • replace_instance_lib_ids swaps lib_id references per an explicit old-to-new mapping, for migrating a schematic between libraries.

Faster symbol discovery

  • Library directories, resolved paths, extracted symbol blocks, and parsed symbol lists are now cached process-wide instead of being rebuilt for every component add. Staleness guards revalidate paths and track source mtime_ns, and the mutating write paths clear the caches explicitly.

Fixes that restore basic operation

  • Every .kicad_sym and schematic write raised TypeError on Python 3.9, the project's declared floor — Path.write_text did not accept newline until 3.10.

  • JLCPCB part search could not find hyphenated MPNs.

  • Eagle import wrote a KiCad 9 schematic header; it now writes the KiCad 10 header, verified against real kicad-cli 10.0.

  • Component placement snaps to the 1.27 mm grid, import_ses no longer creates phantom slashless nets, and export_dsn/autoroute keep .kicad_pro net classes.

Full details in the CHANGELOG.

What's New in v2.3.1

Eagle schematic import

  • import_eagle_project converts Eagle .sch XML designs to KiCad format with symbol mapping, net wires, multi-gate parts, dangling-wire pruning, and ground-truth ERC reporting via kicad-cli.

3D model tools and interactive reload

  • add_component_3d_model attaches STEP/WRL models to footprints.

  • Opt-in KICAD_INTERACTIVE_SCHEMATIC=1 auto-confirms KiCad's reload dialog on Windows after schematic writes.

Scaffolding cluster complete

  • New projects start blank (no _TEMPLATE_* symbols leaked into user files).

  • .kicad_pro files match what KiCad itself writes.

  • Format version 20260101 ensures all KiCad 10.0.x builds can open generated schematics.

KiCad 10 compatibility

  • Derived symbols in .kicad_symdir libraries resolve their parent from sibling shards.

  • Unified install discovery finds relocated Windows installs via registry.

  • User env-var placeholders from kicad_common.json are resolved in library paths.

  • Phantom cross-unit pin reports in get_wire_connections are eliminated.

Full details in the CHANGELOG.

What's New in v2.3.0

Schematic corruption on KiCad 10 — both mechanisms fixed

  • Complete instance blocks: placed components now carry the real project name, root-sheet uuid path, per-pin uuid entries (ERC can bind wires to pins), and the full KiCad 10 field set — verified byte-equivalent to what eeschema itself writes. Previously, dragging or editing a placed symbol could crash KiCad.

  • Canonical multi-line writes: schematic tools no longer minify the whole file onto one line. Tool writes now match eeschema's "Save" byte-for-byte, with a self-check on every write that can never corrupt data. Already- minified files are repairable with scripts/kicad_sch_reformat.py.

Your edits are protected

  • Backend session pinning: a loaded project stays on one backend (SWIG or IPC) for its whole lifecycle — saves can no longer silently route to a stale GUI board and lose your edits.

  • External-edit guard: save_project refuses to overwrite a board file whose contents changed on disk since load (pass force: true to override).

  • close_project (new tool): release the project so files can be edited directly, then reopen — no more restart choreography.

Works on a stock Windows install

  • kicad-cli and 7-Zip are resolved from their install locations even when not on PATH — un-breaking exports, ERC/DRC, netlists, board views, and the JLCPCB database download, each with actionable errors when truly missing.

New layout tools

  • suggest_placement: connectivity-driven PCB placement optimizer (dry-run by default, deterministic).

  • suggest_schematic_declutter: re-orients overlapping net labels without touching connectivity.

Plus KiCad 10 compatibility fixes (sheet renames, sharded .kicad_symdir libraries, IPC Box2 board size), correct pin geometry for rotated+mirrored and multi-unit symbols, bounded IPC connects with SWIG fallback, and a real Vitest suite for the TypeScript layer. Full details in the CHANGELOG.

What's New in v2.2.3

New Tools: FFC/Ribbon Cable Passthrough Workflow

A complete workflow for designing passthrough adapter boards (e.g. Raspberry Pi CSI cable adapters) is now supported:

  1. connect_passthrough — wires all pins of one connector to the matching pins of another in the schematic (J1 pin N → J2 pin N, auto-named nets).

  2. sync_schematic_to_board — imports the net assignments into the PCB.

  3. route_pad_to_pad — routes each connection with automatic via insertion when pads are on opposite copper layers.

  4. snapshot_project — saves a named checkpoint into <project>/snapshots/.

Bug Fixes (KiCAD 9 / Windows)

  • Via insertion for B.Cu footprints — route_pad_to_pad now correctly detects when a footprint is on B.Cu and inserts the required via. (KiCAD 9 SWIG returned F.Cu for all SMD pads regardless of layer — fixed.)

  • Board outline rounded corners — add_board_outline now correctly applies cornerRadius when shape="rounded_rectangle".

  • B.Cu placement hang — placing a footprint on B.Cu no longer causes a ~30s freeze in KiCAD 9.

Developer Mode

Set KICAD_MCP_DEV=1 in your Claude Desktop MCP environment to automatically save the MCP session log into the project's logs/ folder on every export_gerber and snapshot_project call. Useful for debugging and for attaching to GitHub issues.

"env": {
  "KICAD_MCP_DEV": "1"
}

Privacy warning: The session log contains your full tool call history (including file paths and design details). Review or delete logs/ before sharing a project directory publicly.

See CHANGELOG for the full list of changes in this release.


What's New in v2.1.0

Critical Schematic Workflow Fix + Complete Wiring System (Issue #26)

The schematic workflow was completely broken in previous versions - this is now fixed AND dramatically enhanced!

What was broken:

  • create_project only created PCB files, no schematics

  • add_schematic_component called non-existent API methods

  • Schematics couldn't be created or edited at all

  • Only 13 component types available (severe limitation)

  • No working wire/connection functionality

Complete Implementation (3 Phases):

Phase 1: Component Placement Foundation

  • create_project now creates both .kicad_pcb and .kicad_sch files

  • Added pre-configured template schematics with 13 common component types

  • Rewrote component placement to use proper clone() API

Phase 2: Dynamic Symbol Loading (BREAKTHROUGH!)

  • Access to ALL ~10,000 KiCad symbols from standard libraries

  • Automatic detection and dynamic loading from .kicad_sym library files

  • Zero configuration required - just specify library and symbol name

  • Seamless integration with existing MCP tools

  • Full S-expression parsing and injection system

Phase 3: Intelligent Wiring System (NEW in v2.1.0)

  • Automatic pin location discovery with rotation support (0°, 90°, 180°, 270°)

  • Smart wire routing (direct, orthogonal horizontal-first, orthogonal vertical-first)

  • Power symbol support (VCC, GND, +3V3, +5V, etc.)

  • Wire graph analysis - geometric tracing for net connectivity

  • Net label management (local, global, hierarchical labels)

  • Netlist generation with accurate component/pin connections

Technical Architecture: The kicad-skip library cannot create symbols or wires from scratch. We implemented a comprehensive solution:

  1. Static Templates: 13 pre-configured symbols (R, C, L, LED, etc.) for instant use

  2. Dynamic Loading: On-demand injection of ANY symbol from KiCad libraries:

    • Parse .kicad_sym library files using S-expression parser

    • Inject symbol definition into schematic's lib_symbols section

    • Create offscreen template instance

    • Reload schematic so kicad-skip sees new template

    • Clone template to create actual component

  3. Wire Creation: S-expression-based wire injection (bypasses kicad-skip API limitations)

  4. Pin Discovery: Parse symbol definitions, apply rotation transformations, calculate absolute positions

  5. Connectivity Analysis: Geometric wire tracing to build net connection graphs

Example - Complete Circuit Creation:

# Load power symbols dynamically
loader.load_symbol_dynamically(sch_path, "power", "VCC")

# Place components with auto-rotation
ComponentManager.add_component(sch, {
    "type": "STM32F103C8Tx",
    "library": "MCU_ST_STM32F1",
    "reference": "U1",
    "x": 100, "y": 100, "rotation": 0
})

# Connect with intelligent routing
ConnectionManager.add_connection(sch_path, "U1", "1", "R1", "2", routing="orthogonal_h")

# Connect to power nets
ConnectionManager.connect_to_net(sch_path, "U1", "VDD", "VCC")

# Analyze connectivity
connections = ConnectionManager.get_net_connections(sch, "VCC", sch_path)
# Returns: [{"component": "U1", "pin": "VDD"}, {"component": "R1", "pin": "1"}]

Test Results:

  • Component placement: 100% passing

  • Dynamic symbol loading: 10,000+ symbols accessible

  • Wire creation: 100% passing (8/8 connections in test circuit)

  • Pin discovery: Rotation-aware, sub-millimeter accuracy

  • Net connectivity: 100% accurate (VCC: 2 connections, GND: 4 connections)

  • Netlist generation: Working with accurate pin-level connections

See Schematic Tools Reference for the complete schematic tool documentation, and the Headless Authoring Guide for field-tested practice driving these tools without the KiCad GUI.

IPC Backend (Experimental)

We are currently implementing and testing the KiCAD 9.0 IPC API for real-time UI synchronization:

  • Changes made via MCP tools appear immediately in the KiCAD UI

  • No manual reload required when IPC is active

  • Hybrid backend: uses IPC when available, falls back to SWIG API

  • IPC runtime reconnect: if MCP has fallen back to SWIG, IPC-capable board tools retry IPC after KiCAD launches instead of staying on SWIG for the entire session

  • 20+ commands now support IPC including routing, component placement, and zone operations

Note: IPC features are under active development and testing. Enable IPC in KiCAD via Preferences > Plugins > Enable IPC API Server.

For OpenCode on Windows, the backend can be configured as auto, ipc, or swig during setup. See OpenCode (Windows) for the configuration command and backend options.

Tool Discovery

All 216 KiCad capabilities are first-class MCP tools with published input and output schemas. Three additional, backend-free tools provide a convenient catalog without inventing a second execution path:

  • list_tool_categories - Browse all 20 capability categories

  • get_category_tools - View the tools in one category

  • search_tools - Search names and descriptions by keyword

The catalog is populated by the same registrations used for tools/list, so it cannot drift from the callable tool set. Clients may call every returned tool directly by name.

NEEDS TESTING - REPORT ISSUES

JLCPCB Parts Integration (New!)

Complete integration with JLCPCB's parts catalog, providing two complementary approaches for component selection:

Dual-Mode Architecture:

  1. Local Symbol Libraries - Search JLCPCB libraries installed via KiCAD Plugin and Content Manager (contributed by @l3wi)

  2. JLCPCB API Integration - Access the complete 2.5M+ parts catalog with real-time pricing and stock data

Key Features:

  • Real-time pricing with quantity breaks (1+, 10+, 100+, 1000+)

  • Stock availability checking

  • Basic vs Extended library type identification (Basic = free assembly)

  • Intelligent cost optimization with alternative part suggestions

  • Package-to-footprint mapping for KiCAD compatibility

  • Parametric search by category, package, manufacturer

  • Local SQLite database for fast offline searching

  • No API credentials required for local library search

Why this matters: JLCPCB offers PCB assembly services where Basic parts have no assembly fee, while Extended parts charge $3 per unique component. This integration helps you find the cheapest components with the best availability, potentially saving hundreds of dollars on assembly costs for production runs.

See JLCPCB Usage Guide for detailed setup and usage instructions.

Comprehensive Tool Schemas

Every tool now includes complete JSON Schema definitions with:

  • Detailed parameter descriptions and constraints

  • Input validation with type checking

  • Required vs. optional parameter specifications

  • Enumerated values for categorical inputs

  • Clear documentation of what each tool does

Resources Capability

The server publishes 18 read-only resources and templates for project, board, component, footprint, and symbol state. Stable examples include:

  • kicad://project/info, kicad://project/properties, kicad://project/status

  • kicad://board/info, kicad://board/layers, kicad://board/statistics

  • kicad://components and kicad://components/placement

  • kicad://board/extents{?unit} and kicad://board/2d-view{?format,width,height,layers}

  • kicad://component/{reference}/details and /connections

  • library, footprint, and symbol lookup templates

Backend failures are returned as MCP errors rather than successful error documents.

Protocol Compliance

  • TypeScript MCP SDK v2 (@modelcontextprotocol/server)

  • Native MCP 2026-07-28 stateless requests and optional server/discover

  • Legacy 2025 initialization compatibility on the same stdio entrypoint

  • Deterministic catalogs with ttlMs and cacheScope hints

  • Structured tool results, error signaling, cancellation, and MRTR confirmations

Available Tools

The server publishes 219 first-class tools: 216 KiCad capabilities in 20 functional categories and 3 supplemental catalog tools. The list below highlights common operations; use list_tool_categories, get_category_tools, or search_tools for the live authoritative catalog.

For the complete category inventory, see Tool Inventory. Every listed tool is directly callable through MCP.

Project Management (6 tools)

  • create_project - Initialize new KiCAD projects

  • open_project - Load existing project files

  • close_project - Release the active project and its backend state

  • save_project - Save current project state

  • get_project_info - Retrieve project metadata

  • snapshot_project - Save named checkpoint snapshot

Board Operations (12 tools)

  • set_board_size - Configure PCB dimensions

  • add_board_outline - Create board edge (rectangle, circle, polygon, rounded rectangle)

  • add_layer - Add custom layers to stack

  • set_active_layer - Switch working layer

  • get_layer_list - List all board layers

  • get_board_info - Retrieve board properties

  • get_board_2d_view - Generate board preview image

  • get_board_extents - Get board bounding box

  • add_mounting_hole - Place mounting holes

  • add_board_text - Add text annotations

  • add_zone - Add copper zone/pour with clearance settings

  • import_svg_logo - Import SVG file as PCB silkscreen polygons

Component Management (16 tools)

  • place_component - Place single component with footprint

  • move_component - Reposition existing component

  • rotate_component - Rotate component by angle

  • delete_component - Remove component from board

  • edit_component - Modify component properties

  • find_component - Search by reference or value

  • get_component_properties - Query component details

  • set_footprint_type - Change through-hole/SMD footprint type

  • get_component_pads - Get all pad information

  • get_component_list - List all placed components

  • get_pad_position - Get precise pad position

  • place_component_array - Create component grids/patterns

  • align_components - Align multiple components

  • check_courtyard_overlaps - Detect footprint courtyard collisions

  • suggest_placement - Generate a deterministic placement suggestion

  • duplicate_component - Copy existing component

Routing (16 tools)

  • add_net - Create electrical net

  • route_trace - Route copper traces between XY points

  • route_arc_trace - Route an arc-shaped trace

  • route_pad_to_pad - Route between pads with auto-via insertion

  • add_via - Place vias for layer transitions

  • delete_trace - Remove traces (by UUID, position, or net)

  • query_traces - Query/filter traces

  • query_zones - Query/filter copper zones

  • add_gnd_stitching_vias - Place ground stitching vias

  • get_nets_list - List all nets with statistics

  • modify_trace - Change trace width, layer, or net

  • create_netclass - Define net class with rules

  • add_copper_pour - Create copper zones/pours

  • route_differential_pair - Route differential signals

  • refill_zones - Refill all copper zones

  • copy_routing_pattern - Replicate routing between component groups

Schematic (43 tools)

Complete schematic workflow with dynamic symbol loading (~10,000 symbols) and intelligent wiring.

Component Operations:

  • add_schematic_component - Place symbols from any KiCad library

  • delete_schematic_component - Remove component

  • edit_schematic_component - Edit footprint, value, reference, label positions, and arbitrary custom properties (MPN, Manufacturer, DigiKey_PN, LCSC, Voltage, Tolerance, Dielectric, …) in one batched call

  • set_schematic_component_property - Add or update a single custom property (BOM/sourcing field) on a component

  • remove_schematic_component_property - Delete a single custom property from a component

  • get_schematic_component - Inspect every field on a component (built-in + custom) including label positions

  • list_schematic_components - List all components

  • move_schematic_component - Reposition component

  • rotate_schematic_component - Rotate component

  • annotate_schematic - Auto-assign reference designators

Wiring and Connections:

  • add_schematic_wire - Create wire between points

  • delete_schematic_wire - Remove wire segment

  • batch_connect / batch_add_and_connect - Connect multiple pins in one operation

  • add_schematic_net_label - Add net labels (VCC, GND, signals)

  • delete_schematic_net_label - Remove net label

  • connect_to_net - Connect pin to named net

  • connect_passthrough - Wire all matching pins between connectors (FFC/ribbon)

  • get_schematic_pin_locations - Get pin locations for component

Analysis and Export:

  • get_net_connections - Trace net connectivity

  • list_schematic_nets / list_schematic_wires / list_schematic_labels

  • create_schematic - Create new schematic file

  • get_schematic_view - Rasterized schematic preview

  • export_schematic_svg / export_schematic_pdf

  • run_erc - Electrical rule check

  • generate_netlist - Generate netlist from schematic

  • sync_schematic_to_board - Import nets/pads to PCB (F8 equivalent)

See Schematic Tools Reference for details and examples.

Design Rules / DRC (selected examples)

  • set_design_rules / get_design_rules - Configure and inspect rules

  • run_drc - Execute design rule check

  • get_drc_violations - Get violation list by severity

  • add_net_class / create_netclass - Net class management (compatibility and canonical names)

  • assign_net_to_class - Assign a net to a configured class

  • set_layer_constraints / check_clearance - Layer and clearance rules

Export (27 tools; selected examples)

  • export_gerber - Gerber fabrication files

  • export_pdf / export_svg - Documentation and vector graphics

  • export_3d - 3D models (STEP, STL, VRML, OBJ)

  • export_bom - Bill of materials (CSV, XML, HTML, JSON)

  • export_netlist - Netlist (KiCad, Spice, Cadstar, OrcadPCB2)

  • export_position_file - Component positions for pick and place

  • export_vrml - VRML 3D model

Footprint Libraries (4 tools) and Symbol Libraries (4 tools)

  • list_libraries / list_symbol_libraries - Browse available libraries

  • search_footprints / search_symbols - Search across all libraries

  • list_library_footprints / list_library_symbols - Browse specific library

  • get_footprint_info / get_symbol_info - Detailed information

Footprint Creator (4 tools) and Symbol Creator (4 tools)

Create custom components when existing libraries do not have what you need.

  • create_footprint / create_symbol - Build from scratch with pads/pins

  • edit_footprint_pad - Modify pad properties

  • register_footprint_library / register_symbol_library - Register in lib-table

  • list_footprint_libraries / list_symbols_in_library - Browse custom libraries

  • delete_symbol - Remove symbol from library

See Footprint and Symbol Creator Guide for details.

Datasheet Tools (2 tools)

  • enrich_datasheets - Auto-populate datasheet URLs using LCSC part numbers

  • get_datasheet_url - Get LCSC datasheet URL for a component

JLCPCB Integration (5 tools)

  • download_jlcpcb_database - Download 2.5M+ parts catalog (one-time setup)

  • search_jlcpcb_parts - Search with parametric filters

  • get_jlcpcb_part - Detailed part info with pricing

  • get_jlcpcb_database_stats - Database statistics

  • suggest_jlcpcb_alternatives - Find cheaper or in-stock alternatives

Freerouting Autorouter (4 tools)

  • autoroute - Run Freerouting autorouter (DSN export, route, SES import)

  • export_dsn / import_ses - Manual Specctra DSN/SES workflow

  • check_freerouting - Verify Java and Freerouting availability

See Freerouting Guide for setup and usage.

UI Management (3 tools)

  • get_backend_state - Inspect the active KiCad backend

  • check_kicad_ui - Check if KiCAD is running

  • launch_kicad_ui - Launch KiCAD application

Prerequisites

Required Software

KiCAD 9.0 or higher

  • Download from kicad.org/download

  • Must include Python module (pcbnew)

  • Verify installation:

    python3 -c "import pcbnew; print(pcbnew.GetBuildVersion())"

Node.js 20 or Higher

  • Download from nodejs.org

  • Verify: node --version and npm --version

Python 3.9 or Higher

  • Comes bundled with KiCAD (macOS builds ship Python 3.9; Linux/Windows builds ship Python 3.11)

  • Required packages (auto-installed):

    • kicad-python (kipy) >= 0.5.0 (IPC API support, optional but recommended)

    • kicad-skip >= 0.1.0 (schematic support)

    • Pillow >= 9.0.0 (image processing)

    • cairosvg >= 2.7.0 (SVG rendering)

    • colorlog >= 6.7.0 (logging)

    • pydantic >= 2.5.0 (validation)

    • requests >= 2.32.5 (HTTP client)

    • python-dotenv >= 1.0.0 (environment)

MCP Client Choose one:

Supported Platforms

  • Linux (Ubuntu 22.04+, Fedora, Arch) - Primary platform, fully tested

  • Windows 10/11 - Fully supported with automated setup

  • macOS - Experimental support

Installation

Linux (Ubuntu/Debian)

# Install KiCAD 9.0 or higher
sudo add-apt-repository --yes ppa:kicad/kicad-9.0-releases
sudo apt-get update
sudo apt-get install -y kicad kicad-libraries

# Install Node.js 20+ using your distribution package manager or the
# instructions at https://nodejs.org/en/download, then verify the version
node --version

# Clone and build
git clone https://github.com/Avinash1286/KiCAD-MCP-Server-THEAVI.git
cd KiCAD-MCP-Server-THEAVI
npm ci
npm run build
node dist/cli.js setup

# Verify
python3 -c "import pcbnew; print(pcbnew.GetBuildVersion())"

Windows 10/11

Automated Setup (Recommended):

git clone https://github.com/Avinash1286/KiCAD-MCP-Server-THEAVI.git
cd KiCAD-MCP-Server-THEAVI
.\setup-windows.ps1

The script will:

  • Detect KiCAD installations, including both machine-wide installs under C:\Program Files\KiCad and per-user installs under %LOCALAPPDATA%\Programs\KiCad

  • Verify prerequisites

  • Install dependencies

  • Build project

  • Generate configuration

  • Run diagnostics

Manual Setup: See Windows Troubleshooting for detailed setup and diagnostics.

macOS

Important: On macOS, let the setup command create a private runtime that can access KiCAD's bundled pcbnew module. Do not install packages into KiCAD's bundled Python.

Manual Setup

# Install KiCAD 9.0 from kicad.org/download/macos

# Install Node.js
brew install node@20

# Clone repository
git clone https://github.com/Avinash1286/KiCAD-MCP-Server-THEAVI.git
cd KiCAD-MCP-Server-THEAVI

# Install the locked Node.js tree and build the private-runtime CLI
npm ci
npm run build

# Create the private, hash-locked Python runtime
KICAD_PYTHON=/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3 \
  node dist/cli.js setup

The setup command creates and maintains the isolated runtime under the user's KiCAD MCP data directory while retaining read-only access to KiCAD's pcbnew module.

Automated Setup

To simplify configuration with Claude Desktop, this repository provides a macOS setup script:

./setup-macos.sh

In case of error zsh: permission denied: ./setup-macos.sh you can either:

  • always allow the script to be executed by running: chmod +x setup-macos.sh.

  • alternatively explicitly run it with bash: bash setup-macos.sh so no chmod change needed.

This script does not replace the manual setup above — it assumes dependencies are already installed and the project is built. Instead, it automates:

  • detection of your environment (Node.js, KiCad Python, pcbnew)

  • resolving the correct macOS PYTHONPATH

  • generating the correct Claude Desktop MCP configuration

  • safely merging the configuration into your existing Claude config

  • optionally writing the configuration with backup support

Basic Usage
Verify setup (no changes)
./setup-macos.sh --verify
Preview configuration (dry run)
./setup-macos.sh --dry-run
Apply configuration
./setup-macos.sh --apply

After applying, restart Claude Desktop.

Parameters
Required parameters

None. The script works out-of-the-box using sensible defaults.

Optional parameters
--name NAME

Specify the MCP server name in Claude Desktop.

Default:

kicad

Example:

./setup-macos.sh --apply --name kicad-dev

Use this when:

  • running multiple MCP configurations

  • testing forks or development versions

  • avoiding overwriting an existing setup

--claude-config PATH

Specify a custom Claude Desktop configuration file.

Default:

~/Library/Application Support/Claude/claude_desktop_config.json

Example:

./setup-macos.sh --dry-run --claude-config ~/tmp/claude_config.json

Use this when:

  • testing configurations safely

  • using non-standard config locations

  • debugging without modifying your main setup

--yes

Skip confirmation prompt when applying changes.

Example:

./setup-macos.sh --apply --yes
After Setup
  1. Fully quit Claude Desktop

  2. Reopen Claude Desktop

  3. Open a new chat

  4. Click + → Connectors

  5. Verify the server appears (e.g. kicad or your custom name)

Test with prompt in Claude Desktop:

Use the kicad MCP server to run check_kicad_ui.
Notes
  • The script only modifies the mcpServers section and leaves all other configuration untouched

  • Existing configurations are automatically backed up before changes

  • macOS support relies on KiCad’s bundled Python; system Python will not work correctly

  • If KiCad is updated or moved, re-run the script to refresh paths


Configuration

Claude Desktop

Edit configuration file:

  • Linux: ~/.config/Claude/claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Configuration:

{
  "mcpServers": {
    "kicad": {
      "command": "node",
      "args": ["/path/to/KiCAD-MCP-Server-THEAVI/dist/cli.js", "serve"],
      "env": {
        "PYTHONPATH": "/path/to/kicad/python",
        "LOG_LEVEL": "info"
      }
    }
  }
}

Platform-specific PYTHONPATH:

  • Linux: /usr/lib/kicad/lib/python3/dist-packages

  • Windows: C:\Program Files\KiCad\10.0\lib\python3\dist-packages or %LOCALAPPDATA%\Programs\KiCad\10.0\lib\python3\dist-packages

  • macOS: /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages

Linux Python Detection

The server automatically detects Python on Linux in this priority order:

  1. KICAD_PYTHON env var - Explicit user or packaged-launcher override (highest priority)

  2. Virtual environment - venv/bin/python or .venv/bin/python

  3. KiCad bundled Python - /usr/lib/kicad/bin/python3, /usr/local/lib/kicad/bin/python3, /opt/kicad/bin/python3

  4. System Python via which - Resolves which python3 to absolute path (e.g., /usr/bin/python3)

  5. Common system paths - /usr/bin/python3, /bin/python3

For most standard Linux installations (Ubuntu, Debian, Fedora, Arch), no KICAD_PYTHON configuration is needed - the server will automatically find your Python installation.

Troubleshooting:

If you see "Python executable not found: python3", you can manually specify the Python path:

{
  "mcpServers": {
    "kicad": {
      "command": "node",
      "args": ["/path/to/KiCAD-MCP-Server-THEAVI/dist/cli.js", "serve"],
      "env": {
        "KICAD_PYTHON": "/usr/bin/python3",
        "PYTHONPATH": "/usr/lib/kicad/lib/python3/dist-packages"
      }
    }
  }
}

To find your Python path:

which python3  # Example output: /usr/bin/python3
python3 -c "import pcbnew; print(pcbnew.GetBuildVersion())"  # Verify pcbnew access

GitHub Copilot (VS Code)

Copy the template to your workspace:

cp config/vscode-mcp.example.json .vscode/mcp.json

VS Code will auto-detect .vscode/mcp.json and register the server. The template uses ${workspaceFolder} so no path editing is needed.

Note: .vscode/mcp.json is listed in .gitignore — your local configuration won't be committed.

Cline (VSCode)

Edit: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Use the same configuration format as Claude Desktop above.

Claude Code

Claude Code automatically detects MCP servers in the current directory. No additional configuration needed.

OpenCode (Windows)

OpenCode uses a different MCP configuration schema than Claude Desktop. Use setup-windows-opencode.ps1 to verify the local setup and write the correct OpenCode mcp entry.

OpenCode project configuration is written to opencode.json in the target project root. The script keeps the KiCAD MCP server repository separate from the target project:

  • McpServerPath is this repository, where dist/cli.js is built

  • ProjectPath is the project that should receive opencode.json

When this is useful:

  • You use OpenCode as your MCP client on Windows

  • You want a project-local MCP server available only in one project

  • You want a global OpenCode MCP server available from any workspace

  • You need to verify KiCAD Python (pcbnew), Node.js, and dist/cli.js before changing OpenCode configuration

Backend selection

The setup script supports three KiCAD backend preferences via -Backend:

  • auto - try IPC first and fall back to SWIG if IPC is unavailable (default)

  • ipc - require KiCAD IPC for real-time UI synchronization

  • swig - use the file-based pcbnew backend

Examples:

.\setup-windows-opencode.ps1 -Apply -Scope project -Backend auto
.\setup-windows-opencode.ps1 -Apply -Scope project -Backend ipc
.\setup-windows-opencode.ps1 -Apply -Scope project -Backend swig

For -Backend ipc, KiCAD must be running with the IPC API server enabled.

Verify setup without changes

Use this first when diagnosing installation or path problems. It detects KiCAD, tests pcbnew, checks Node.js, and verifies the built MCP entrypoint.

.\setup-windows-opencode.ps1 -Verify -SkipInstall -SkipBuild

Preview OpenCode configuration

Use dry run mode when you want to inspect the exact JSON before writing it.

.\setup-windows-opencode.ps1 -DryRun -SkipInstall -SkipBuild

Example generated OpenCode shape:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "kicad": {
      "type": "local",
      "command": ["node", "C:\\path\\to\\KiCAD-MCP-Server-THEAVI\\dist\\cli.js", "serve"],
      "environment": {
        "NODE_ENV": "production",
        "LOG_LEVEL": "info",
        "KICAD_AUTO_LAUNCH": "false",
        "KICAD_MCP_DEV": "0",
        "KICAD_BACKEND": "auto",
        "PYTHONPATH": "C:\\Program Files\\KiCad\\10.0\\bin\\Lib\\site-packages"
      },
      "enabled": true,
      "timeout": 3900000
    }
  }
}

A copyable template is also provided at config/opencode.json. Replace the placeholder paths before using it directly.

Apply project-local configuration

Use this when you only want KiCAD MCP enabled for one project. The script writes opencode.json in the target project root and backs up an existing file before changing it.

.\setup-windows-opencode.ps1 -Apply -Scope project

By default, ProjectPath is the current working directory.

To configure another project, pass -ProjectPath:

.\setup-windows-opencode.ps1 -Apply -Scope project -ProjectPath "C:\path\to\your-project"

If the setup script is not located in the KiCAD MCP Server repository, pass -McpServerPath so the generated config points to the correct dist/cli.js serve entrypoint:

.\setup-windows-opencode.ps1 `
  -Apply `
  -Scope project `
  -ProjectPath "C:\path\to\your-project" `
  -McpServerPath "C:\path\to\KiCAD-MCP-Server-THEAVI"

Apply global OpenCode configuration

Use this when you want the KiCAD MCP server available from any OpenCode workspace. The script writes %USERPROFILE%\.config\opencode\opencode.json.

.\setup-windows-opencode.ps1 -Apply -Scope global

Use a custom MCP server name

Use this when testing multiple forks or keeping separate development and stable KiCAD MCP entries.

.\setup-windows-opencode.ps1 -Apply -Scope project -Name kicad-dev

Use a custom KiCAD installation path

Use this when KiCAD is installed outside the standard Windows locations.

.\setup-windows-opencode.ps1 -Apply -Scope project -KiCadRoot "D:\Apps\KiCad\10.0"

Skip install or build steps

Use these flags when dependencies are already installed or the project is already built.

.\setup-windows-opencode.ps1 -Apply -Scope project -SkipInstall -SkipBuild

After applying configuration

  1. Fully quit OpenCode.

  2. Start OpenCode again so it reloads opencode.json.

  3. Ask OpenCode to use the kicad MCP server and run check_kicad_ui.

Disable the OpenCode MCP server

To disable the server without removing the full configuration, set the entry to enabled: false and restart OpenCode.

{
  "mcp": {
    "kicad": {
      "enabled": false
    }
  }
}

If OpenCode is running, the MCP server process is managed by OpenCode and normally stops when OpenCode exits.

JLCPCB Integration Setup (Optional)

The JLCPCB integration provides two modes that can be used independently or together:

Mode 1: JLCSearch Public API (Recommended - No Setup Required)

The easiest way to access JLCPCB's parts catalog:

  • No API credentials needed

  • No JLCPCB account required

  • Access to 2.5M+ parts with pricing and stock data

  • Download time: 40-60 minutes for full catalog (100-part batches due to API limit)

To download the database:

Ask Claude: "Download the JLCPCB parts database"

This creates a local SQLite database at data/jlcpcb_parts.db (3-5 GB for full 2.5M+ part catalog).

Mode 2: Local Symbol Libraries (No Setup Required)

Install JLCPCB libraries via KiCAD's Plugin and Content Manager:

  1. Open KiCAD

  2. Go to Tools > Plugin and Content Manager

  3. Search for "JLCPCB" or "JLC"

  4. Install libraries like JLCPCB-KiCAD-Library or EDA_MCP

  5. Use search_symbols to find components with pre-configured footprints and LCSC IDs

Mode 3: Official JLCPCB API (Advanced - Requires Enterprise Account)

For users with JLCPCB enterprise accounts and order history:

  1. Get API Credentials

    • Log in to JLCPCB

    • Navigate to Account > API Management (requires enterprise approval)

    • Create API credentials and save the app ID, access key, and secret key

    • Note: This requires prior order history and enterprise account approval

  2. Configure Environment Variables

    Add to your shell profile (~/.bashrc, ~/.zshrc, or ~/.profile):

    export JLCPCB_APP_ID="your_app_id_here"
    export JLCPCB_API_KEY="your_access_key_here"
    export JLCPCB_API_SECRET="your_secret_key_here"

    Set the same three values in the MCP launcher's env configuration when it does not inherit your shell profile. The server does not automatically load project-root .env files.

See JLCPCB Usage Guide for detailed documentation.

Usage Examples

Basic PCB Design Workflow

Create a new KiCAD project named 'LEDBoard' in my Documents folder.
Set the board size to 50mm x 50mm and add a rectangular outline.
Place a mounting hole at each corner, 3mm from the edges, with 3mm diameter.
Add text 'LED Controller v1.0' on the front silkscreen at position x=25mm, y=45mm.

Component Placement

Place an LED at x=10mm, y=10mm using footprint LED_SMD:LED_0805_2012Metric.
Create a grid of 4 resistors (R1-R4) starting at x=20mm, y=20mm with 5mm spacing.
Align all resistors horizontally and distribute them evenly.

Routing

Create a net named 'LED1' and route a 0.3mm trace from R1 pad 2 to LED1 anode.
Add a copper pour for GND on the bottom layer covering the entire board.
Create a differential pair for USB_P and USB_N with 0.2mm width and 0.15mm gap.

Autoroute with Freerouting

Automatically route all unconnected nets using the Freerouting autorouter.

Setup (one-time):

# 1. Download the Freerouting JAR
mkdir -p ~/.kicad-mcp
curl -L -o ~/.kicad-mcp/freerouting.jar \
  https://github.com/freerouting/freerouting/releases/download/v2.0.1/freerouting-2.0.1-executable.jar

# 2. Runtime — pick ONE:
#    Option A: Docker (recommended, no Java install needed)
docker pull eclipse-temurin:21-jre

#    Option B: Install Java 21+ locally
#    (Ubuntu/Debian) sudo apt install openjdk-21-jre

The autorouter auto-detects which runtime is available (Java 21+ direct, or Docker/Podman fallback).

Check if Freerouting is ready on my system.
Autoroute the current board using Freerouting with a 5-minute timeout.

Step-by-step workflow:

1. Open the project at ~/Projects/LEDBoard/LEDBoard.kicad_pcb
2. Check Freerouting dependencies are installed
3. Run autoroute with max 10 passes
4. Run DRC to verify the autorouted result
5. Export Gerbers to the fabrication folder

Manual DSN/SES workflow (for advanced users or external autorouters):

Export the board to Specctra DSN format.
# ... run Freerouting GUI or another autorouter externally ...
Import the routed SES file from ~/Projects/LEDBoard/LEDBoard.ses

Design Verification

Set design rules with 0.15mm clearance and 0.2mm minimum track width.
Run a design rule check and show me any violations.
Export Gerber files to the 'fabrication' folder.

Using Resources

Resources provide read-only access to project state:

Show me the current component list.
What are the current design rules?
Display the board preview.
List all electrical nets.

JLCPCB Component Selection

Finding Components with Local Libraries:

Search for ESP32 modules in JLCPCB libraries.
Find a 10k resistor in 0603 package from installed libraries.
Show me details for LCSC part C2934196.

Optimizing Costs with JLCPCB API:

Search for 10k ohm resistors in 0603 package, only Basic parts.
Find the cheapest capacitor 10uF 25V in 0805 package with good stock.
Show me pricing and stock for JLCPCB part C25804.
Suggest cheaper alternatives to C25804.

Complete Design Workflow:

I'm designing a board with an ESP32 and need to select components for JLCPCB assembly.
Search JLCPCB for ESP32-C3 modules.
Find Basic parts for: 10k resistor 0603, 100nF capacitor 0603, LED 0805.
For each component, show me the cheapest option with good stock availability.
Place these components on my board using the suggested footprints.

Database Management:

Download the JLCPCB parts database (first time setup).
Show me JLCPCB database statistics.
How many Basic parts are available?

Architecture

MCP Protocol Layer

  • Transport: Local stdio with SDK-managed JSON-RPC framing

  • Protocol: MCP 2026-07-28 stateless core plus legacy 2025 initialization compatibility

  • Capabilities: 219 tools, 18 resources/templates, and 18 prompts

  • Discovery: Deterministic tools/list plus 3 supplemental catalog tools

  • Results: Structured output, standard MCP errors, cancellation propagation, cache hints, and MRTR confirmations

TypeScript Server (src/)

  • Uses @modelcontextprotocol/server v2 and serveStdio() for protocol-era negotiation

  • Manages Python subprocess readiness, bounded restart, request correlation, timeout, and cancellation

  • Registers Zod 4 input/output schemas, resources, prompts, annotations, and structured results

  • Builds src/tools/registry.ts from the same first-class tool registrations used by MCP

  • Provides src/tools/router.ts only for catalog browsing and search; it is not a second execution layer

Python Interface (python/)

  • kicad_interface.py: Private newline-JSON command worker used only by the TypeScript MCP server

  • kicad_api/: Backend implementations

    • base.py - Abstract base classes for backends

    • ipc_backend.py - KiCAD 9.0 IPC API backend (real-time UI sync)

    • swig_backend.py - pcbnew SWIG API backend (file-based operations)

    • factory.py - Backend auto-detection and instantiation

  • schemas/tool_schemas.py: Legacy/internal Python validation schemas (not the MCP catalog)

  • commands/: Modular command implementations

    • project.py - Project operations

    • board.py - Board manipulation

    • component.py - Component placement

    • routing.py - Trace routing and nets

    • design_rules.py - DRC operations

    • export.py - File generation

    • schematic.py - Schematic design

    • library.py - Footprint libraries

    • library_symbol.py - Symbol library search (local JLCPCB libraries)

    • jlcpcb.py - JLCPCB API client

    • jlcpcb_parts.py - JLCPCB parts database manager

KiCAD Integration

  • pcbnew API (SWIG): Direct Python bindings to KiCAD for file operations

  • IPC API (kipy): Real-time communication with running KiCAD instance (experimental)

  • Hybrid Backend: Automatically uses IPC when available, falls back to SWIG

  • kicad-skip: Schematic file manipulation

  • Platform Detection: Cross-platform path handling

  • UI Management: Automatic KiCAD UI launch/detection

Development

Building from Source

# Install the locked Node.js dependency tree
npm ci

# Build TypeScript
npm run build

# Create the private runtime from requirements-lock.txt
node dist/cli.js setup

# Optional: install hash-locked Python development tools in a separate venv
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --require-hashes -r requirements-dev-lock.txt

# Watch mode for development
npm run dev

Running Tests

# TypeScript tests
npm run test:ts

# Python tests
npm run test:py

# All tests with coverage
npm run test:coverage

Linting and Formatting

# Lint TypeScript and Python
npm run lint

# Format code
npm run format

Troubleshooting

Server Not Appearing in Client

Symptoms: MCP server doesn't show up in Claude Desktop or Cline

Solutions:

  1. Verify build completed: ls dist/cli.js

  2. Check configuration paths are absolute

  3. Restart MCP client completely

  4. Check client logs for error messages

Python Module Import Errors

Symptoms: ModuleNotFoundError: No module named 'pcbnew'

Solutions:

  1. Verify KiCAD installation: python3 -c "import pcbnew"

  2. Check PYTHONPATH in configuration matches your KiCAD installation

  3. Ensure KiCAD was installed with Python support

Tool Execution Failures

Symptoms: Tools fail with unclear errors

Solutions:

  1. Check the current server log: ~/.kicad-mcp/logs/kicad-mcp-YYYY-MM-DD.log

  2. Verify a project is loaded before running board operations

  3. Ensure file paths are absolute, not relative

  4. Check tool parameter types match schema requirements

Windows-Specific Issues

Symptoms: Server fails to start on Windows

Solutions:

  1. Run automated diagnostics: .\setup-windows.ps1

  2. Verify Python path uses double backslashes: C:\\Program Files\\KiCad\\10.0

  3. Check Windows Event Viewer for Node.js errors

  4. See Windows Troubleshooting Guide

Getting Help

  1. Check the GitHub Issues

  2. Review the current server log: ~/.kicad-mcp/logs/kicad-mcp-YYYY-MM-DD.log

  3. Open a new issue with:

    • Operating system and version

    • KiCAD version (python3 -c "import pcbnew; print(pcbnew.GetBuildVersion())")

    • Node.js version (node --version)

    • Full error message and stack trace

    • Relevant log excerpts

Project Status

Current Version: 2.7.1

See STATUS_SUMMARY.md for the complete status matrix and CHANGELOG.md for detailed release notes.

Working Features (216 KiCad tools + 3 discovery tools):

  • Project management with snapshot checkpointing

  • Complete board design (outline, layers, zones, mounting holes, text, SVG logos)

  • Component placement with arrays, alignment, and duplication

  • Advanced routing (pad-to-pad with auto-via, differential pairs, pattern copying)

  • Complete schematic workflow with dynamic symbol loading (~10,000 symbols)

  • Intelligent wiring system with pin discovery and smart routing

  • FFC/ribbon cable passthrough workflow

  • Schematic-to-board synchronization

  • Design rule checking (DRC and ERC)

  • Export to Gerber, PDF, SVG, 3D, BOM, netlist, position file

  • Custom footprint and symbol creation

  • JLCPCB parts integration (2.5M+ parts catalog)

  • Datasheet enrichment via LCSC

  • Freerouting autorouter integration (Java, Docker, Podman)

  • UI auto-launch and management

  • MCP 2026-07-28 support with legacy 2025 client compatibility

IPC Backend (Experimental):

  • Real-time UI synchronization via the KiCAD IPC API

  • 21 IPC-enabled commands with automatic SWIG fallback

  • Hybrid footprint loading (SWIG for library access, IPC for placement)

Developer Mode: Set KICAD_MCP_DEV=1 to capture MCP session logs for debugging. See CHANGELOG v2.2.3 for details.

Logging (~/.kicad-mcp/logs/): Logs default to INFO and the file is size-capped so it can't grow without bound. Tune via the MCP server's environment:

Variable

Default

Purpose

LOG_LEVEL / KICAD_MCP_LOG_LEVEL

info

Log verbosity (error/warn/info/debug, or off). KICAD_MCP_LOG_LEVEL wins.

KICAD_MCP_LOG_MAX_BYTES

10485760 (10 MB)

Max size per log file before it rotates; 0 disables rotation.

KICAD_MCP_LOG_BACKUP_COUNT

3

Number of rotated backups to keep.

KICAD_MCP_DEBUG_SKIP

unset

Set to 1 to re-enable the verbose kicad-skip parser DEBUG logs (muted by default).

See ROADMAP.md for planned features.

What Do You Want to See Next?

We are actively developing new features. Your feedback directly shapes development priorities.

Share your ideas:

  1. Open a feature request

  2. Join the discussion

  3. Star the repo if you find it useful

Contributing

Contributions are welcome! Please follow these guidelines:

  1. Report Bugs: Open an issue with reproduction steps

  2. Suggest Features: Describe use case and expected behavior

  3. Submit Pull Requests:

    • Fork the repository

    • Create a feature branch

    • Follow existing code style

    • Add tests for new functionality

    • Update documentation

    • Submit PR with clear description

See CONTRIBUTING.md for detailed guidelines.

License

This project is licensed under the MIT License. See LICENSE for details.

Acknowledgments

Community Contributors

  • @Kletternaut - Routing/component tools, footprint/symbol creators, passthrough workflow, template fixes (PRs #44, #48, #49, #51, #53, #57, #59)

  • @Mehanik - Schematic inspection/editing tools, component field positions (PRs #60, #66, #67)

  • @jflaflamme - Freerouting autorouter integration with Docker/Podman support (PR #68)

  • @l3wi - Local symbol library search, JLCPCB third-party library support (PR #25)

  • @gwall-ceres - MCP protocol compliance, Windows compatibility (PR #10)

  • @fariouche - Bug fixes (PR #17)

  • @shuofengzhang - XDG relative path handling (PR #58)

  • @sid115 - Windows setup script improvements (PR #13)

  • @pasrom - MCP server bug fixes (PR #50)

Citation

If you use this project in your research or publication, please cite:

@software{kicad_mcp_server,
  title = {KiCAD MCP Server: AI-Assisted PCB Design},
  author = {mixelpixx},
  year = {2025},
  url = {https://github.com/Avinash1286/KiCAD-MCP-Server-THEAVI},
  version = {2.7.1}
}

Available Tools

219 tools
add_board_outlineAdd Board OutlineA
Destructive

Draw the PCB board outline (Edge.Cuts layer) as a rectangle, rounded rectangle, circle or polygon.

Inputs: shape (required), params (required). Returns: result

add_board_textAdd Board TextA
Destructive

Add a text label to a PCB layer (e.g. silkscreen, fab, courtyard).

Inputs: size (required), text (required), layer (required), position (required), +3 more. Returns: result

add_component_3d_modelAdd Component 3d ModelA
Destructive

Attach a 3D model to one or more PLACED footprints on the open board, live via the KiCAD IPC API (changes appear instantly, no file conflicts). Use this for components already on the PCB; for a library .kicad_mod use add_footprint_3d_model.

Inputs: modelPath (required), reference (required), scale, offset, +2 more. Returns: result

add_copper_pourAdd Copper PourB
Destructive

Add a copper pour (ground/power plane) to the PCB

Inputs: net (required), layer (required), outline, clearance. Returns: result

add_footprint_3d_modelAdd Footprint 3d ModelA
Destructive

Attach (or replace) a 3D model — .step/.stp/.wrl — to a .kicad_mod footprint file. KiCAD path variables like ${KIPRJMOD} or ${KICAD10_3DMODEL_DIR} are supported. Use this after create_footprint so the part shows up in the 3D viewer (Alt+3).

Inputs: modelPath (required), footprintPath (required), scale, offset, +2 more. Returns: result

add_gnd_stitching_viasAdd Gnd Stitching ViasA
Destructive

Drop GND stitching vias across the board with collision checking against every non-GND segment, via, and pad on every copper layer (PTH vias penetrate the full stackup, so missing any one layer is the classic silent-short failure mode). Three combinable strategies: grid (regular grid across the interior), around_refs (densify around named ICs), and in_zones (only place vias inside an actual GND copper zone). Supports dryRun to preview placements without writing.

Inputs: dryRun, gndNet, maxVias, spacing, +7 more. Returns: result

add_hierarchical_sheetAdd Hierarchical SheetA
Destructive

Insert a hierarchical-sheet reference block into a parent schematic, pointing at an existing sub-sheet file. Adds the sheet box, name/file fields, a sheet_instances path entry on the next page number, and fixes sub-sheet component instance paths so ERC resolves references.

Inputs: subsheetPath (required), schematicPath (required), size, position, +1 more. Returns: result

add_layerAdd LayerA
Destructive

Add a new copper or technical layer to the PCB stackup.

Inputs: name (required), type (required), position (required), number. Returns: result

add_library_symbol_propertyAdd Library Symbol PropertyA
Destructive

Add or update a custom property (Manufacturer, MPN, LCSC, etc.) on a symbol definition in the lib_symbols section. This makes the property available to all instances of that symbol in the schematic.

Inputs: symbolName (required), libraryName (required), propertyName (required), propertyValue (required), +3 more. Returns: result

add_mounting_holeAdd Mounting HoleA
Destructive

Place a mounting hole (NPTH or PTH) at the specified position on the PCB.

Inputs: diameter (required), position (required), padDiameter. Returns: result

add_netAdd NetB
Destructive

Create a new net on the PCB

Inputs: name (required), netClass. Returns: result

add_net_classAdd Net ClassB
Destructive

Create a named net class with specific clearance, track-width, via, and differential-pair rules.

Inputs: name (required), viaDrill (required), clearance (required), trackWidth (required), +5 more. Returns: result

add_no_connectAdd No ConnectA
Destructive

Add a no-connect flag (X marker) to a pin that is intentionally left unconnected. This suppresses ERC 'Pin not connected' errors for unused pins. PREFERRED: supply componentRef + pinNumber to snap to the exact pin endpoint. Alternatively supply position [x, y] in mm matching the pin endpoint exactly.

Inputs: schematicPath (required), position, pinNumber, componentRef. Returns: result

add_schematic_componentAdd Schematic ComponentA
Destructive

Add a component to the schematic. Symbol format is 'Library:SymbolName' (e.g., 'Device:R', 'EDA-MCP:ESP32-C3')

Inputs: symbol (required), reference (required), schematicPath (required), unit, +5 more. Returns: result

add_schematic_hierarchical_labelAdd Schematic Hierarchical LabelA
Destructive

Add a hierarchical label (sheet interface port) to a sub-sheet schematic. Hierarchical labels are the connection points that link a sub-sheet to its parent via sheet pins. The label text must exactly match the corresponding sheet pin name.

Inputs: text (required), shape (required), position (required), schematicPath (required), +1 more. Returns: result

add_schematic_net_labelAdd Schematic Net LabelA
Destructive

Add a net label to the schematic. PREFERRED: supply componentRef + pinNumber to snap the label to the exact pin endpoint — this guarantees an electrical connection. Alternatively supply position [x, y], but the coordinates must match the pin endpoint exactly (even a 0.01 mm offset breaks the connection). The response includes actual_position (coordinates actually used) and snapped_to_pin (present when a pin reference was resolved).

Inputs: netName (required), schematicPath (required), position, labelType, +3 more. Returns: result

add_schematic_textAdd Schematic TextA
Destructive

Add a free-form text annotation to the schematic. Use this to add notes, labels, section headings, or documentation strings directly on the schematic canvas. Unlike net labels, text annotations have no electrical significance.

Inputs: text (required), position (required), schematicPath (required), bold, +4 more. Returns: result

add_schematic_wireAdd Schematic WireA
Destructive

Draws a wire on the schematic between two or more coordinate points. Always call get_schematic_pin_locations first to get the approximate pin coordinates, then pass them as the first and last waypoints. snapToPins (on by default) will correct any float imprecision by snapping endpoints to the exact nearest pin coordinate. To route around components, add intermediate waypoints between the start and end: e.g. [[x1,y1], [xMid,y1], [xMid,y2], [x2,y2]] routes horizontally then vertically. Intermediate waypoints are never snapped.

Inputs: waypoints (required), schematicPath (required), snapToPins, snapTolerance. Returns: result

add_sheet_pinAdd Sheet PinA
Destructive

Add a pin to a sheet symbol block on the parent schematic. Sheet pins are the parent-side connection points that correspond to hierarchical labels in the sub-sheet. The pinName must exactly match a hierarchical_label in the sub-sheet.

Inputs: pinName (required), pinType (required), position (required), sheetName (required), +2 more. Returns: result

add_symbol_propertyAdd Symbol PropertyB
Destructive

Add or update a custom property (Manufacturer, MPN, LCSC, etc.) on a symbol in a .kicad_sym library file.

Inputs: symbolName (required), libraryPath (required), propertyName (required), propertyValue (required), +2 more. Returns: result

add_viaAdd ViaB
Destructive

Add a via to the PCB

Inputs: net (required), position (required), viaType. Returns: result

add_zoneAdd ZoneC
Destructive

Create a copper fill zone (pour) on a PCB layer for a specified net.

Inputs: net (required), unit (required), layer (required), points (required), +2 more. Returns: result

align_componentsAlign ComponentsB
Destructive

Align multiple PCB components horizontally, vertically or on a grid with optional spacing.

Inputs: references (required), alignmentType (required), spacing, referenceComponent. Returns: result

annotate_schematicAnnotate SchematicA
Destructive

Assign reference designators to unannotated components (R? → R1, R2, ...). Must be called before tools that require known references.

Inputs: schematicPath (required). Returns: result

assign_net_to_classAssign Net To ClassA
Destructive

Assign a net to an existing net class to apply its specific design rules.

Inputs: net (required), netClass (required). Returns: result

autoplace_schematic_fieldsAutoplace Schematic FieldsA
Destructive

Automatically reposition every component's Reference and Value field so they sit outside the component body AND outside any net labels attached to its pins, avoiding collisions with other components and already-placed fields. Like KiCAD's built-in field auto-placement but net-label aware. Optionally limit to specific references.

Inputs: schematicPath (required), clearance, references. Returns: result

autorouteAutorouteA
Destructive

Run Freerouting autorouter on the current PCB. Exports to Specctra DSN, runs Freerouting CLI, and imports the routed SES result. Requires Java 11+ and freerouting.jar (see check_freerouting). Set attempts > 1 to run best-of-N: Freerouting is invoked multiple times with varied --max-passes, each result is scored by (nets_routed * 1000 + segments, +50000 bonus when every targetNets entry routed), and the winning SES is imported. Single-attempt behaviour is unchanged when attempts is omitted.

Inputs: timeout, attempts, boardPath, maxPasses, +3 more. Returns: result

batch_add_and_connectBatch Add And ConnectA
Destructive

Place multiple components AND wire their nets in a single call — the fewest-round-trip way to build a subcircuit. Each component is like batch_add_components plus an optional 'nets' map {pin: netName}. Components are placed first, then nets are connected via batch_connect. labelType selects 'label' (sheet-local, default) or 'global_label' (cross-sheet by name) for all the nets wired in this call.

Inputs: components (required), schematicPath (required), origin_x, origin_y, +1 more. Returns: result

batch_add_componentsBatch Add ComponentsA
Destructive

Add multiple components to a schematic in one call (far fewer round-trips than add_schematic_component). Each component: {symbol:'Library:Name', reference, value?, footprint?, position:{x,y}, rotation?, includePins?}. Reference/Value fields are auto-positioned outside the body (disable with auto_position_fields=false). Returns per-component snapped position, field positions, body_bbox, and an overall placement_bbox.

Inputs: components (required), schematicPath (required), origin_x, origin_y, +1 more. Returns: result

batch_add_no_connectsBatch Add No ConnectsA
Destructive

Add no-connect (X) flags to multiple pins in one call, to mark intentionally unconnected pins and silence ERC. 'pins' is a list of {componentRef, pinName}.

Inputs: pins (required), schematicPath (required). Returns: result

batch_connectBatch ConnectA
Destructive

Place net labels on multiple pins in one call to wire nets quickly. 'connections' is a map {reference: {pin: netName}} where pin is a number or name. labelType selects 'label' (sheet-local, the default) or 'global_label' (connects across all sheets by name — use this for power rails and any net that spans sheets). For local labels, if a facing label for the same net is nearby a wire is drawn instead of a duplicate label; global labels are placed one-per-pin since they join their net by name. Set replace=true to clear any existing label at a pin first. Warns about power nets missing a PWR_FLAG.

Inputs: connections (required), schematicPath (required), replace, labelType. Returns: result

batch_edit_schematic_componentsBatch Edit Schematic ComponentsA
Destructive

Edit multiple existing components in one call. 'components' is a map {reference: {value?, footprint?, newReference?, ...}}; each entry is applied via the single-component editor. Returns per-reference updated/errors.

Inputs: components (required), schematicPath (required). Returns: result

batch_list_symbol_pinsBatch List Symbol PinsA
Read-onlyIdempotent

Return pin names, numbers, types, and symbol-local coordinates for multiple symbols in a single call. Use instead of calling list_symbol_pins repeatedly when placing a subcircuit — saves 5–10 round-trips. Each result includes pins (with x/y/angle in symbol-local coords, Y-up per KiCAD lib convention) and body_bbox (bounding box of pin envelope ±1.27mm, symbol-local coords). IMPORTANT: coordinates are symbol-local (Y-up, pre-rotation); after placement use get_schematic_pin_locations for post-rotation schematic coordinates. Set compact=true for simple 2-pin passives (Device:R/C/L) to get just pin_count, body_bbox, and is_symmetric.

Inputs: symbols (required), compact, schematicPath. Returns: result

batch_move_componentsBatch Move ComponentsA
Destructive

Move multiple PCB components transactionally. If one reference/spec is invalid, no components are moved. Saves by default unless save=false.

Inputs: moves (required), save, dryRun. Returns: result

batch_set_schematic_property_positionsBatch Set Schematic Property PositionsA
Destructive

Move many Reference/Value field labels in a single file read/write — far faster than repeated set_schematic_property_position calls. Pass an 'updates' array; each item is {reference, property:'Reference'|'Value', x, y, angle?, visible?}. Returns per-item applied/failed lists.

Inputs: updates (required), schematicPath (required). Returns: result

check_clearanceCheck ClearanceA
Read-onlyIdempotent

Check the actual clearance between two PCB items (track, via, pad, zone or component) and report whether it meets the design rules.

Inputs: item1 (required), item2 (required). Returns: result

check_courtyard_overlapsCheck Courtyard OverlapsA
Read-onlyIdempotent

Detect courtyard overlaps between footprints and (optionally) flag courtyards that extend past the board outline. Accepts a positions dict of hypothetical placements so an AI can validate a proposed move_component / place_component before committing it. Returns overlap pairs with intersection extents (mm) and per-component boundary violations.

Inputs: refs, margin, positions, board_outline, +1 more. Returns: result

check_freeroutingCheck FreeroutingA
Read-onlyIdempotent

Check if Java and Freerouting JAR are available on the system. Run this before autoroute to verify prerequisites.

Inputs: freeroutingJar. Returns: result

check_kicad_uiCheck Kicad UiA
Read-onlyIdempotent

Check if KiCAD UI is currently running

Inputs: no named parameters. Returns: result

check_placement_clearanceCheck Placement ClearanceA
Read-onlyIdempotent

Classify placement conflicts as body overlap, courtyard overlap, keepout violation, silk/text overlap or pad clearance.

Inputs: refs, margin, padClearance. Returns: result

clear_board_outlineClear Board OutlineA
Destructive

Delete all Edge.Cuts graphics from the current PCB board.

Inputs: no named parameters. Returns: result

close_projectClose ProjectA
Destructive

Close the currently loaded KiCAD project: optionally save, then drop the in-memory board and clear session state. Use this to hand control back so the user (or the agent) can edit project files directly without the MCP later clobbering those changes on save.

Inputs: save, force, forceExternalChanges. Returns: result

connect_passthroughConnect PassthroughA
Destructive

Connects all pins of a source connector (e.g. J1) to matching pins of a target connector (e.g. J2) via shared net labels — pin N gets net '{netPrefix}_{N}'. Use this for FFC/ribbon cable passthrough adapters instead of calling connect_to_net for every pin.

Inputs: sourceRef (required), targetRef (required), schematicPath (required), netPrefix, +1 more. Returns: result

connect_to_netConnect To NetA
Destructive

Connect a component pin to a named net by adding a wire stub and net label at the exact pin endpoint. The response includes pin_location (exact pin coords), label_location (where the label was placed), and wire_stub (the wire segment added) so you can confirm the placement.

Inputs: netName (required), pinName (required), componentRef (required), schematicPath (required). Returns: result

copy_routing_patternCopy Routing PatternA
Destructive

Copy routing pattern (traces and vias) from a group of source components to a matching group of target components. The offset is calculated automatically from the position difference between the first source and first target component. Useful for replicating routing between identical circuit blocks.

Inputs: sourceRefs (required), targetRefs (required), traceWidth, includeVias. Returns: result

create_board_from_schematicCreate Board From SchematicA
Destructive

Create a new .kicad_pcb file from a schematic, then update the PCB from that schematic so footprints and nets are present.

Inputs: schematicPath (required), boardPath, overwrite. Returns: result

create_footprintCreate FootprintA
Destructive

Create a new KiCAD footprint (.kicad_mod) inside a .pretty library directory. Supports SMD and THT pads, courtyard, silkscreen, and fab-layer rectangles.

Inputs: name (required), libraryPath (required), pads, tags, +7 more. Returns: result

create_hierarchical_subsheetCreate Hierarchical SubsheetA
Destructive

Create a new sub-sheet .kicad_sch file and link it into a parent schematic in a single call (create_schematic + add_hierarchical_sheet). The fastest way to grow a hierarchical design.

Inputs: subsheetPath (required), parentSchematicPath (required), size, metadata, +2 more. Returns: result

create_netclassCreate NetclassA
Destructive

Create a new net class with custom design rules, optionally assigning nets to it immediately.

Inputs: name (required), nets, viaDrill, clearance, +6 more. Returns: result

create_projectCreate ProjectB
Destructive

Create a new KiCAD project

Inputs: name (required), path (required). Returns: result

create_schematicCreate SchematicC
Destructive

Create a new schematic

Inputs: name (required), path. Returns: result

create_symbolCreate SymbolA
Destructive

Create a new schematic symbol in a .kicad_sym library file (created if missing). After creation, use register_symbol_library so KiCAD finds it. Pin positions are where the wire connects; the symbol body is drawn between them.

Coordinate tips:

  • Body rectangle typically spans ±2.54 to ±5.08 mm

  • Pins on left side: at.x = body_left - length, angle=0 (wire goes right)

  • Pins on right side: at.x = body_right + length, angle=180 (wire goes left)

  • Pins on top: at.y = body_top + length, angle=270 (wire goes down)

  • Pins on bottom: at.y = body_bottom - length, angle=90 (wire goes up)

  • Standard pin length: 2.54 mm, standard grid: 2.54 mm

Inputs: name (required), libraryPath (required), pins, inBom, +9 more. Returns: result

delete_componentDelete ComponentA
Destructive

Remove a component from the PCB by its reference designator.

Inputs: reference (required). Returns: result

delete_graphicDelete GraphicA
Destructive

Delete a PCB graphic/drawing item by UUID.

Inputs: uuid (required). Returns: result

delete_schematic_componentDelete Schematic ComponentA
Destructive

Remove a placed symbol from a KiCAD schematic (.kicad_sch).

This removes the symbol instance (the placed component) from the schematic. It does NOT remove the symbol definition from lib_symbols.

With deleteAttachedLabels, net labels sitting exactly on the deleted component's pin positions are removed too — unless a label is still attached to a wire or another component's pin. Recommended when permanently removing a wired part, since orphaned labels otherwise produce label_dangling ERC errors. Default false for backward compatibility (delete-then-re-add workflows rely on labels surviving).

Note: This tool operates on schematic files (.kicad_sch). To remove a footprint from a PCB, use delete_component instead.

Inputs: reference (required), schematicPath (required), deleteAttachedLabels. Returns: result

delete_schematic_net_labelDelete Schematic Net LabelB
Destructive

Remove a net label from the schematic.

Inputs: netName (required), schematicPath (required), position. Returns: result

delete_schematic_wireDelete Schematic WireB
Destructive

Remove a wire from the schematic by start and end coordinates.

Inputs: end (required), start (required), schematicPath (required). Returns: result

delete_symbolDelete SymbolA
Destructive

Remove a symbol from a .kicad_sym library file.

Inputs: name (required), libraryPath (required). Returns: result

delete_traceDelete TraceA
Destructive

Delete traces from the PCB. Can delete by UUID, position, or bulk-delete all traces on a net.

Inputs: net, layer, position, traceUuid, +1 more. Returns: result

discard_or_reloadDiscard Or ReloadA
Destructive

Discard the current in-memory PCB state and reload the board from disk.

Inputs: boardPath. Returns: result

download_jlcpcb_databaseDownload Jlcpcb DatabaseA
Destructive

Download the JLCPCB parts catalog to a local SQLite database for fast offline search.

Sources (no API credentials required by default):

  • cdfer (default): in-stock subset (~600k parts, ~1.5 GB download). Single file, no extra tools — the most reliable path, especially on Windows.

  • yaqwsx: the FULL catalog (all parts incl. out-of-stock, ~10 GB extracted). Use source="yaqwsx" if you specifically want everything. Requires a 7z CLI.

  • official: official JLCPCB API, used only if JLCPCB_APP_ID/JLCPCB_API_KEY/ JLCPCB_API_SECRET are set.

One-time setup; downloads resume automatically if interrupted. Re-run with force=true to refresh.

Inputs: force, source. Returns: result

download_registry_partDownload Registry PartA
Idempotent

Download a registry part's KiCAD file to a local directory:

  • format="kicad_mod" -> footprint (.kicad_mod text)

  • format="kicad_sym" -> symbol (.kicad_sym text)

  • format="step" -> 3D model (.step / .glb, downloaded from the asset host) Files are written to dest_dir with a sensible filename; returns the saved path(s).

Inputs: id (required), format (required), dest_dir (required). Returns: result

duplicate_componentDuplicate ComponentB
Destructive

Duplicate an existing PCB component at an offset position, optionally with a new reference designator.

Inputs: offset (required), reference (required), count, newReference. Returns: result

edit_componentEdit ComponentA
Destructive

Edit properties of an existing PCB component (reference, value, footprint).

Inputs: reference (required), value, footprint, newReference. Returns: result

edit_footprint_padEdit Footprint PadA
Destructive

Edit an existing pad inside a .kicad_mod footprint file. Updates size, position, drill, or shape without recreating the whole footprint.

Inputs: padNumber (required), footprintPath (required), at, size, +2 more. Returns: result

edit_schematic_componentEdit Schematic ComponentA
Destructive

Update properties of a placed symbol in a KiCAD schematic (.kicad_sch) in-place.

Use this tool to: • assign or update the footprint, value, or reference designator, • reposition field labels (Reference / Value text), • add, update, or remove ARBITRARY CUSTOM PROPERTIES used by BOM and sourcing workflows: MPN, Manufacturer, Manufacturer_PN, Distributor, DigiKey, DigiKey_PN, Mouser_PN, LCSC, JLCPCB_PN, Voltage, Tolerance, Power, Dielectric, etc.

Custom properties are first-class — they survive ERC, are exported by export_bom, and are picked up by the JLCPCB / Digi-Key BOM tooling. Newly-added properties default to hidden so they do not clutter the schematic canvas.

Multiple updates can be batched in a single call: pass any combination of footprint, value, newReference, fieldPositions, properties, and removeProperties together.

This is more efficient than delete + re-add because it preserves the component's position and UUID. Operates on .kicad_sch files only — to modify a PCB footprint use edit_component instead.

Inputs: reference (required), schematicPath (required), value, footprint, +4 more. Returns: result

enrich_datasheetsEnrich DatasheetsA
Destructive

Fill in missing Datasheet URLs in a KiCAD schematic using LCSC part numbers.

For every placed symbol that has: • (property "LCSC" "C123456") set • (property "Datasheet" "~") or empty

Sets the Datasheet field to: https://www.lcsc.com/datasheet/C123456.pdf

The URL is then visible in KiCAD's footprint browser, symbol properties dialog, and any tool that reads the standard KiCAD Datasheet field. No API key or internet lookup required – the URL is constructed directly.

Use dry_run=true to preview changes without writing.

Inputs: schematic_path (required), dry_run. Returns: result

estimate_airwire_lengthsEstimate Airwire LengthsA
Read-onlyIdempotent

Alias for get_ratsnest: estimate airwire segments and lengths by net.

Inputs: nets, maxPadsPerNet. Returns: result

export_3dExport 3dA
Destructive

Export the PCB as a 3D model (STEP, STL, VRML or OBJ) including optional copper, solder mask, silkscreen and component 3D models.

Inputs: format (required), outputPath (required), includeCopper, includeComponents, +2 more. Returns: result

export_3d_cliExport 3d CliA
Destructive

Export a 3D model of the PCB via kicad-cli. The format param selects the subcommand (step, glb, stl, ply, brep, xao, vrml); only flags valid for that subcommand are forwarded. STEP/glb/stl/ply/brep/xao share the geometry/include flag set (no-board-body, include-tracks/pads/zones/inner-copper/silkscreen/soldermask, fuse-shapes, fill-all-vias, component/net filters, min-distance, etc.; no-optimize-step is STEP-only); vrml uses units + models-dir/models-relative instead. Rich CLI sibling of export_3d and export_vrml. Reads the last SAVED state of the .kicad_pcb.

Inputs: format (required), outputPath (required), force, noDnp, +26 more. Returns: result

export_bomExport BomA
Destructive

Export a Bill of Materials (BOM) from the PCB in CSV, XML, HTML or JSON format.

Inputs: format (required), outputPath (required), groupByValue, includeAttributes. Returns: result

export_drillExport DrillA
Destructive

Generate drill files for a PCB via kicad-cli, exposing the full Excellon/Gerber drill option set (format, drill origin, zero suppression, oval format, units, mirror-Y, minimal header, separate PTH/NPTH files, drill map + map format). Reads the last SAVED state of the .kicad_pcb.

Inputs: outputDir (required), format, boardPath, mapFormat, +9 more. Returns: result

export_dsnExport DsnA
Destructive

Export the current PCB to Specctra DSN format. Useful for manual Freerouting workflow or external autorouters.

Inputs: boardPath, outputPath. Returns: result

export_gencadExport GencadA
Destructive

Export the PCB in GenCAD format via kicad-cli. Assembly/test interchange format. Exposes padstack flip, unique pin/footprint shape generation, drill-file origin, and store-origin-coordinate options. Reads the last SAVED state of the .kicad_pcb.

Inputs: outputPath (required), boardPath, defineVar, uniquePins, +4 more. Returns: result

export_gerberExport GerberA
Destructive

Export PCB Gerber manufacturing files to a directory. Optionally include drill files, map files and choose layer subset.

Inputs: outputDir (required), layers, useAuxOrigin, generateMapFile, +2 more. Returns: result

export_gerbersExport GerbersA
Destructive

Plot Gerber files for a PCB via kicad-cli, exposing the full Plot-dialog option set (X2, netlist attributes, DNP handling, soldermask subtraction, precision, drill-file origin, stored board plot settings, etc). Reads the board from disk, so it reflects the last SAVED state of the .kicad_pcb.

Inputs: outputDir (required), noX2, layers, boardPath, +17 more. Returns: result

export_gerber_singleExport Gerber SingleA
Destructive

Plot the given layers to a SINGLE Gerber file via kicad-cli (pcb export gerber). Singular sibling of export_gerbers. Exposes the full single-file Plot option set (X2, netlist attributes, DNP fab-layer modes, soldermask subtraction, aperture macros, drill-file origin, precision, Protel extension). Reads the last SAVED state of the .kicad_pcb.

Inputs: outputPath (required), noX2, layers, boardPath, +16 more. Returns: result

export_ipc2581Export Ipc2581A
Destructive

Export the PCB in IPC-2581 format via kicad-cli. Single-file MES/CAD interchange carrying placement, nets and BOM part data inline. The bomCol* params map schematic fields to the embedded BOM columns (e.g. internal P/N, manufacturer P/N) — useful for assembly/MES imports. Reads the last SAVED state of the .kicad_pcb.

Inputs: outputPath (required), units, version, compress, +9 more. Returns: result

export_ipcd356Export Ipcd356A
Destructive

Generate an IPC-D-356 bare-board electrical-test netlist via kicad-cli. Consumed by flying-probe and bed-of-nails testers. Reads the last SAVED state of the .kicad_pcb.

Inputs: outputPath (required), boardPath. Returns: result

export_netlistExport NetlistA
Destructive

Export the schematic netlist to a file using kicad-cli. Supports KiCad XML (default), Spice (for simulation), Cadstar, and OrcadPCB2 formats. Use this when you need to write a netlist file to disk — for example to produce a SPICE file for simulation or to diff against a reference. To get net/component data inline without writing a file, use generate_netlist instead.

Inputs: outputPath (required), schematicPath (required), format. Returns: result

export_odbExport OdbA
Destructive

Export the PCB in ODB++ format via kicad-cli. Single job archive (copper, drill, placement, components, nets, outline) widely used by CAM/MES/assembly. Reads the last SAVED state of the .kicad_pcb.

Inputs: outputPath (required), units, boardPath, defineVar, +3 more. Returns: result

export_pcb_dxfExport Pcb DxfA
Destructive

Plot the PCB layout to DXF via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, refdes/value exclusion, soldermask subtraction, use-contours, use-drill-origin, border+title, output units, DNP fab-layer modes, drill shape, single/multi output modes). Reads the last SAVED state of the .kicad_pcb.

Inputs: outputPath (required), layers, boardPath, defineVar, +16 more. Returns: result

export_pcb_pdfExport Pcb PdfA
Destructive

Plot the PCB layout to PDF via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, mirror, refdes/value exclusion, border+title, soldermask subtraction, DNP fab-layer modes, negative, black-and-white, theme, drill shape, and single/separate/multipage output modes). Rich CLI sibling of export_pdf. Reads the last SAVED state of the .kicad_pcb.

Inputs: outputPath (required), theme, layers, mirror, +18 more. Returns: result

export_pcb_svgExport Pcb SvgA
Destructive

Plot the PCB layout to SVG via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, mirror, soldermask subtraction, negative, black-and-white, theme, DNP fab-layer modes, page-size mode, fit-page-to-board, exclude-drawing-sheet, drill shape, single/multi output modes). Rich CLI sibling of export_svg. Reads the last SAVED state of the .kicad_pcb.

Inputs: outputPath (required), theme, layers, mirror, +17 more. Returns: result

export_pdfExport PdfA
Destructive

Export the PCB layout as a PDF document, optionally selecting layers, page size and colour mode.

Inputs: outputPath (required), layers, pageSize, blackAndWhite, +1 more. Returns: result

export_posExport PosA
Destructive

Generate a component placement (position / pick-and-place) file via kicad-cli, exposing the full CLI option set (side, format, units, bottom-negate-X, drill-file origin, SMD-only, exclude through-hole / DNP, gerber board edge). Rich CLI sibling of export_position_file. Reads the last SAVED state of the .kicad_pcb.

Inputs: outputPath (required), side, units, format, +7 more. Returns: result

export_position_fileExport Position FileA
Destructive

Export a component placement/position file through kicad-cli. This compact alias of export_pos exposes the common side, format, and unit options.

Inputs: outputPath (required), side, units, format, +1 more. Returns: result

export_sch_bomExport Sch BomA
Destructive

Generate a Bill of Materials from a schematic via kicad-cli (sch export bom), exposing the full option set (presets, field/label lists, grouping, sorting, filtering, DNP/excluded-from-BOM handling, and field/string/ref delimiters). schematicPath is REQUIRED.

Inputs: outputPath (required), schematicPath (required), fields, filter, +14 more. Returns: result

export_sch_dxfExport Sch DxfA
Destructive

Export a schematic to DXF via kicad-cli (sch export dxf), one DXF per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, and page selection. schematicPath is REQUIRED.

Inputs: outputDir (required), schematicPath (required), pages, theme, +5 more. Returns: result

export_schematic_pdfExport Schematic PdfB
Destructive

Export schematic to PDF format using kicad-cli.

Inputs: outputPath (required), schematicPath (required), blackAndWhite. Returns: result

export_schematic_svgExport Schematic SvgB
Destructive

Export schematic to SVG format using kicad-cli.

Inputs: outputPath (required), schematicPath (required), blackAndWhite. Returns: result

export_sch_hpglExport Sch HpglA
Destructive

Export a schematic to HPGL via kicad-cli (sch export hpgl), one plot per page into a directory. Exposes drawing-sheet override, exclude-drawing-sheet, default-font, page selection, pen size, and the origin/scale mode. schematicPath is REQUIRED.

Inputs: outputDir (required), schematicPath (required), pages, origin, +5 more. Returns: result

export_sch_pdfExport Sch PdfB
Destructive

Export a schematic to PDF via kicad-cli (sch export pdf), exposing the full option set (drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, the PDF property-popup / hierarchical-link / metadata excludes, no-background-color, and page selection). schematicPath is REQUIRED.

Inputs: outputPath (required), schematicPath (required), pages, theme, +9 more. Returns: result

export_sch_psExport Sch PsA
Destructive

Export a schematic to PostScript via kicad-cli (sch export ps), one PS per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, no-background-color, and page selection. schematicPath is REQUIRED.

Inputs: outputDir (required), schematicPath (required), pages, theme, +6 more. Returns: result

export_sch_python_bomExport Sch Python BomA
Destructive

Export the legacy Python-BOM intermediate XML from a schematic via kicad-cli (sch export python-bom). This is the XML netlist consumed by the schematic editor's Python BOM scripts. Minimal option set (output + input only). schematicPath is REQUIRED.

Inputs: outputPath (required), schematicPath (required). Returns: result

export_sch_svgExport Sch SvgB
Destructive

Export a schematic to SVG via kicad-cli (sch export svg), one SVG per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, no-background-color, and page selection. schematicPath is REQUIRED.

Inputs: outputDir (required), schematicPath (required), pages, theme, +6 more. Returns: result

export_svgExport SvgA
Destructive

Export the PCB layout as an SVG vector image, optionally selecting layers and colour mode.

Inputs: outputPath (required), layers, blackAndWhite, includeComponents. Returns: result

export_symbolExport SymbolA
Destructive

Extract a single symbol from a .kicad_sym library into a standalone .kicad_sym file.

Inputs: outputPath (required), symbolName (required), libraryPath (required). Returns: result

export_vrmlExport VrmlA
Destructive

Export the PCB as a VRML 3D model through kicad-cli. This compact alias of export_3d_cli exposes the VRML-specific options.

Inputs: outputPath (required), force, units, boardPath, +2 more. Returns: result

find_componentFind ComponentA
Read-onlyIdempotent

Search for a PCB component by reference designator or value and return its position and properties.

Inputs: value, reference. Returns: result

find_orphaned_wiresFind Orphaned WiresA
Read-onlyIdempotent

Find wire segments with at least one dangling endpoint — not connected to a component pin, net label, or another wire. Orphaned wires cause ERC 'wire end unconnected' errors. Does not require the KiCad UI to be running.

Inputs: schematicPath (required). Returns: result

find_overlapping_elementsFind Overlapping ElementsA
Read-onlyIdempotent

Detect spatially overlapping symbols, wires, and labels in the schematic. Finds duplicate power symbols at the same position, collinear overlapping wires, and labels stacked on top of each other.

Inputs: schematicPath (required), tolerance. Returns: result

find_wires_crossing_symbolsFind Wires Crossing SymbolsA
Read-onlyIdempotent

Find all wires that cross over component symbol bodies. Wires passing over symbols are unacceptable in schematics — they indicate routing mistakes where a wire was drawn across a component instead of around it.

Inputs: schematicPath (required). Returns: result

generate_netlistGenerate NetlistA
Read-onlyIdempotent

Return a structured JSON netlist from the schematic — component list (reference, value, footprint) and net list (net name with all connected component/pin pairs). Use this to inspect or verify connectivity within the conversation. Does not write any file. To export a netlist file in Spice, KiCad XML, Cadstar, or OrcadPCB2 format, use export_netlist instead.

Inputs: schematicPath (required). Returns: result

get_backend_stateGet Backend StateA
Read-onlyIdempotent

Return the active backend, realtime status, loaded project/board paths, and dirty state.

Inputs: no named parameters. Returns: result

get_board_2d_viewGet Board 2d ViewA
Destructive

Render a 2D image of the PCB using kicad-cli. Returns PNG, JPG, or SVG. Use layers to filter — e.g. ["F.Cu","B.Cu","Edge.Cuts"] for copper + outline only. Use responseMode to choose delivery: "inline" (default) — PNG/JPG rendered as an image visible to Claude; SVG returned as text. "file" — image written next to the .kicad_pcb as _2d_view.; filePath is returned. Use file mode for large boards to avoid MCP message-size limits.

Inputs: width, format, height, layers, +2 more. Returns: result

get_board_extentsGet Board ExtentsA
Read-onlyIdempotent

Return the bounding box (min/max X and Y) of all objects on the current PCB board.

Inputs: unit. Returns: result

get_board_infoGet Board InfoA
Read-onlyIdempotent

Retrieve general information about the current PCB board (dimensions, layer count, DRC status).

Inputs: no named parameters. Returns: result

get_board_originGet Board OriginA
Read-onlyIdempotent

Read back the auxiliary (drill/place) origin and grid origin of a .kicad_pcb in mm.

Inputs: boardPath (required). Returns: result

get_category_toolsGet Category ToolsA
Read-onlyIdempotent

Return all tools available in a specific category. Use list_tool_categories first to find valid category names.

Inputs: category (required). Returns: object

get_component_geometryGet Component GeometryA
Read-onlyIdempotent

Return separated footprint geometry bboxes: body, pads, courtyard, keepout, fab, silk and text.

Inputs: refs, reference. Returns: result

get_component_listGet Component ListA
Read-onlyIdempotent

Return a list of all components on the PCB, optionally filtered by layer or bounding box region.

Inputs: unit, layer, boundingBox. Returns: result

get_component_padsGet Component PadsA
Read-onlyIdempotent

Return all pads of a PCB component with their positions, net assignments and sizes.

Inputs: reference (required), unit. Returns: result

get_component_propertiesGet Component PropertiesA
Read-onlyIdempotent

Return all properties of a PCB component (position, rotation, layer, value, footprint).

Inputs: reference (required). Returns: result

get_datasheet_urlGet Datasheet UrlA
Read-onlyIdempotent

Get the LCSC datasheet URL for a component by LCSC number.

Returns the direct PDF URL and product page URL. No network request – URL is constructed from the LCSC number alone.

Example: get_datasheet_url("C179739") → https://www.lcsc.com/datasheet/C179739.pdf

Inputs: lcsc (required). Returns: result

get_design_rulesGet Design RulesA
Read-onlyIdempotent

Return the current PCB design rules (clearance, track width, via sizes, courtyard settings).

Inputs: no named parameters. Returns: result

get_drc_violationsGet Drc ViolationsA
Read-onlyIdempotent

Return the list of current DRC violations on the PCB, optionally filtered by severity (error, warning).

Inputs: severity. Returns: result

get_elements_in_regionGet Elements In RegionA
Read-onlyIdempotent

List all symbols, wires, and labels within a rectangular region of the schematic. Useful for understanding what is in a specific area before modifying it.

Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +1 more. Returns: result

get_footprint_infoGet Footprint InfoB
Read-onlyIdempotent

Get detailed information about a specific footprint

Inputs: library_name (required), footprint_name (required). Returns: result

get_jlcpcb_database_statsGet Jlcpcb Database StatsA
Read-onlyIdempotent

Get statistics about the local JLCPCB parts database

Inputs: no named parameters. Returns: result

get_jlcpcb_partGet Jlcpcb PartA
Read-onlyIdempotent

Get detailed information about a specific JLCPCB part by LCSC number.

When JLCPCB Open Platform credentials are configured (JLCPCB_APP_ID / JLCPCB_API_KEY / JLCPCB_API_SECRET, e.g. in a project-root .env), this performs a REAL-TIME lookup — live stock, tiered pricing, parameters and library type — and falls back to the local snapshot database if the API call fails or no credentials are set. The response reports which backend answered via "source" ("live-api" vs "local-db").

Inputs: lcsc_number (required). Returns: result

get_layer_listGet Layer ListA
Read-onlyIdempotent

Return the list of all layers defined in the current PCB board.

Inputs: no named parameters. Returns: result

get_net_at_pointGet Net At PointA
Read-onlyIdempotent

Returns the net name at a given (x, y) coordinate in a schematic, or null if no net label or wire endpoint is present at that position. Faster than get_pin_net when you only need the net name at a known coordinate and don't need pin traversal.

Inputs: x (required), y (required), schematicPath (required). Returns: result

get_net_connectionsGet Net ConnectionsB
Read-onlyIdempotent

Get all connections for a named net

Inputs: netName (required), schematicPath (required). Returns: result

get_net_padsGet Net PadsA
Read-onlyIdempotent

Return every PCB pad attached to a net name or net code.

Inputs: net, unit, netCode. Returns: result

get_nets_listGet Nets ListA
Read-onlyIdempotent

Get a list of all nets in the PCB with optional statistics.

Inputs: unit, includeStats. Returns: result

get_pad_positionGet Pad PositionA
Read-onlyIdempotent

Return the exact XY position of a specific pad on a PCB component. Use this before routing to get accurate start/end coordinates.

Inputs: pad (required), reference (required), unit. Returns: result

get_padsGet PadsA
Read-onlyIdempotent

Return pads for one PCB component, selected refs, or all components, including XY, layer, size and net.

Inputs: refs, unit, reference. Returns: result

get_project_infoGet Project InfoB
Read-onlyIdempotent

Get information about the current KiCAD project

Inputs: no named parameters. Returns: result

get_ratsnestGet RatsnestA
Read-onlyIdempotent

Estimate ratsnest/airwire segments and lengths from current pad positions grouped by net.

Inputs: nets, maxPadsPerNet. Returns: result

get_registry_partGet Registry PartA
Read-onlyIdempotent

Get full details for one registry part by id: description, downloadable files (footprint/symbol/3D), datasheet, license, and provenance. Use the id returned by search_parts_registry.

Inputs: id (required). Returns: result

get_schematic_componentGet Schematic ComponentA
Read-onlyIdempotent

Get full component info from a schematic: position, every field's value, and each field's label position (at x/y/angle). Returns ALL properties — both built-in fields (Reference, Value, Footprint, Datasheet) and any custom BOM/sourcing properties present on the symbol (MPN, Manufacturer, DigiKey_PN, LCSC, Voltage, Tolerance, Dielectric, etc.). Use this before edit_schematic_component / set_schematic_component_property to inspect what is currently set, or to plan a label repositioning.

Inputs: reference (required), schematicPath (required). Returns: result

get_schematic_pin_locationsGet Schematic Pin LocationsA
Read-onlyIdempotent

Returns the exact x/y coordinates of every pin on a schematic component. Use this before add_schematic_net_label to place labels correctly on pin endpoints.

Inputs: reference (required), schematicPath (required). Returns: result

get_schematic_viewGet Schematic ViewA
Read-onlyIdempotent

Return a rasterized image of the schematic (PNG by default, or SVG). Uses kicad-cli to export SVG, then converts to PNG via cairosvg. Use this for visual feedback after placing or wiring components.

Inputs: schematicPath (required), width, format, height. Returns: result

get_schematic_view_regionGet Schematic View RegionA
Read-onlyIdempotent

Export a cropped region of the schematic as an image (PNG or SVG). Specify bounding box coordinates in schematic mm. Useful for zooming into a specific area to inspect wiring or layout.

Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +4 more. Returns: result

get_sheet_propertiesGet Sheet PropertiesA
Read-onlyIdempotent

List hierarchical sheets in a schematic with their name, file, uuid, position, and full property map (built-ins plus custom properties set via set_sheet_property). With sheetName or sheetPath, returns just that sheet.

Inputs: schematicPath (required), sheetName, sheetPath. Returns: result

get_symbol_infoGet Symbol InfoA
Read-onlyIdempotent

Get detailed information about a specific symbol (global or project-scope when projectPath is supplied or a project has been opened).

Inputs: symbol (required), projectPath. Returns: result

get_wire_connectionsGet Wire ConnectionsA
Read-onlyIdempotent

Returns the net name and all wires and component pins connected at a given point. Accepts either a component reference + pin number (e.g. reference='U1', pin='3') or a schematic coordinate (x, y in mm). Returns net=null for unnamed (unlabelled) nets. The query point must be at a wire endpoint or junction — midpoints are not matched. Use get_schematic_pin_locations or list_schematic_wires to obtain exact endpoint coordinates.

Inputs: schematicPath (required), x, y, pin, +1 more. Returns: result

hierarchical_placeHierarchical PlaceA
Destructive

Cluster a board's footprints by their schematic-sheet hierarchy (the HierPlace algorithm). After sync_schematic_to_board piles every footprint at the origin, this packs each functional block together as a starting point for manual placement. File-based: reads and rewrites the .kicad_pcb on disk, so save any in-memory board edits first. Locked footprints are left in place.

Inputs: boardPath (required). Returns: result

import_3d_modelImport 3d ModelA
Destructive

Copy a 3D model file (.step/.stp/.wrl/.x3d/.iges) into the project's *.3dshapes library folder and return a portable ${KIPRJMOD}/... path. Feed the returned 'modelPath' straight into add_footprint_3d_model or add_component_3d_model.

Inputs: modelPath (required), projectPath (required), newName, overwrite, +1 more. Returns: result

import_eagle_projectImport Eagle ProjectA
Destructive

Import an Eagle project (.brd + .sch) and convert it to a KiCad project. Converts the PCB layout via kicad-cli and translates the schematic from Eagle XML to KiCad S-expression format.

Inputs: board_file (required), output_dir, project_name, schematic_file. Returns: result

import_pcbImport PcbA
Destructive

Import a vendor PCB file (PADS, Altium, Eagle, CADSTAR, Fabmaster, P-CAD, SolidWorks PCB, or a binary Cadence Allegro .brd) and convert it to a KiCad .kicad_pcb file via kicad-cli's native pcb importer. Binary Cadence Allegro .brd files must use format 'auto' (kicad-cli auto-detects the Allegro binary format; there is no 'allegro' format literal). This only imports PCB/layout data — it does not import schematics.

Inputs: inputFile (required), format, outputFile, reportFormat. Returns: result

import_sesImport SesA
Destructive

Import a Specctra SES (session) file into the current PCB. Use after running Freerouting externally.

Inputs: sesPath (required), boardPath. Returns: result

import_symbolImport SymbolA
Destructive

Copy a symbol from one .kicad_sym library into another, with optional rename and overwrite. The target library is created if missing. A derived symbol (one using (extends ...)) needs its parent imported into the target first.

Inputs: symbolName (required), sourceLibraryPath (required), targetLibraryPath (required), newName, +1 more. Returns: result

is_dirtyIs DirtyA
Read-onlyIdempotent

Return whether the MCP knows the loaded board has unsaved memory changes or external disk changes.

Inputs: no named parameters. Returns: result

launch_kicad_uiLaunch Kicad UiB
Destructive

Launch KiCAD UI, optionally with a project file

Inputs: autoLaunch, projectPath. Returns: result

lint_offgridLint OffgridA
Destructive

Report every off-grid connection-relevant coordinate in a schematic — wire/bus endpoints, symbol origins, label/junction/no_connect anchors — and optionally snap them to the nearest grid point (fix: true). KiCad's connection grid is fixed at 50 mil (1.27 mm) and junction placement uses exact matching, so a single off-grid endpoint can poison junction placement for a whole sheet. Unlike snap_to_grid (whole-file rewrite), fixes here are byte-exact text splices that preserve file formatting; (lib_symbols) content and property field positions are never touched. Offenders more than 0.5 mm off-grid are reported as NEEDS HUMAN and never auto-snapped.

Inputs: schematicPath (required), fix, gridSize. Returns: result

lint_schematic_cosmeticLint Schematic CosmeticA
Destructive

Netlist-safe cosmetic cleanup of a .kicad_sch, applied as raw-text edits that never move a symbol, pin, wire, junction, or label anchor. Pass hide_pin_names gives every top-level embedded lib_symbol a (pin_names ... (hide yes)) directive — in label-driven schematics the internal pin names duplicate the net label on the same pin. Pass orient_labels sets each net/global/hierarchical label's text angle and justify from the sheet-space outward side of the pin it sits on (rotation/mirror aware), so text reads away from the symbol body; labels not on a pin are left untouched. Complements autoplace_schematic_fields (which handles Reference/Value fields).

Inputs: schematicPath (required), dryRun, passes. Returns: result

list_floating_labelsList Floating LabelsA
Read-onlyIdempotent

Returns all net labels in the schematic that are not connected to any component pin. A label is 'floating' when no component pin falls on the wire-network reachable from the label's position. Floating labels indicate misplaced or off-grid labels that cause ERC errors. Does not require the KiCAD UI to be running.

Inputs: schematicPath (required). Returns: result

list_footprint_librariesList Footprint LibrariesA
Read-onlyIdempotent

List available .pretty footprint libraries and their contents (first 20 footprints per library). Searches KiCAD standard install paths by default.

Inputs: searchPaths. Returns: result

list_graphicsList GraphicsA
Read-onlyIdempotent

List PCB graphic/drawing items such as gr_line, gr_arc, gr_rect, gr_text and dimensions.

Inputs: layer. Returns: result

list_librariesList LibrariesB
Read-onlyIdempotent

List all available KiCAD footprint libraries

Inputs: search_paths. Returns: result

list_library_footprintsList Library FootprintsA
Read-onlyIdempotent

List all footprints in a specific KiCAD library

Inputs: library_name (required), limit, filter. Returns: result

list_library_symbolsList Library SymbolsA
Read-onlyIdempotent

List all symbols in a specific KiCAD symbol library (global or project-scope when projectPath is supplied or a project has been opened).

Inputs: library (required), projectPath. Returns: result

list_schematic_componentsList Schematic ComponentsA
Read-onlyIdempotent

List all components in a schematic with their references, values, positions, and pins. Essential for inspecting what's on the schematic before making edits.

Inputs: schematicPath (required), filter. Returns: result

list_schematic_labelsList Schematic LabelsA
Read-onlyIdempotent

List all net labels, global labels, and power flags in the schematic. Optionally filter by label name (netName) and/or label type (labelType).

Inputs: schematicPath (required), netName, labelType. Returns: result

list_schematic_netsList Schematic NetsA
Read-onlyIdempotent

List all nets in the schematic with their connections.

Inputs: schematicPath (required). Returns: result

list_schematic_textsList Schematic TextsA
Read-onlyIdempotent

List all free-form text annotations (notes, headings, documentation strings) in the schematic. Returns position, angle, font size, bold/italic flags, and justification for each text element. Optionally filter by a substring match on the text content.

Inputs: schematicPath (required), text. Returns: result

list_schematic_wiresList Schematic WiresA
Read-onlyIdempotent

List all wires in the schematic with start/end coordinates.

Inputs: schematicPath (required). Returns: result

list_symbol_librariesList Symbol LibrariesA
Read-onlyIdempotent

List all available KiCAD symbol libraries from global sym-lib-table, plus the project's sym-lib-table when projectPath (or any related file) is supplied or a project has been opened.

Inputs: projectPath. Returns: result

list_symbol_pinsList Symbol PinsA
Read-onlyIdempotent

Return pin names, numbers, and types for a symbol directly from the library — no schematic required. Use this before add_schematic_component to discover pins for connect_to_net calls. Each pin has 'number' (e.g. '1', 'A5') and 'name' (e.g. 'FB', 'GND') — connect_to_net accepts either. Pass schematicPath to resolve project-local symbols. Returns close-match suggestions if the symbol name is slightly wrong.

Inputs: symbol (required), schematicPath. Returns: result

list_symbols_in_libraryList Symbols In LibraryA
Read-onlyIdempotent

List all symbol names in a .kicad_sym library file.

Inputs: libraryPath (required). Returns: result

list_tool_categoriesList Tool CategoriesA
Read-onlyIdempotent

List all available KiCAD tool categories with their descriptions and tool counts. Use this to discover which tools are available via the router.

Inputs: no named parameters. Returns: note, categories, total_tools, total_categories

modify_traceModify TraceA
Destructive

Modify an existing trace (change width, layer, or net).

Inputs: traceUuid (required), net, layer, width. Returns: result

move_componentMove ComponentA
Destructive

Move a PCB component to a new position. Optionally update rotation or flip to a different copper layer.

Inputs: position (required), reference (required), layer, rotation. Returns: result

move_footprint_textMove Footprint TextA
Destructive

Move or update a footprint Reference/Value/user text field without moving the footprint.

Inputs: field (required), reference (required), x, y, +4 more. Returns: result

move_schematic_componentMove Schematic ComponentA
Destructive

Move a placed symbol to a new position in the schematic. By default (preserveWires=true) wire endpoints touching the component's pins are stretched to follow the new position.

Inputs: position (required), reference (required), schematicPath (required), preserveWires. Returns: result

move_schematic_net_labelMove Schematic Net LabelA
Destructive

Move a net label (local, global, or hierarchical) to a new position in the schematic. Use currentPosition to disambiguate when multiple labels share the same name.

Inputs: netName (required), newPosition (required), schematicPath (required), labelType, +1 more. Returns: result

open_boardOpen BoardA
Destructive

Open a specific .kicad_pcb board file and refresh the MCP in-memory board state.

Inputs: boardPath (required). Returns: result

open_projectOpen ProjectC
Destructive

Open an existing KiCAD project

Inputs: filename (required). Returns: result

place_componentPlace ComponentA
Destructive

Place a footprint component onto the PCB at the specified position. Optionally set reference, value, footprint, rotation and layer.

Inputs: position (required), componentId (required), layer, value, +4 more. Returns: result

place_component_arrayPlace Component ArrayA
Destructive

Place a rectangular grid array of identical components on the PCB with configurable row/column spacing.

Inputs: rows (required), columns (required), rowSpacing (required), componentId (required), +6 more. Returns: result

query_tracesQuery TracesA
Read-onlyIdempotent

Query traces on the board with optional filters by net, layer, or bounding box.

Inputs: net, unit, layer, boundingBox. Returns: result

query_zonesQuery ZonesA
Read-onlyIdempotent

Query copper zones (filled pours) on the board with optional filters by net, layer, or bounding box. Returns zone net, layers, priority, fill state, and bounding box. Useful for auditing power planes and GND pours that query_traces does not include.

Inputs: net, layer, boundingBox. Returns: result

refill_zonesRefill ZonesA
Destructive

Refill all copper zones on the board. WARNING: SWIG path has known segfault risk (see KNOWN_ISSUES.md). Prefer using IPC backend (KiCAD open) or triggering zone fill via KiCAD UI instead.

Inputs: no named parameters. Returns: result

register_footprint_libraryRegister Footprint LibraryA
Destructive

Register a .pretty footprint library in KiCAD's fp-lib-table so KiCAD can find the footprints. Run this after create_footprint when KiCAD shows 'library not found in footprint library table'.

Inputs: libraryPath (required), scope, description, libraryName, +1 more. Returns: result

register_symbol_libraryRegister Symbol LibraryA
Destructive

Register a .kicad_sym library in KiCAD's sym-lib-table so symbols can be used in schematics. Run this after create_symbol when KiCAD shows 'library not found'.

Inputs: libraryPath (required), scope, description, libraryName, +1 more. Returns: result

reload_boardReload BoardA
Destructive

Reload the current or specified .kicad_pcb from disk, discarding stale in-memory board state.

Inputs: boardPath. Returns: result

remove_hierarchical_sheetRemove Hierarchical SheetA
Destructive

Remove a hierarchical-sheet reference from a parent schematic (the reverse of add_hierarchical_sheet). Identify the sheet by sheetName (matches the sheet's name property) or by subsheetPath (matched by basename against the sheet's file property). Deletes the (sheet ...) block and any matching (sheet_instances) page entry. Does NOT delete the sub-sheet .kicad_sch file on disk.

Inputs: schematicPath (required), sheetName, subsheetPath. Returns: result

remove_schematic_component_propertyRemove Schematic Component PropertyA
Destructive

Remove a single custom property from a placed schematic symbol.

Built-in fields (Reference, Value, Footprint, Datasheet) cannot be removed — KiCad requires them on every symbol. To clear a built-in field, use edit_schematic_component and set its value to an empty string.

Inputs: name (required), reference (required), schematicPath (required). Returns: result

rename_symbolRename SymbolA
Destructive

Rename a symbol in a .kicad_sym library, including its sub-symbol shards (name_0_1, ...) and any (extends ...) references from derived symbols in the same library. Note: schematics that already place the old lib_id are NOT updated — use replace_instance_lib_ids for that.

Inputs: newName (required), oldName (required), libraryPath (required). Returns: result

repair_flat_symbolsRepair Flat SymbolsA
Destructive

Repair "flat" vendor symbols so schematic tools can parse the file.

SnapEDA/SamacSys .kicad_sym captures often put pins and graphics directly under the top-level (symbol "NAME" ...) with no _1_1 sub-unit. KiCad and kicad-cli tolerate this, but the kicad-skip parser used by the schematic edit/inspect tools (list_schematic_components, batch_connect, ...) crashes on it — for any sheet that uses, or embeds a snapshot of, such a symbol.

This tool wraps the drawable/pin children in a proper (symbol "NAME_1_1") sub-unit via pure text insertion (formatting preserved, render-neutral). Works on standalone .kicad_sym libraries and on the embedded (lib_symbols) block of a .kicad_sch. Idempotent; already-wrapped and extends-derived symbols are skipped. Dry-run by default — files are edited in place, so keep them under version control before repairing.

Inputs: path (required), dryRun. Returns: result

replace_board_outlineReplace Board OutlineB
Destructive

Replace the current Edge.Cuts board outline with a rectangle, rounded rectangle, circle or polygon.

Inputs: shape (required), params (required). Returns: result

replace_instance_lib_idsReplace Instance Lib IdsA
Destructive

Replace lib_id references in schematic symbol instances per an explicit old-to-new mapping — the mechanical layer of a library migration (e.g. eagle_import symbols to curated library symbols). Mirror-variant suffixes (__m0/__m90/__m180/__m270) get automatic angle correction; each needs its own mapping entry. Only instances are rewritten; lib_symbols is preserved (use update_symbol_from_library to refresh definitions afterwards).

Inputs: mapping (required), schematicPath (required), sourceLibrary. Returns: result

replace_schematic_componentReplace Schematic ComponentA
Destructive

Replace a placed component's symbol with a different one (e.g. Device:R -> Device:R_Potentiometer), preserving its position, rotation, and field values (Value/Footprint/custom). Optionally override rotation with newRotation. Returns the new pin positions.

Inputs: newSymbol (required), reference (required), schematicPath (required), newRotation. Returns: result

rotate_componentRotate ComponentA
Destructive

Rotate a PCB component to an absolute angle in degrees.

Inputs: angle (required), reference (required). Returns: result

rotate_schematic_componentRotate Schematic ComponentB
Destructive

Rotate a placed symbol in the schematic.

Inputs: angle (required), reference (required), schematicPath (required), mirror. Returns: result

route_arc_traceRoute Arc TraceA
Destructive

Route a copper arc trace defined by start/mid/end points. Uses true PCB arc primitives when available.

Inputs: end (required), mid (required), layer (required), start (required), +2 more. Returns: result

route_differential_pairRoute Differential PairC
Destructive

Route a differential pair between two sets of points.

Inputs: gap (required), layer (required), width (required), negativeNet (required), +3 more. Returns: result

route_pad_to_padRoute Pad To PadA
Destructive

PREFERRED tool for pad-to-pad routing. Looks up pad positions automatically, detects the net from the pad, and — critically — if the two pads are on different copper layers (e.g. J1 on F.Cu and J2 on B.Cu) automatically inserts a via at the midpoint so the connection is complete. Always use this instead of route_trace when routing between named component pads.

Inputs: toPad (required), toRef (required), fromPad (required), fromRef (required), +3 more. Returns: result

route_traceRoute TraceA
Destructive

Route a trace segment between two XY points on a fixed layer. WARNING: Does NOT handle layer changes — if start and end are on different copper layers, use route_pad_to_pad instead, which automatically inserts a via.

Inputs: end (required), net (required), layer (required), start (required), +1 more. Returns: result

run_drcRun DrcA
Destructive

Run the KiCAD Design Rule Check (DRC) on the current PCB and return violations. Optionally save the report to a file.

Inputs: reportPath. Returns: result

run_ercRun ErcA
Read-onlyIdempotent

Runs the KiCAD Electrical Rules Check (ERC) on a schematic and returns all violations. Use after wiring to verify the schematic before generating a netlist.

Inputs: schematicPath (required). Returns: result

save_asSave AsA
Destructive

Save the current PCB board to a new .kicad_pcb path.

Inputs: boardPath (required), force, overwrite, forceExternalChanges. Returns: result

save_boardSave BoardA
Destructive

Save the current PCB board. Refuses to overwrite external disk edits unless force=true.

Inputs: force, boardPath, overwrite, forceExternalChanges. Returns: result

save_projectSave ProjectA
Destructive

Save the current KiCAD project. Refuses to overwrite the board file if its contents changed on disk since load (external edit) unless force is true.

Inputs: path, force, overwrite, forceExternalChanges. Returns: result

search_footprintsSearch FootprintsA
Read-onlyIdempotent

Search for footprints matching a pattern across all libraries

Inputs: search_term (required), limit, library. Returns: result

search_jlcpcb_partsSearch Jlcpcb PartsA
Read-onlyIdempotent

Search JLCPCB parts catalog by specifications.

Searches the local JLCPCB database (must be downloaded first with download_jlcpcb_database). Provides real pricing, stock info, and library type (Basic parts = free assembly).

Use this to find components with exact specifications and cost optimization.

For a verified, ready-to-use KiCAD footprint/symbol/3D bundle (rather than sourcing/stock data), use search_parts_registry instead.

Inputs: limit, query, package, category, +3 more. Returns: result

search_parts_registrySearch Parts RegistryA
Read-onlyIdempotent

Search an open, gate-verified parts registry for existing KiCAD parts BEFORE generating a custom footprint/symbol from scratch. Complements search_jlcpcb_parts: use that tool for JLCPCB sourcing data (price, stock, assembly tier); use this one to fetch a verified existing footprint/symbol/3D bundle.

Default registry: PartReel (https://partreel.com) — 18k+ verified parts, no auth. Override with the PARTREEL_API_BASE environment variable to point at any compatible registry. Matches are case-insensitive substrings over the part name, keywords, family, and manufacturer.

Inputs: query (required), limit, category. Returns: result

search_symbolsSearch SymbolsA
Read-onlyIdempotent

Search for symbols in local KiCAD symbol libraries.

Searches by: symbol name, LCSC ID, description, manufacturer, MPN, category. Use this to find components already in your local libraries (e.g., JLCPCB-KiCad-Library).

Returns symbol references that can be used directly in schematics.

Inputs: query (required), limit, library, projectPath. Returns: result

search_toolsSearch ToolsA
Read-onlyIdempotent

Search all available KiCAD tools by keyword. Returns matching tool names and their categories.

Inputs: query (required). Returns: note, count, query, matches

set_active_layerSet Active LayerA
Destructive

Set the currently active PCB layer by name (e.g. F.Cu, B.Cu).

Inputs: layer (required). Returns: result

set_board_originSet Board OriginA
Destructive

Set the auxiliary (drill/place) origin and/or grid origin of a .kicad_pcb. The aux origin is the datum used by export_drill's drillOrigin:'plot' option and by pick-and-place / plot exports with useAuxOrigin. File-based (LoadBoard -> SaveBoard): if the board is open in the KiCad GUI, a later GUI save will overwrite this edit.

Inputs: x (required), y (required), boardPath (required), type, +1 more. Returns: result

set_board_sizeSet Board SizeA
Destructive

Set the PCB board dimensions (width and height) in the specified unit.

Inputs: unit (required), width (required), height (required). Returns: result

set_design_rulesSet Design RulesB
Destructive

Configure PCB design rules: clearance, track width, via dimensions and courtyard requirements.

Inputs: viaDrill, clearance, trackWidth, minViaDrill, +10 more. Returns: result

set_footprint_typeSet Footprint TypeA
Destructive

Set the placement type (through_hole / smd / unspecified) and optional exclusion flags on a placed PCB footprint. The placement type controls whether the footprint is included in pick-and-place (.pos) output files. Use exclude_from_pos_files to suppress a footprint from .pos exports without changing its type.

Inputs: type (required), reference (required), exclude_from_bom, not_in_schematic, +1 more. Returns: result

set_layer_constraintsSet Layer ConstraintsA
Destructive

Set per-layer design rule constraints (minimum track width, clearance and via dimensions).

Inputs: layer (required), minViaDrill, minClearance, minTrackWidth, +1 more. Returns: result

set_schematic_component_propertySet Schematic Component PropertyA
Destructive

Add or update a single custom property on a placed schematic symbol.

This is a focused convenience wrapper around edit_schematic_component for the very common case of attaching one BOM / sourcing field at a time. The property is created if it does not already exist on the component.

Typical custom properties: • MPN, Manufacturer, Manufacturer_PN — manufacturer part number metadata • DigiKey, DigiKey_PN, Mouser_PN, LCSC, JLCPCB_PN — distributor part numbers • Voltage, Tolerance, Power, Dielectric, Temperature_Coefficient — passive parameters • Description, Notes — free-form documentation • Any custom field your BOM exporter expects.

These properties are written into the .kicad_sch file as standard KiCad property records, are exported by export_bom, and are picked up by the JLCPCB and Digi-Key sourcing tools. Newly-created properties default to hidden — set hide=false to display the value on the schematic canvas.

For batch updates of multiple properties at once, use edit_schematic_component with the properties parameter instead.

Inputs: name (required), value (required), reference (required), schematicPath (required), +6 more. Returns: result

set_schematic_property_positionSet Schematic Property PositionA
Destructive

Move a component's Reference or Value field label to an absolute (x, y) coordinate (mm), optionally rotating or hiding it. Only 'Reference' and 'Value' are supported. Use autoplace_schematic_fields to place all of them automatically.

Inputs: x (required), y (required), property (required), reference (required), +3 more. Returns: result

set_sheet_propertySet Sheet PropertyA
Destructive

Add or update a custom property on a hierarchical sheet's (sheet ...) block — e.g. cell identity or generator parameters carried as sheet metadata. Identify the sheet by sheetName or sheetPath (basename match against the sheet's file property). The property is created hidden if absent, otherwise its value is updated in place; the file's formatting is preserved. The built-in 'Sheet name'/'Sheet file' properties cannot be set here — use add/remove_hierarchical_sheet to manage the sheet link.

Inputs: key (required), value (required), schematicPath (required), sheetName, +1 more. Returns: result

snapshot_projectSnapshot ProjectA
Destructive

Save a named checkpoint snapshot of the current project state (renders board to PDF and records step label). Call after completing each major step — e.g. after Step 1 (schematic_ok) and Step 2 (layout_ok). Required by the demo workflow before waiting for user confirmation.

Inputs: step (required), label (required), prompt. Returns: result

snap_to_gridSnap To GridA
Destructive

Snap schematic element coordinates to the nearest grid point. KiCAD uses exact integer matching for connectivity, so off-grid coordinates cause wires that look connected to fail ERC checks. Modifies the .kicad_sch file in place. Does not require the KiCAD UI to be running.

Inputs: schematicPath (required), elements, gridSize. Returns: result

suggest_jlcpcb_alternativesSuggest Jlcpcb AlternativesA
Read-onlyIdempotent

Suggest alternative JLCPCB parts for a given component.

Finds similar parts that may be cheaper, have more stock, or are Basic library type. Useful for cost optimization and finding alternatives when parts are out of stock.

Inputs: lcsc_number (required), limit. Returns: result

suggest_placementSuggest PlacementA
Destructive

Propose an optimized PCB footprint placement that shortens net length, orients parts toward their partners, and removes courtyard overlaps. Force-directed clustering pulls connected parts together (a converter's feedback divider and decoupling caps end up hugging its IC), power/high-current nets are weighted short & direct, and each part is rotated (0/90/180/270) to face neighbours so airwires stop crossing. PCB ONLY — does not touch the schematic. DRY RUN by default: returns proposals {ref:[x,y,rot]} plus a score (HPWL before/after, overlap counts) without modifying the board. Validate via check_courtyard_overlaps(positions=proposals), then re-run with apply=true before autoroute.

Inputs: refs, align, apply, bounds, +12 more. Returns: result

suggest_schematic_declutterSuggest Schematic DeclutterA
Destructive

Re-orient overlapping net/global labels so their text lands in free space and becomes readable. Each label's (at x,y) anchor is its electrical connection point, so it is held FIXED — only the orientation (0/90/180/270) and justification change, throwing the text away from component bodies and other labels. Connectivity is never altered. DRY RUN by default: returns proposals [{name, at, from_angle, to_angle}] plus an overlap score (before/after) WITHOUT modifying the schematic. Set apply=true to rewrite the label orientations. (Phase 1: labels only; symbol spreading + wire reroute is a separate future capability.)

Inputs: schematicPath (required), apply, margin, references. Returns: result

sync_schematic_to_boardSync Schematic To BoardA
Destructive

Import the schematic netlist into the PCB board — equivalent to pressing F8 in KiCAD (Tools → Update PCB from Schematic). MUST be called after the schematic is complete and before placing or routing components on the PCB. Without this step, the board has no footprints and no net assignments — place_component and route_pad_to_pad will produce an empty, unroutable board.

Inputs: boardPath (required), schematicPath (required). Returns: result

update_graphicUpdate GraphicC
Destructive

Update common properties of a PCB graphic/drawing item by UUID.

Inputs: uuid (required), end, text, unit, +5 more. Returns: result

update_symbol_from_libraryUpdate Symbol From LibraryA
Destructive

Refresh embedded lib_symbols cache entries from a KiCad symbol library (equivalent to KiCad's Update Symbol from Library). Skips mirror-cache entries (__m0, __m90, …). Flattens (power) symbols for schematic format. Pass projectsDir to update all schematics in a folder, or schematicPath for one file.

Inputs: libraryName (required), symbols, backupDir, projectsDir, +3 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 219 tools

    Disambiguation2/5

    Many tools have overlapping or near-identical purposes, such as get_pads/get_component_pads/get_net_pads, get_ratsnest/estimate_airwire_lengths (explicitly aliased), and a large family of export_pdf/svg/gerber variants. The descriptions are detailed, but the sheer number of similar-sounding tools makes it hard for an agent to reliably pick the correct one, especially without reading every description carefully.

    Naming Consistency3/5

    Most core tools follow a consistent verb_noun pattern (create_project, save_board, add_layer, delete_component, get_board_info). However, the export family is chaotic with export_gerber vs export_gerbers vs export_gerber_single, export_pdf vs export_pcb_pdf vs export_sch_pdf, and export_position_file vs export_pos, plus mixed singular/plural variants like set_schematic_component_property vs batch_set_schematic_property_positions.

    Tool Count1/5

    With 219 tools, this server far exceeds the 50+ threshold for a score of 1. While KiCAD is a complex domain, bundling schematic, PCB, library, JLCPCB, and autorouting tools into a single MCP surface is unwieldy and makes discovery and navigation impractical for an agent.

    Completeness5/5

    The tool surface is exceptionally complete, covering the entire design flow from schematic creation and wiring through ERC, PCB placement, routing, DRC, export to multiple manufacturing formats, and even part sourcing and autorouting. Minor gaps like missing delete_net or net renaming are negligible given the breadth of functionality provided.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables AI assistants to design PCBs in KiCAD through natural language, with transactional preview-verify-commit workflow, undo/redo, and an engineering knowledge base.
      14
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants like Claude to interact with KiCAD for PCB design automation, providing comprehensive tool schemas and real-time project state access.
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to read and modify KiCAD PCB designs through the KiCAD IPC API, providing tools for board queries, footprint placement, track creation, DRC, and export.
      14
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with KiCAD for PCB design automation. Users can design PCBs using natural language, including component placement, routing, checks, and export.
      1
      MIT