kicad-mcp
Provides tools for creating and editing KiCad desktop projects, including schematic generation from netlists, PCB layout and modification, autorouting, ERC/DRC checks, PNG rendering, fabrication exports (Gerber/BOM/CPL), and live PCB editing via KiCad 9's IPC API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
kicad-mcp — MCP server untuk KiCad desktop
Server MCP ini membuat asisten AI (klien MCP apa pun) bisa membuat dan mengedit proyek KiCad langsung di komputer kamu: skematik, PCB, autoroute, cek ERC/DRC, render gambar, dan export file produksi (Gerber/BOM/CPL untuk JLCPCB).
Cara kerja
Bagian | Dipakai untuk |
Generator skematik (Python murni) | Membuat |
| Membuat/mengedit |
| ERC, DRC (termasuk parity skematik), render PNG, Gerber, drill, BOM, pick-and-place. |
IPC API KiCad 9 ( | Edit langsung PCB yang sedang terbuka di KiCad (pindah footprint, simpan). |
Freerouting (opsional) | Autoroute. |
Related MCP server: KiCAD MCP Server
Instalasi (Windows, klien Claude Desktop)
Siapkan KiCad 8 atau 9 (lokasi standar
C:\Program Files\KiCad\9.0) dan Python 3.10+ dari python.org (centang Add to PATH).Ekstrak folder ini ke lokasi tetap, misalnya
C:\Users\<kamu>\mcp\kicad-mcp.Double-click
install.bat. Installer akan:membuat virtualenv
.venvlalu menginstalmcp,pymupdf, dankicad-python,menampilkan lokasi KiCad yang terdeteksi,
mendaftarkan server
kicaddiclaude_desktop_config.json(file lama di-backup dulu).
Tutup Claude desktop sepenuhnya, termasuk dari system tray, lalu buka lagi dan mulai chat baru.
Di chat baru, minta: "cek status kicad". asisten akan memanggil
kicad_status.
Kalau KiCad terpasang di lokasi lain, set environment variable KICAD_DIR sebelum menjalankan install.bat, atau tambahkan "KICAD_DIR": "D:\\KiCad\\9.0" di bagian env pada config.
Opsional
Edit live (IPC): di KiCad 9 buka Preferences → Plugins → centang "Enable KiCad API", lalu buka PCB di PCB Editor.
Autoroute: install Java 17+, unduh
freerouting-x.y.z.jardari GitHub freerouting/freerouting, lalu taruh di folder ini atau setFREEROUTING_JAR.
Config manual (kalau installer gagal)
{
"mcpServers": {
"kicad": {
"command": "C:\\Users\\<kamu>\\mcp\\kicad-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "kicad_mcp"],
"env": { "PYTHONPATH": "C:\\Users\\<kamu>\\mcp\\kicad-mcp" }
}
}
}Tools
kicad_status, search_symbols, get_symbol_pins, search_footprints, get_footprint_pads,
create_project, update_schematic, get_spec, sync_pcb, pcb_ops, pcb_query, autoroute,
run_erc, run_drc, render_schematic, render_pcb, export_fabrication, open_in_kicad,
ipc_list_footprints, ipc_move_footprints, ipc_save_board.
Catatan
Tools yang menulis file (
update_schematic,sync_pcb,pcb_ops) mengubah file di disk. Kalau file itu sedang terbuka di KiCad, tutup dulu atau reload sesudahnya supaya perubahan tidak tertimpa.Proyek KiCad bisa diimpor ke EasyEDA Standard (File → Import → KiCad), dan Gerber dari
export_fabricationbisa langsung diunggah ke JLCPCB.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Design, route, check, review and export manufacturable PCBs from plain language; KiCad import.
Design circuits, simulate and verify embedded firmware, and lay out PCBs with AI agents.
EasyGerber brings AI printed circuit board (PCB) design, layout, and routing to MCP-compatible assistants. Describe a circuit or start from firmware pin assignments, search published electronic components, and build schematics using catalog parts with their footprints and available 3D models. Create and revise boards, generate layouts with automatic component placement and routing, inspect previews, and check saved layouts for blocking design issues. Export manufacturing ZIPs containing Gerber and drill files, a bill of materials, and component placement data, or download an editable EasyGerber (.egb) file. Start without signing up. Your agent uses one private board reference to create and continue a board, including catalog access, edits, layout, checks, previews, and exports, without a separate guest setup step or token to manage. To keep the board in your account or work with permitted saved personal or organization boards, complete EasyGerber sign-in and OAuth consent, then resume the same task. Account permissions, plan limits, and generation billing apply; support depends on your MCP client and installed integration.
Design and revise PCBs from plain language, track jobs, and retrieve design artifacts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with KiCAD for PCB design automation. Users can design PCBs using natural language, including component placement, routing, checks, and export.1MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to interact with KiCAD for PCB design automation, including schematic editing, component placement, routing, DRC/ERC, and export.10038 npm2MIT
- AlicenseAqualityBmaintenanceExposes Cadence EDA tools such as OrCAD Capture, Allegro PCB Designer, and PSpice to AI assistants, enabling them to browse PCB files, generate schematics and netlists, and run circuit simulations through a license-free, cross-platform interface.132MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to design and edit PCBs through natural language, including project setup, schematic editing, component placement, custom symbol and footprint generation, routing, DRC/ERC checks, and production file export. It also integrates JLCPCB parts catalog data, Freerouting automation, and visual snapshots for cross-platform Windows, Linux, and macOS workflows.61 npmMIT