kicad-mcp
Provides tools to analyze, review, export, and edit KiCad electronic design automation (EDA) projects, including PCB layout, schematic, and design rule checks.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kicad-mcpRun a design review on my board"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kicad-mcp
An MCP server that lets Claude analyze, review, and export KiCad 9 designs — and (with a running KiCad) edit boards live. Its differentiator is a built-in design-review engine encoding the teachings of Rick Hartley and Phil Salmony (Phil's Lab): stackup, return paths, grounding, decoupling, crosstalk, SMPS layout, mixed-signal partitioning, and DFM — with anti-myth guards so it never nags about 90° corners or "shield" moats.
Status: All phases (0–6) implemented. Headless analysis/verify/export, a 23-rule review engine across 10 families (with anti-myth guards), live board editing via IPC (verified against KiCad 9.0.8), experimental schematic writes, symbol/footprint/JLCPCB search, an async task queue, a tool router, and review history. 45 tools + 4 router tools, 4 prompts, 173 tests. See
docs/architecture.md,PLAN.md§8, andCLAUDE.md.
The review engine (the differentiator)
review_design audits a board against a cited rule catalog and returns findings
grouped by severity — each with a rule ID, a one-line physics rationale, a
citation, and the exact location. v1 covers five families:
Family | Rules | Checks |
stackup | K1, K2, K5, K6 | signal-adjacent-to-plane, bad 4-layer order, tight pwr–gnd cavity, 2-layer ground |
grounding | G1, G2 | split ground plane, separate analog/digital grounds |
return_path | R5 | trace crossing a gap in its reference plane (geometric) |
decoupling | DEC-1 | 100 nF near every IC |
dfm | RTE-2, RTE-3, DFM-4 | power track width, via annular ring, board outline / mounting holes |
Anti-myth by construction: no rule fires on 90° corners, guard traces, via
fill, or length-in-mm. A golden test asserts a board full of 90° corners produces
zero findings. Use set_design_context to supply rise times / clocks / target
impedances the files can't contain.
Related MCP server: Universal Netlist MCP Server
Tools
Foundation: get_server_status · list_projects · get_project_info ·
create_project · get_board_info · get_board_stackup ·
list_schematic_components · list_schematic_nets · trace_net · run_erc ·
run_drc · export_gerbers · export_bom · export_netlist · export_step ·
render_board · export_fab_package
Review engine: review_design · review_topic · set_design_context (+ the
review_board prompt)
Live editing (needs a running KiCad with the IPC API enabled):
get_live_board_status · list_live_footprints · move_footprint ·
rotate_footprint · route_trace · add_via · route_differential_pair ·
add_zone · refill_zones · save_board
The visual loop: edit live → save_board → render_board → inspect the PNG →
edit again. Every mutation is one undo step (Cmd/Ctrl-Z reverts it in the GUI).
Architecture
One Python process (FastMCP, stdio). Three backends behind one capability interface, selected at runtime with graceful degradation:
Backend | Library | Role | Needs |
| subprocess | ERC/DRC, netlist, BOM, gerbers, renders, fab package | KiCad 9 installed |
S-expr | kicad-skip + sexpdata | schematic/board read (writes gated, experimental) | file closed in GUI |
IPC | kicad-python (kipy) | live PCB editing (Phase 3) | running KiCad + IPC API |
If the GUI is down, editing tools return actionable errors while analysis/review/export keep working headless.
Install (dev)
uv venv
uv pip install -e ".[dev]"
uv run pytest
uv run ruff check .Or with stock tooling:
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest && ruff check .Run
python -m kicad_mcp # stdio MCP server
# or the installed console script:
kicad-mcpThe first tool to call is get_server_status, which reports which backends
are live, what capabilities are available, and the detected KiCad version.
Configuration (KICAD_MCP_*)
Variable | Meaning | Default |
|
|
|
| override for the | auto-discovered per platform |
| Freerouting jar for autoroute (Phase 6) | unset |
|
|
|
| seconds for kicad-cli subprocess calls |
|
| seconds for IPC calls |
|
kicad-cli is discovered at the platform default
(/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli on macOS,
C:\Program Files\KiCad\9.0\bin\kicad-cli.exe on Windows, kicad-cli on PATH on
Linux), overridable via KICAD_MCP_CLI_PATH.
License
MIT — see LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for Electronic Design Automation that provides comprehensive tools for managing KiCad 9.x PCB design workflows. It enables users to create schematics, layout PCBs, perform design rule checks, and export manufacturing files through a standardized interface.Last updated391MIT
- Alicense-qualityBmaintenanceThis MCP server enables AI agents to understand and analyze electrical schematics from Cadence and Altium for comprehensive design reviews through natural conversations.Last updated22625Apache 2.0
- AlicenseAqualityCmaintenanceMCP servers for KiCad schematic, PCB, symbol, footprint, and project automation, enabling AI-assisted electronic design via tools for read/write, analysis, and exports.Last updated894MIT
- AlicenseBqualityBmaintenanceAn MCP server that enables AI assistants to analyze schematics, inspect PCBs, trace connections, validate designs, and generate embedded code for KiCad projects.Last updated3962MIT
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
MCP server for Klever blockchain smart contract development.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/antonmadto/kicad-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server