Back to catalog

KiCad MCP Server

An MCP server that provides comprehensive tools for managing KiCad projects, analyzing PCBs, and designing with natural language interaction support for electronics engineers working with KiCad PCB design software.

An MCP server that provides comprehensive tools for managing KiCad projects, analyzing PCBs, and designing with natural language interaction support for electronics engineers working with KiCad PCB design software.

Installation

From Source

git clone https://github.com/lamaalrajih/kicad-mcp.git
cd kicad-mcp
make install
source .venv/bin/activate
python main.py

Configuration

Claude Desktop

{
    "mcpServers": {
        "kicad": {
            "command": "/ABSOLUTE/PATH/TO/YOUR/PROJECT/kicad-mcp/.venv/bin/python",
            "args": [
                "/ABSOLUTE/PATH/TO/YOUR/PROJECT/kicad-mcp/main.py"
            ]
        }
    }
}

Available Tools

Tool Description
open_project Launches KiCad with a specific project

Features

  • Project Management - View, explore, and open KiCad projects
  • PCB Design Analysis - Get analytics on PCB design and schematics
  • Netlist Extraction - Extract and analyze component connections from schematics
  • BOM Management - Analyze and export bill of materials specifications
  • Design Rule Checking - Run DRC checks using KiCad CLI and track progress
  • PCB Visualization - Create visual representations of PCB schematics
  • Schematic Pattern Recognition - Automatically identify common schematic patterns in designs

Environment Variables

Optional

  • KICAD_SEARCH_PATHS - Comma-separated list of directories to search for KiCad projects
  • KICAD_USER_DIR - Override the default KiCad user directory
  • KICAD_APP_PATH - Override the default KiCad application path

Usage Examples

Show me all my recent KiCad projects
Analyze the component density on my temperature sensor board
What components are connected to the MCU in my Arduino shield?
Create a BOM for my smartwatch project
Run DRC on my power supply board and compare it with last week

Notes

Requires KiCad 9.0 or higher, Python 3.10+, and uv 0.8.0+. Compatible with any MCP-compatible client, not just Claude Desktop. Supports natural language interaction for intuitive project management.

Comments (0)

Sign In Sign in to leave a comment.