MCP server for KiCad PCB design automation using official kicad IPC-API. Enables AI models to create, modify, and analyze PCB layouts and schematics.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"kicad-mcp-python": {
"args": [
"-y",
"kicad-mcp-server"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This project is a Model Context Protocol (MCP) server for KiCad. As MCP server that utilizes KiCad's official IPC-API, it provides the most stable and reliable way for AI models like Claude to interact with KiCad, automating and assisting with PCB design and schematic tasks.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'kicad-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked kicad-mcp-server against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in design / developer-tools
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
MCP server for using the GitLab API
MCP Security Weekly
Get CVE alerts and security updates for Kicad Mcp Python and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
This project is a Model Context Protocol (MCP) server for KiCad. As MCP server that utilizes KiCad's official IPC-API, it provides the most stable and reliable way for AI models like Claude to interact with KiCad, automating and assisting with PCB design and schematic tasks.
kicad-python library.https://github.com/user-attachments/assets/e2ba57e7-2c77-4c56-a911-c461c77307e4
https://github.com/user-attachments/assets/de6c93dc-8808-4321-827e-ebad0556e7b1
https://github.com/user-attachments/assets/0fea60de-d012-4b4d-bfa4-dd1b758b2c7f
This server features AnalyzeTools for enhanced board analysis. A key tool is get_board_status, which provides a comprehensive overview of the PCB layout, including screenshots.
To ensure robust and reliable operations, the server uses an ActionFlowManager. This manager orchestrates the execution of actions by automatically invoking get_board_status both before and after each action. This flow provides the AI model with critical context:
This automated verification process significantly improves the accuracy and reliability of automated PCB design tasks.
With this MCP server, an AI model can perform tasks such as:
get_board_status for comprehensive analysis.This project uses Poetry to manage dependencies.
kicad-pythonThis project uses the kicad-python library as a Git submodule. Therefore, you must build and install kicad-python before running this project.
Clone Repository and Initialize Submodules: Run git submodule update --init to add kicad-python's source code as a submodule.
git submodule update --init --depth 1
Build and Install kicad-python:
Navigate to the kicad-python directory and follow the instructions in that project's COMPILING.md file to build and install the library.
Before running the server, you need to create a .env file in the project's root directory (KiCad-mcp-python/.env). This file is crucial for tools that rely on KiCad's command-line interface (CLI), such as get_board_status which generates screenshots to provide visual context of the board. It stores the necessary environment variables for the server to function correctly.
Create a file named .env and add the following content, adjusting the paths to match your system configuration:
KICAD_CLI_PATH=/path/to/your/kicad-cli
PCB_PATHS=/path/to/your/project1.kicad_pcb,/path/to/your/project2.kicad_pcb
Variable Explanations:
KICAD_CLI_PATH: The absolute path to the KiCad command-line interface (CLI) executable.
/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli