独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
C

circuit-synth/kicad-sch-api

API for manipulating sexpr in KiCAD schematic editor

装之前:有可直接复制的命令 · 许可证未标注 · 链接可访问

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
  1. 复制上面的命令
  2. 粘成 claude_desktop_config.json 里 mcpServers 的一项(本地服务器用 command + args,示例见 客户端接法)
  3. 重启客户端
取自该仓库的安装命令
pip install kicad-sch-api

解析自我们于 2026-11-05 抓取的该仓库 README;我们未执行过。

这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
安装
pip install kicad-sch-api
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 pip install kicad-sch-api。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# KiCAD Schematic API

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Python library for reading and writing KiCAD schematic files
Generates valid .kicadsch files that open in KiCAD 7/8. Focus on exact format preservation and simple API design.
## Overview
Read and write KiCAD schematic files programmatically. This library parses and generates .kicadsch files with exact format preservation - output matches KiCAD's native formatting byte-for-byte.
## Core Features
Exact format preservation - Output matches KiCAD's native formatting byte-for-byte
Standalone library - No KiCAD installation required
Simple API - Object-oriented interface for components, wires, labels, and symbols
Tested compatibility - 70+ tests verify format preservation against KiCAD reference files
KiCAD library access - Read actual KiCAD symbol libraries for component validation
Connectivity analysis - Trace electrical connections through wires, labels, and hierarchy
Hierarchical design - Complete support for multi-sheet schematic projects
Component bounding boxes - Calculate precise component boundaries for layout algorithms
Wire routing - Manhattan-style orthogonal routing with basic obstacle avoidance
BOM property management - Audit, update, and transform component properties for manufacturing
MCP server - 15 tools for programmatic schematic manipulation via Model Context Protocol
## Quick Start
### Installation
bash
# Install from PyPI
pip install kicad-sch-api
# Or install from source
git clone https://github.com/circuit-synth/kicad-sch-api.git
cd kicad-sch-api
uv pip install -e .
### Basic Usage
python
import kicadschapi as ksa
# Create a new schematic
sch = ksa.createschematic("My Circuit")
# Add components with proper validation
resistor = sch.components.add(
libid="Device:R",
reference="R1",
value="10k",
position=(100.0, 100.0),
footprint="ResistorSMD:R06031608Metric"
# Add wires for connectivity
sch.wires.add(start=(100, 110), end=(150, 110))
# Pin-to-pin wiring
wireuuid = sch.addwirebetweenpins("R1", "2", "C1", "1")
# Add labels for nets
sch.addlabel("VCC", position=(125, 110))
# Save with exact format preservation
sch.save("mycircuit.kicadsch")
## ⚠️ Critical: KiCAD Coordinate System
Understanding this is CRITICAL for working with this library.
### The Two Coordinate Systems
KiCAD uses two different Y-axis conventions:
1. Symbol Space (library definitions): Normal Y-axis (+Y is UP, like math)
2. Schematic Space (placed components): Inverted Y-axis (+Y is DOWN, like graphics)
### The Transformation
When placing a symbol on a schematic, Y coordinates are negated:
python
# Symbol library (normal Y, +Y up):
Pin 1: (0, +3.81) # 3.81mm UPWARD in symbol
Pin 2: (0, -3.81) # 3.81mm DOWNWARD in symbol
# Component placed at (100, 100) in schematic (inverted Y, +Y down):
# Y is NEGATED during transformation:
Pin 1: (100, 100 + (-3.81)) = (100, 96.52) # LOWER Y = visually HIGHER
Pin 2: (100, 100 + (+3.81)) = (100, 103.81) # HIGHER Y = visually LOWER
### Visual Interpretation
In schematic space (inverted Y-axis):
Lower Y values = visually HIGHER on screen (top)
Higher Y values = visually LOWER on screen (bottom)
X-axis is normal (increases to the right)
### Grid Alignment
ALL positions MUST be grid-aligned:
Default grid: 1.27mm (50 mil)
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/circuit-synth-kicad-sch-api/)
来源
awesome · https://github.com/circuit-synth/kicad-sch-api
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引