# KiCad MCP Server

> Analyze KiCad schematics and PCBs with AI.

- **URL**: https://followmcp.com/en/servers/seeed-studio-kicad-mcp-server
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 203
- **FMRS Score**: 45/100 (Grade D)
- **Source**: https://github.com/Seeed-Studio/kicad-mcp-server
- **Transports**: stdio (local process)
- **Runtimes**: Python
- **Auth**: No credential needed

## Overview
KiCad MCP Server supports KiCad 8.0 and later, enabling AI assistants to analyze schematics and PCBs, trace net connections, run ERC/DRC checks, and generate device trees and hardware test code. Full PCB analysis requires KiCad Python with the pcbnew module; system Python provides only basic text parsing. Schematic editing is experimental.

## Best for
- KiCad 8.0 or later users who want to inspect designs through an MCP-compatible AI assistant.
- Users who can configure KiCad Python and pcbnew in the server environment for full PCB analysis.

## Not for
- Workflows requiring dependable schematic editing or precise graphical wiring; the documentation describes schematic editing as experimental and warns that wires may not form correct electrical connections.
- Users expecting system Python mode to provide full PCB design rule, precise track length, or signal integrity analysis.

## Required permissions
- Requires access to user-selected KiCad project files, and writes project or output files when editing or export tools are used.
- ERC, DRC, and netlist export require kicad-cli to be callable.
- Full PCB analysis requires the pcbnew module from KiCad Python.

## Risks
- Schematic editing uses manual S-expression manipulation and is documented as experimental; wiring and visual alignment may be imperfect.
- KiCad must be closed and reopened to see file changes.
- Without KiCad Python, PCB parsing is basic and lacks precise lengths, design rules, and signal integrity analysis.
- Parts registry downloads are host-allowlisted, extension-checked, and size-capped; the source does not document further runtime security boundaries.

## Client config (JSON)
```json
{"mcpServers":{"kicad":{"type":"stdio","command":"C:\\Program Files\\KiCad\\10.0\\bin\\python.exe","args":["-m","kicad_mcp_server"],"cwd":"C:\\Users\\YourName\\Desktop\\kicad-mcp-server"}}}
```

## Tools (24)
- `list_schematic_components`: List schematic components, with filters for type, value, or DNP status.
- `list_schematic_nets`: List schematic nets, optionally filtering for power nets.
- `get_schematic_info`: Get project metadata and statistics.
- `search_symbols`: Search components by pattern, including regular expressions.
- `get_symbol_details`: Get detailed information for a specified component.
- `list_pcb_footprints`: List PCB footprints, optionally filtered by layer.
- `get_pcb_statistics`: Get board dimensions, layer count, and design rule information.
- `find_tracks_by_net`: Find track segments, lengths, widths, and vias for a specified net.
- `analyze_pcb_nets`: Analyze routing width and via distributions and rank net lengths.
- `analyze_pcb_signal_integrity`: Analyze differential pair matching, RF traces, and the longest signal nets.
- `analyze_pcb_power_integrity`: Analyze power zones, ground coverage, and power routing.
- `generate_netlist`: Export a netlist from a schematic using kicad-cli.
- `trace_netlist_connection`: Trace all connections from a component or pin.
- `get_netlist_nets`: List all nets and their pin connections.
- `get_netlist_components`: List components with their net connections.
- `run_erc`: Run the electrical rules check on a schematic.
- `run_drc`: Run the design rules check on a PCB.
- `detect_pin_conflicts`: Find conflicting pin connections.
- `create_kicad_project`: Create an empty project or a project from a KiCad template.
- `add_component_from_library`: Add a component with its symbol definition from a library.
- `add_wire`: Add a wire connection.
- `add_label`: Add a local label.
- `setup_pcb_layout`: Initialize PCB dimensions.
- `export_gerber`: Export Gerber files.
