SS

seeed-studio/kicad-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

195 stars 29 forks 품질 71 트렌드 10

seeed-studio/kicad-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

seeed-studio/kicad-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

KiCad 9.0+용 모델 컨텍스트 프로토콜(MCP) 서버로, AI 어시스턴트가 회로도를 분석하고, PCB 검사하며, 연결 추적을 하고, 설계를 검증하며, 임베디드 코드를 생성할 수 있게 합니다.

특징

  • 회로 분석 - 부품, 망, 기호, 계층 시트
  • PCB 분석 - pcbnew API를 통한 풋프린트, 트랙, 라우팅 품질, 신호/전력 무결성
  • 넷리스트 추적 - 100% 정확한 핀 레벨 연결 추적
  • 설계 검증 - kicad-cli를 통한 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_URL to 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-cli in PATH (included with KiCad)

Installation

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"],
GitHub에서 전체 README 보기

설치

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" } } }