
seeed-studio/kicad-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
seeed-studio/kicad-mcp-server は、https://github.com/seeed-studio/kicad-mcp-server. からインポートされたMCPサーバー候補です。
概要
seeed-studio/kicad-mcp-server は、https://github.com/seeed-studio/kicad-mcp-server. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
KiCad 9.0+向けのモデルコンテキストプロトコル(MCP)サーバーで、AIアシスタントが回路図の解析、PCBの検査、接続のトレース、設計の検証、組み込みコードの生成を可能にします。
特徴
- 回路図解析 - コンポーネント、ネット、記号、階層シート
- PCB解析 - pcbnew APIを経由したフットプリント、トラック、ルーティング品質、信号/電力の完全性
- ネットリストトレーシング - 100%正確なピンレベルの接続トラッキング
- 設計検証 - kicad-cli(ヘッドレス、CIフレンドリー)によるERC/DRC(CI対応)
- ピン解析 - ピン機能検出、競合解析、ピンマックス構成
- コード生成 - デバイスツリー(.dts)およびハードウェアテストコード生成
- プロジェクト管理 - テンプレートからKiCadプロジェクトを作成する
- パーツレジストリ - オープンでログイン不要のレジストリ(デフォルトはPartReel、変更は
PARTS_REGISTRY_URL])で21,000+件の検証済み部品を検索し、フットプリント/シンボル/3Dをプロジェクトにダウンロードします。ダウンロードはホスト許可リスト、拡張子チェック、サイズ制限があります
要件
- KiCad 8.0+(9.0または10.0推奨)
- PATHの
kicad-cli(KiCadに付属)
設置
推奨:KiCad Pythonへのインストール(完全なPCB解析)
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
KiCad MCP Server
A Model Context Protocol (MCP) server for KiCad 9.0+ that lets AI assistants analyze schematics, inspect PCBs, trace connections, validate designs, and generate embedded code.
Features
- Schematic Analysis - Components, nets, symbols, hierarchical sheets
- PCB Analysis - Footprints, tracks, routing quality, signal/power integrity via pcbnew API
- Netlist Tracing - 100% accurate pin-level connection tracking
- Design Validation - ERC/DRC via kicad-cli (headless, CI friendly)
- Pin Analysis - Pin function detection, conflict analysis, pinmux config
- Code Generation - Device tree (.dts) and hardware test code generation
- Project Management - Create KiCad projects from templates
- Parts Registry - Search 21,000+ verified parts on an open, no-login registry (PartReel by default,
PARTS_REGISTRY_URLto change) and download footprints/symbols/3D into the project; downloads are host-allowlisted, extension-checked and size-capped
Requirements
- KiCad 8.0+ (9.0 or 10.0 recommended)
kicad-cliin PATH (included with KiCad)
Installation
Recommended: Install into KiCad Python (Full PCB Analysis)
KiCad ships with its own Python that includes the pcbnew module. Installing into this Python gives you full PCB analysis capabilities (precise track lengths, via statistics, signal integrity, power integrity).
Step 1: Find your KiCad Python path:
| Platform | Path |
|---|---|
| Windows | C:\Program Files\KiCad\\bin\python.exe |
| macOS | /Applications/KiCad/KiCad.app/Contents/Frameworks/python3 |
| Linux | /usr/bin/python3 (if kicad python bindings installed) |
Step 2: Install the package into KiCad Python:
# Windows example (KiCad 10.0)
"C:\Program Files\KiCad\10.0\bin\python.exe" -m pip install fastmcp
"C:\Program Files\KiCad\10.0\bin\python.exe" -m pip install -e .
# macOS example
/Applications/KiCad/KiCad.app/Contents/Frameworks/python3 -m pip install fastmcp
/Applications/KiCad/KiCad.app/Contents/Frameworks/python3 -m pip install -e .
Step 3: Configure MCP to use KiCad Python (see Configuration section below).
Fallback: Install into System Python (Limited PCB Analysis)
If you skip KiCad Python setup, the server still works but falls back to text-based PCB parsing. You get basic data (track counts, net names, widths) but lose precise lengths, design rules, and signal integrity analysis.
pip install -e .
Configuration
Claude Desktop
Edit your config file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
With KiCad Python (recommended):
{
"mcpServers": {
"kicad": {
"type": "stdio",
"command": "C:\\Program Files\\KiCad\\10.0\\bin\\python.exe",
"args": ["-m", "kicad_mcp_server"],
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"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"
}
}
}