mcp-kicad
Provides tools to interact with KiCad's PCB Editor via IPC API, enabling board information retrieval, footprint management, net/zone/track/via/pad/text listing, and project version access.
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., "@mcp-kicadlist all footprints on the current 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.
mcp-kicad — MCP server exposing KiCad PCB Editor functionality via IPC API.
Install
pip install mcp-kicadRequirements
KiCad 9.0 or higher with the IPC API server enabled
Go to Preferences > Plugins in KiCad and enable the API server
Usage
The MCP server communicates with a running KiCad instance via the IPC API. Start KiCad first, then run the server:
mcp-kicadOr configure it in your MCP client:
{
"mcpServers": {
"mcp-kicad": {
"command": "mcp-kicad",
"env": {}
}
}
}Tools
The server exposes the following tools:
Connection:
connect_kicad,check_connectionBoard:
get_board_info,get_layers,get_board_design_settingsFootprints:
list_footprints,get_footprint,search_footprintsNets:
list_nets,get_net,list_netclassesZones:
list_zonesTracks/Vias:
list_tracks,list_viasPads:
list_padsText:
list_texts,get_text_extentsProject:
get_project,get_version
Example
from mcp_kicad import mcp_server
# Connect to running KiCad
result = mcp_server.connect_kicad()
# Get board info
board_info = mcp_server.get_board_info()
print(board_info)
# List all footprints
footprints = mcp_server.list_footprints()
for fp in footprints:
print(f"{fp['reference']}: {fp['value']}")Development
git clone https://github.com/daedalus/mcp-kicad.git
cd mcp-kicad
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/mcp-name: io.github.daedalus/mcp-kicad
Maintenance
Latest Blog Posts
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/daedalus/mcp-kicad'
If you have feedback or need assistance with the MCP directory API, please join our Discord server