Source Parts

io.github.SourceParts由 GitHub 账号 SourceParts 发布v0.5.3更新于 Nov 2, 2026

Electronic component sourcing, BOM management, and PCB design workflows.

发布方自己的服务:Source

已验证Streamable HTTP可网页运行开发者工具商业与电商

概览

AI 生成的概览

让助手搜索电子元器件、比较分销商价格、查询库存,并处理 KiCad、Altium 等 EDA 工具导出的 BOM。

可以做什么
  • 搜索元器件并查看详情、各分销商价格与实时库存
  • 查找停产元器件的替代料或可直接替换的型号
  • 处理 KiCad、Altium、Fusion 360、Eagle、PADS、Protel 99 的 BOM 文件,并按置信度匹配元器件
  • 发现本地 KiCad 工程,并通过 KiCad CLI 从原理图生成 BOM
  • 在本地缓存响应,加快重复查询
适用场景
适合在为 PCB 设计选料、按生产数量核算 BOM 成本、下单前确认库存,或为停产、缺货元器件寻找替代型号时使用。
运行要求
可使用远程端点并通过 OAuth 登录,或在本地用 uvx 或 pip 运行,需要 Python 3.10+ 以及 SOURCE_PARTS_API_KEY 中的 Source Parts API 密钥。可选配置包括 API 地址、KiCad 搜索路径和缓存目录。需要访问 Source Parts API 的网络;KiCad CLI 相关功能需本地安装 KiCad。
安装前请注意
本地包需要 Source Parts API 密钥,并保存在客户端配置中。BOM 文件和元器件查询会发送到 Source Parts API 用于匹配、报价和库存查询。KiCad 相关工具会读取本地工程与原理图文件。价格与库存来自第三方分销商,可能过时或不完整。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Source Parts,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.SourceParts%2Fparts-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "source-parts": {
      "type": "http",
      "url": "https://mcp.source.parts/"
    }
  }
}

README

Parts MCP

A Model Context Protocol (MCP) server for sourcing electronic parts with multi-EDA integration.

Overview

Parts MCP enables AI assistants to search for electronic components, compare prices, check availability, and process BOMs from popular EDA tools. It provides a unified interface for component sourcing workflows powered by the Source Parts API.

Supported EDA Tools

ToolBOM FormatStatus
KiCadCSV, XMLFull support + CLI integration
Altium DesignerCSV, XLSFull support
Autodesk Fusion 360CSVFull support
EagleCSV, BRDFull support
PADSCSV, ASCFull support
Protel 99CSVFull support

Features

  • Universal Parts Search: Search millions of parts via Source Parts API
  • Multi-EDA BOM Processing: Import BOMs from KiCad, Altium, Fusion360, Eagle, PADS, Protel99
  • Component Matching: AI-powered matching with confidence scoring
  • Price Comparison: Compare prices across distributors
  • Availability Check: Real-time inventory levels
  • Alternative Parts: Find drop-in replacements and functional equivalents
  • KiCad CLI Integration: Generate BOMs directly from schematics
  • Local Caching: Fast responses with intelligent caching

Installation

Quick Start (Recommended)

bash
uvx parts-mcp

No install needed -- uvx runs it directly from PyPI in an isolated environment.

With pip

bash
pip install parts-mcp

From Source

bash
git clone https://github.com/SourceParts/parts-mcp.gitcd parts-mcppip install -e .

Requirements

Configuration

Create a .env file or set environment variables:

bash
# RequiredSOURCE_PARTS_API_KEY=your_api_key_here
# OptionalSOURCE_PARTS_API_URL=https://api.source.parts/v1KICAD_SEARCH_PATHS=/path/to/kicad/projectsPARTS_CACHE_DIR=~/.cache/parts-mcpCACHE_EXPIRY_HOURS=24

Claude Desktop Integration

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json

json
{  "mcpServers": {    "parts": {      "command": "uvx",      "args": ["parts-mcp"],      "env": {        "SOURCE_PARTS_API_KEY": "your_api_key_here"      }    }  }}

If installed from source:

json
{  "mcpServers": {    "parts": {      "command": "/path/to/python",      "args": ["/path/to/parts-mcp/main.py"],      "env": {        "SOURCE_PARTS_API_KEY": "your_api_key_here"      }    }  }}

After adding the configuration, restart Claude Desktop.

Claude.ai Integration (Remote)

Connect directly from claude.ai without any local installation:

  1. Open claude.ai in your browser
  2. Go to Settings > Connectors
  3. Click Add custom connector
  4. Enter the URL: https://mcp.source.parts/
  5. Complete the OAuth sign-in when prompted
  6. Start using Parts tools in any conversation

No API key needed -- authentication is handled via OAuth.

Claude Code Integration

Add to your Claude Code MCP settings (~/.claude/settings.json):

json
{  "mcpServers": {    "parts": {      "command": "uvx",      "args": ["parts-mcp"],      "env": {        "SOURCE_PARTS_API_KEY": "your_api_key_here"      }    }  }}

Or run directly:

bash
claude --mcp-server "python -m parts_mcp"

Usage Examples

Search for Parts

"Find a 10k resistor in 0603 package"

Process a BOM

"Upload my Altium BOM and find the best prices for 100 units"

KiCad Integration

"Extract the BOM from my amplifier.kicad_sch and source all components"

Find Alternatives

"Find alternatives for the obsolete LM358"

Check Availability

"Check stock levels for STM32F103C8T6"

Available Tools

ToolDescription
search_partsSearch for components by query
get_part_detailsGet detailed part information
get_part_pricingGet pricing across distributors
check_availabilityCheck real-time inventory
find_alternativesFind replacement parts
process_bomProcess BOM file from any supported EDA
match_componentsMatch BOM components to parts
find_kicad_projectsDiscover local KiCad projects
generate_kicad_bomGenerate BOM from KiCad schematic

Architecture

Parts MCP follows a thin client architecture:

Local (MCP):

  • KiCad CLI operations
  • Project discovery
  • Response caching
  • BOM file parsing

Server (Source Parts API):

  • Component matching
  • Price aggregation
  • Inventory checking
  • Alternative search

Development

bash
# Install dev dependenciespip install -e ".[dev]"
# Run testspytest
# Run with debug loggingDEBUG=1 python main.py

Project Structure

parts_mcp/├── server.py          # MCP server entry├── config.py          # Configuration├── tools/             # MCP tools├── resources/         # MCP resources├── prompts/           # Prompt templates└── utils/    ├── api_client.py        # Source Parts API client    ├── bom_parser.py        # Multi-EDA BOM parsing    ├── component_matcher.py # Component matching    ├── cache.py             # Response caching    └── kicad_utils.py       # KiCad CLI integration

Marketplace Listings

Links

License

MIT License with Trademark Protection - see LICENSE.md

"Source Parts" is a trademark. See license for usage restrictions.

来源:README.md,提交 72060f4

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v0.5.3最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Source 集成