kicad-mcp
Provides end-to-end control of KiCad 9+ for rule checks, manufacturing exports, certification, live PCB editing, and netlist generation.
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 production readiness certification 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 gives an AI agent end-to-end control of KiCad 9+: rule checks, manufacturing exports, a production-readiness certification gate, live PCB-editor control, and netlist generation.
It is built around a simple split that mirrors how KiCad actually works:
kicad-cli(headless, no running instance) handles DRC/ERC and every export (Gerbers, drill, position, BOM, STEP, PDF, SVG, netlist, PNG render).kipy(the KiCad 9 IPC API) handles live control of a board open in the PCB editor.A built-in s-expression parser reads
.kicad_pcb/.kicad_schfiles offline with zero dependencies, so inspection always works.SKiDL turns Python hardware descriptions into importable netlists.
kicad_preflightties the checks and exports together into a single pass/fail certification that only emits a fabrication package when the board actually passes.
Surfaces and tools
Surface | Tools |
Headless checks & exports ( |
|
Certification workflow |
|
Offline inspection & safe edits |
|
Live IPC control ( |
|
Netlist generation (SKiDL) |
|
kicad_preflight is the headline tool. Given a board (and ideally its schematic) it runs ERC, DRC with schematic parity, a fully-routed check, and a board-outline check as hard gates, plus soft checks for missing footprint values and unplaced parts. Only when every hard gate passes does it generate the Gerber/drill/position/BOM package (zipped), a STEP model, and PCB/schematic PDFs.
Related MCP server: KiCad MCP Server
Installation
Requires Python 3.10+ and KiCad 9.0+.
pip install -e .[all]The base install depends only on mcp and pydantic. The optional bindings are pulled in by extras and each degrades gracefully — if one is missing, only its tools report an actionable install hint, and the rest of the server keeps working:
.[live]→kicad-python(live IPC control).[edit]→kiutils(offline field edits).[netlist]→skidl(netlist generation).[all]→ everything
kicad-cli itself ships with KiCad; it is not a pip package. The server finds it automatically via the KICAD_CLI environment variable, then PATH, then the standard install locations:
Windows:
C:\Program Files\KiCad\9.0\bin\kicad-cli.exemacOS:
/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cliLinux:
/usr/bin/kicad-cli
If it lives elsewhere, set KICAD_CLI to the full path.
Enabling live control
The live tools talk to a running KiCad over its IPC API. In KiCad, open Preferences → Plugins and enable the KiCad API, then keep a board open in the PCB editor. The IPC API in KiCad 9/10 covers the PCB editor only and does not do exports — that is why exports go through kicad-cli.
Claude Desktop configuration
Add the server to claude_desktop_config.json:
{
"mcpServers": {
"kicad": {
"command": "python",
"args": ["-m", "kicad_mcp"],
"env": {
"KICAD_CLI": "C:\\Program Files\\KiCad\\9.0\\bin\\kicad-cli.exe"
}
}
}
}On Windows, the config file location depends on how Claude Desktop was installed:
Standard install:
%APPDATA%\Claude\claude_desktop_config.jsonMSIX / Microsoft Store install:
%APPDATA%is redirected into the package sandbox, so the file lives underC:\Users\<you>\AppData\Local\Packages\<ClaudePackageFamilyName>\LocalCache\Roaming\Claude\claude_desktop_config.json
The reliable way to avoid guessing is to open the file from inside the app (Settings → Developer → Edit Config), which always writes to the correct location for your install. Point command at the Python interpreter of the environment where you installed kicad-mcp (a full path to python.exe avoids PATH surprises under MSIX). A sample config is in examples/claude_desktop_config.json.
Notes
Tool inputs are validated with Pydantic; malformed calls fail fast with a clear message.
Rule-check tools parse
kicad-cli's JSON reports, so violations come back as structured severity counts rather than scraped text.Live edits (
kicad_move_footprint,kicad_set_footprint_value) apply to the open editor immediately but are not written to disk untilkicad_save_board.kicad_inspect_projectnever needs KiCad installed at all.
This server cannot be installed
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
- 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
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server that exposes KiCad PCB design automation tools to AI assistants and other MCP clients.Last updated
- Alicense-qualityBmaintenanceAn MCP server providing full control over KiCad 10, enabling PCB editing, schematic editing, design data, and production output via natural language.Last updatedMIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server for Arcjet - the runtime security platform that ships with your AI code.
MCP server for generating rough-draft project plans from natural-language prompts.
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/AbdulAzeez0001/kicad-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server