CS

circuit-synth/mcp-kicad-sch-api

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

22 stars 7 forks 品質 65 トレンド 0MIT

KiCADの回路図操作のためのモデルコンテキストプロトコルサーバー - 電子回路設計のためのAIエージェントの統合

概要

モデル コンテキストプロトコル (MCP) サーバは、AI エージェント向けの KiCAD 回路図操作ツールを提供します。 このMCPサーバーは、AIエージェントがKiCADの回路図ファイルを作成、変更、解析するために使用できるツールとして、kicad-sch-apiライブラリを公開しています。 - ◀ : 新しい KiCAD スキーマティックファイルを生成する - ⚡ : スタンドレジスタ、コンデンサー、IC など - ◀ : KiCAD のシンボルライブラリで部品を見つける - 既成の : ワイヤーとネットを作成 - 📐 : 階層シートとラベルのサポート - 正確な KiCAD ファイル形式の互換性を維持する 自動メソッドが機能しない場合は、Claude Code config ファイルを手動で編集します。 MCP サーバーをロードする設定後。 サーバは標準的なMCP stdioの輸送を支え、あらゆるMCP互換の顧客と働かせるべきです。 - 「2つの10kΩ抵抗で電圧分岐回路を作成する」 - 「Arduino nanoを位置(100,100)で回路図に追加する」 - 「KiCADライブラリの運用アンプを検索」 - 「電源セクションの階層シートを作成する」 - Python 3.

概要(AI 翻訳)

モデル コンテキストプロトコル (MCP) サーバは、AI エージェント向けの KiCAD 回路図操作ツールを提供します。

概要

このMCPサーバーは、AIエージェントがKiCADの回路図ファイルを作成、変更、解析するために使用できるツールとして「[kicad-sch-api]」ライブラリを公開しています。

##特徴

  • ☑Schematicsの作成: 新しい KiCAD 回路図ファイルを生成
  • ⚡Add Components: 抵抗器、コンデンサー、IC、その他
  • ANSI Search Components: KiCADシンボルライブラリのパーツを探す
  • お気に入りに追加接続**: ワイヤーおよび網を作成して下さい
  • 📐階層設計:階層シートとラベルのサポート
  • 確かにFormat Preservation: KiCADファイル形式の互換性を維持

クイックスタート

インストール

設定

####Claudeデスクトップ [claude_desktop_config.jsonに追加します。

クローデコード

オプション1:自動(推奨)

Option 2: 手動構成 自動メソッドが機能しない場合は、Claude Code config ファイルを手動で編集します。

MCP サーバーの設定を追加します。

インストールパスの修正:

設定後にClaude Codeを再起動してMCPサーバーをロードします。

####その他のMCPクライアント

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP KiCAD Schematic API

Model Context Protocol (MCP) server providing KiCAD schematic manipulation tools for AI agents.

Overview

This MCP server exposes the kicad-sch-api library as tools that AI agents can use to create, modify, and analyze KiCAD schematic files.

Features

  • 🔧 Create Schematics: Generate new KiCAD schematic files
  • ⚡ Add Components: Place resistors, capacitors, ICs, and more
  • 🔍 Search Components: Find parts in KiCAD symbol libraries
  • 🔗 Add Connections: Create wires and nets
  • 📐 Hierarchical Design: Support for hierarchical sheets and labels
  • 🎯 Format Preservation: Maintains exact KiCAD file format compatibility

Quick Start

Installation

pip install mcp-kicad-sch-api

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "kicad-sch-api": {
      "command": "python",
      "args": ["-m", "mcp_kicad_sch_api"],
      "env": {}
    }
  }
}

Claude Code

Option 1: Automatic (Recommended)

# Add MCP server automatically
claude mcp add mcp-kicad-sch-api /path/to/your/venv/bin/mcp-kicad-sch-api

# Example with specific venv path:
claude mcp add mcp-kicad-sch-api /Users/username/myproject/venv/bin/mcp-kicad-sch-api

Option 2: Manual Configuration If the automatic method doesn’t work, manually edit your Claude Code config file:

# Find your config file location
code ~/.claude.json

Add the MCP server configuration:

{
  "mcpServers": {
    "mcp-kicad-sch-api": {
      "command": "/path/to/your/venv/bin/mcp-kicad-sch-api"
    }
  }
}

Finding Your Installation Path:

# After installing in your venv, find the executable path:
which mcp-kicad-sch-api
# Example output: /Users/username/myproject/venv/bin/mcp-kicad-sch-api

Restart Claude Code after configuration to load the MCP server.

Other MCP Clients

The server supports standard MCP stdio transport and should work with any MCP-compatible client.

Usage Examples

Ask your AI agent:

  • “Create a voltage divider circuit with two 10kΩ resistors”
  • “Add an Arduino Nano to the schematic at position (100, 100)”
  • “Search for operational amplifiers in the KiCAD libraries”
  • “Create a hierarchical sheet for the power supply section”

Tools Available

Tool Description
create_schematic Create a new KiCAD schematic file
add_component Add components (resistors, capacitors, ICs, etc.)
search_components Search KiCAD symbol libraries
add_wire Create wire connections
add_hierarchical_sheet Add hierarchical design sheets
add_sheet_pin Add pins to hierarchical sheets
add_hierarchical_label Add hierarchical labels
list_components List all components in schematic
get_schematic_info Get schematic information

Requirements

  • Python 3.10+
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "kicad-sch-api": { "command": "python", "args": ["-m", "mcp_kicad_sch_api"], "env": {} } } }