KiCad MCP servers: what they do, which to pick, and how to set one up safely

An AI chat client linked over stdio to a local MCP server, with read switched on and write switched off, connected to a KiCad board.
A KiCad MCP server sits between the AI client and your project. Read access first, write access later. Diagram: Gerber3D · Data: Connect to local MCP servers (Model Context Protocol docs)

A KiCad MCP server is a small program that runs on your own computer. It lets an AI assistant open your KiCad project and answer questions about it. It can also run ERC and DRC (the electrical and design rule checks) and export files. With some servers, it can edit the board too. Getting one running takes about as long as installing a Python package. The part worth thinking about is how much you let it change.

MCP in one paragraph

The Model Context Protocol (MCP) is an open protocol for connecting AI applications to outside tools and data. Anthropic introduced it in late 2024. In December 2025 it donated MCP to the Agentic AI Foundation, a fund under the Linux Foundation. The setup has two halves. One half is an MCP client (Claude Desktop, Claude Code, and a growing list of other apps). The other is one or more MCP servers. Each server offers a set of named tools that the model can call. For a local server, the client simply starts it as a child process. It then talks to the server over standard input and output. The official docs at modelcontextprotocol.io walk through that model.

What a KiCad server can actually do

The servers differ a lot, but their tools fall into two groups. Read-side tools only look at your project. They are the safe, useful majority:

  • list projects and open a schematic or board
  • list components, nets (the named connections) and what connects to a given pin
  • extract a netlist or BOM (bill of materials)
  • run ERC and DRC (usually through kicad-cli) and hand the report back to the model
  • export Gerbers, drill files, PDFs or renders

Write-side tools change your project. They place and move footprints, add tracks and zones, set net classes, add symbols and wires, or call an external autorouter. That's where the risk sits.

Under the hood, a server reaches KiCad in one of three ways. It can parse the .kicad_sch and .kicad_pcb files directly, because they're plain-text S-expressions (nested lists in brackets). It can shell out to kicad-cli, which means running it as a command. Or it can drive KiCad through an API. Which API it uses matters more than it sounds.

Diagram of a local MCP server reaching KiCad four ways: parsing project files, kicad-cli, the IPC API on a running KiCad, and the pcbnew SWIG module.
The route a server takes decides what it can do. The IPC API needs a running KiCad and has no file export; the SWIG module is due to go in KiCad 11. Diagram: Gerber3D · Data: KiCad IPC API docs

KiCad's IPC API, and the SWIG bindings it replaces

For years, KiCad scripting meant the pcbnew Python module, which is generated with a tool called SWIG. KiCad 9 added a new IPC API (a way for separate programs to talk to each other). A running KiCad instance acts as a server. Plugins or other programs connect to it as clients and send it Protobuf messages (a compact data format). The official Python wrapper is kicad-python. You turn the server on under Preferences > Plugins. The exact checkbox label has changed between versions.

KiCad 10.0.0 shipped on March 20, 2026. Since then, the 10.0.x point releases have kept widening IPC coverage. 10.0.7 added board tables and reference points, and 10.0.8, in October 2026, added footprint unit information. Per KiCad's developer docs, two limits still apply in KiCad 9 and 10. The IPC API talks only to a running KiCad GUI, and it has no plotting or file export. It also reaches only the PCB editor, not the schematic editor.

The SWIG bindings were not removed in KiCad 10. KiCad developers have said they're going in KiCad 11. SWIG support was already taken out of the development branch in March 2026. So for 2027, expect KiCad MCP servers that still rely on pcbnew to have to move to the IPC API plus kicad-cli. Also expect schematic access through the API to depend on what KiCad 11 actually ships. That's an expectation, not a release note.

The main KiCad MCP servers in December 2026

There are dozens of small projects on GitHub and PyPI. These are the ones with real traction (many users) or a different approach. Star counts and versions are as of early December 2026, and they change every week.

ProjectLicenseWhat it doesActivity
mixelpixx/KiCAD-MCP-ServerMITBroadest tool set: project setup, schematic editing, placement, routing, DRC/ERC, export, symbol and footprint generation, Freerouting integration, JLCPCB parts data. Node.js plus Python; uses the SWIG API with an experimental IPC backend. KiCad 9 or later.About 3.8k stars, 1,500+ commits, commits landing in December 2026
lamaalrajih/kicad-mcpMITRead and analyze: list and open projects, netlist extraction, BOM analysis, DRC via kicad-cli, board renders, recognizing common circuit blocks. No editing tools listed. KiCad 9 or later, Python 3.10+.About 540 stars; last commit October 2025
oaslananka/kicad-mcp-proAGPL-3.0Profiles that gate risk: the default exposes 25 read-only review tools, a build profile allows controlled edits, a release profile requires human approval for manufacturing handoff. ERC/DRC through KiCad, DFM checks, Gerber export, parts sourcing.Version 4.27.1, about 270 stars, very active
mcp-kicad (PyPI)See packageSmall server that exposes PCB editor functions over the IPC API. Needs KiCad 9+ running with the API enabled.Early, 0.1.x

A note on licenses. MIT lets you do almost anything. AGPL-3.0 is fine for running a tool on your own machine. But it comes with duties to share source code if you modify it and offer it to others over a network, so read it if that's your plan. There's also a commercial option: Konnect-EDA from Orchis.ai. It's a closed-source KiCad 10 plugin built on the IPC API and kicad-cli. It's free during its beta. After 1.0, its makers promise free keys for personal and student use and paid licenses for businesses.

If you want one recommendation, start with a server that can read and run checks but can't edit. Add write access once you trust the setup.

Setting one up

Each README has its own install steps, so follow the one for the server you picked. The overall shape is the same everywhere:

  1. Install KiCad 9 or 10. Check that kicad-cli version runs from a terminal.
  2. Install the server's runtime (Python with uv, or Node.js). Then clone or install the server.
  3. If it uses the IPC API, open KiCad and enable the API server under Preferences > Plugins.
  4. Register the server with your MCP client (below).
  5. Fully quit and restart the client, then ask it to list the tools it can see.

For Claude Desktop, the config file is at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Settings > Developer > Edit Config opens it. A generic entry looks like this. It's an example, not any one project's exact config:

{
  "mcpServers": {
    "kicad": {
      "command": "/path/to/server/.venv/bin/python",
      "args": ["/path/to/server/main.py"]
    }
  }
}

Replace every path with an absolute (full) path. Some servers also take an env object for settings, such as where your projects live. The variable names are different for each server. For comparison, lamaalrajih/kicad-mcp's README points command at its virtualenv's Python and args at main.py. mixelpixx's macOS example instead runs node on dist/index.js. It also sets PYTHONPATH to the Python bundled inside KiCad.app, so the pcbnew module can be found.

In Claude Code, add the same server from the terminal with claude mcp add --transport stdio kicad -- /path/to/server/.venv/bin/python /path/to/server/main.py. Add --scope project to write it to a .mcp.json file in the repo root. Then collaborators get it too (they're asked to approve it first). Other MCP clients take a similar block, though the file name and sometimes the top-level key differ.

If the server doesn't appear, check the logs first. Claude Desktop writes mcp-server-kicad.log under ~/Library/Logs/Claude on macOS and %APPDATA%\Claude\logs on Windows. The usual cause is a wrong Python path or a missing pcbnew import.

Where it helps, and where it doesn't

The good uses are questions you'd otherwise answer by clicking around. "Which nets reach U4's power pins?" "List every footprint without a 3D model." "Run DRC and group the errors by type." Running kicad-cli and explaining a 200-line DRC report in plain words saves real time. So do bulk chores like renaming references or assigning net classes.

The weak spots are predictable. Placement and routing done through tool calls look plausible, but you'd rarely ship them. The model has no feel for return paths, switching loops or antenna keep-outs (areas kept clear around an antenna). Large boards overflow the context window (how much text the model can hold at once), so the model works from a partial picture. Also, when a tool call fails, some clients let the model carry on as if it had succeeded. So a "DRC passed" summary needs the actual report behind it. (Why measurement belongs to rule engines is covered in Can AI review a PCB design?) Version drift is common too. A server written against KiCad 9 objects may break quietly on 10.

Read first, write later

Treat write access the way you'd treat a new colleague's first commit.

  • Keep the project in git and commit before every AI session. KiCad's files are text, so git diff shows exactly what changed.
  • Start in read-only mode. Several servers have a profile or flag for it. Otherwise, pick a server that has no edit tools.
  • Don't let a server edit a file that's open in KiCad, unless it works through the IPC API. Two programs writing to one file ends badly.
  • Review every change in KiCad yourself. Then run ERC and DRC yourself, not through the assistant.

Also watch what leaves your computer. The server runs locally, but whatever it returns goes to the model provider as part of the chat.

Before you order, export Gerbers. The KiCad export guide covers the settings. Then open them in the free Gerber3D viewer. It reads the files in your browser and runs DFM checks (design-for-manufacturing checks) without uploading anything. If an AI touched the layout, that last look at the real manufacturing files is the one that counts.

Questions

Is there an official KiCad MCP server?

Not as of December 2026. The KiCad project provides kicad-cli and the IPC API, and the MCP servers built on top of them are community or commercial projects.

Does KiCad have to be running for an MCP server to work?

It depends on the server. Servers that use kicad-cli or read the project files work without the GUI. Servers that use the IPC API need a running KiCad with the API server enabled, and in KiCad 9 and 10 that means the PCB editor.

Does a KiCad MCP server send my design to the cloud?

The server itself runs on your computer. Anything it reads and returns to the assistant becomes part of the conversation, so it goes to whichever model provider your MCP client uses.

Can I use a KiCad MCP server with clients other than Claude?

Yes, in principle. MCP is an open protocol, so any client that supports local (stdio) MCP servers can launch one. The config file name and location differ between clients, so check your client's documentation.

Sources

  1. Connect to local MCP servers (Model Context Protocol docs)
  2. MCP joins the Agentic AI Foundation (MCP blog)
  3. KiCad IPC API: for add-on developers (KiCad developer docs)
  4. Version 10.0.0 Released (KiCad)
  5. mixelpixx/KiCAD-MCP-Server (GitHub)
  6. lamaalrajih/kicad-mcp (GitHub)
  7. oaslananka/kicad-mcp-pro (GitHub)
  8. Connect Claude Code to tools via MCP (Claude Code docs)