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 整合