AP

averyy/pcbparts-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

153 stars 15 forks 质量 88 趋势 22MIT

averyy/pcbparts-mcp 是从 https://github.com/averyy/pcbparts-mcp. 导入的 MCP 服务器候选

概览

averyy/pcbparts-mcp 是从 https://github.com/averyy/pcbparts-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

MCP服务器为Claude、Cursor及其他AI编码助手提供来自JLCPCB、Mouser和DigiKey的电子元件数据:对630K+库存JLCPCB零件的参数化搜索,三者均有库存和定价,KiCad封装、参考板、传感器选片和设计规则。无需API密钥。

网站: pcbparts.dev

特色

  • 三家经销商: 搜索 JLCPCB,并在 Mouser 和 DigiKey 上查询具体零件的实时价格和库存
  • 参数搜索: 按电气规格(Vgs(th) = 25V“)进行过滤
  • 智能查询解析(“10k 0603 1%”自动检测值、包、容差)
  • 最多搜索次数

仅在需要时使用 jlc_stock_check:

  • 下单前实时库存核实
  • 缺货或缺货零件(库存=10)

图书馆类型

类型 组装费 描述
basic 无 JLCPCB 标准库中的常见部件
preferred 无 推荐且供应良好的零件
extended 3美元/独特部件 较少见部件
no_fee 无 筛选快捷方式:搜索基础 + 首选组合

子类别别名

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

PCB Parts MCP Server

MCP server that gives Claude, Cursor and other AI assistants electronic component data from JLCPCB, Mouser and DigiKey: parametric search over 630K+ in-stock JLCPCB parts, live stock and pricing on all three, KiCad footprints, reference boards, sensor picks and design rules. No API key required.

Website: pcbparts.dev · Endpoint: https://pcbparts.dev/mcp

Features

  • Parametric search: ask in plain words (“10k 0603 1%”, “logic-level MOSFET Vgs(th) < 2V”) and the query becomes spec, package and part-type filters
  • Three distributors: search JLCPCB’s catalog, and check live price and stock on JLCPCB, Mouser and DigiKey
  • Alternatives: replacements checked against compatibility rules for 120+ part types, with no-assembly-fee parts first
  • Part details: lookup by LCSC code or manufacturer part number, with price tiers, datasheet PDFs, pinouts and EasyEDA footprints
  • KiCad files: symbols and footprints from SamacSys
  • Reference boards: ~300 open-source boards and Espressif DevKits, showing how real designs wire an IC (decoupling, crystals, pull-ups)
  • Sensors: 1,600+ sensor ICs and modules by what they measure, their bus and the platforms with drivers
  • Design rules: 46 reference files on power, protection, interfaces, MCUs, layout and EMC

Quick start

Claude Code

claude mcp add -s user --transport http pcbparts https://pcbparts.dev/mcp

To skip the approval prompt on every call, add this to ~/.claude/settings.json:

{
  "permissions": {
    "allow": ["mcp__pcbparts__*"]
  }
}

Claude Desktop and claude.ai

Customize → Connectors → “+ Add” → “Add custom connector”, with the URL https://pcbparts.dev/mcp. Remote servers are added this way; claude_desktop_config.json only runs local servers.

Cursor

Edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "pcbparts": {
      "type": "http",
      "url": "https://pcbparts.dev/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "pcbparts": {
      "type": "http",
      "url": "https://pcbparts.dev/mcp"
    }
  }
}

Copilot for Xcode

Add to the Extensions config:

{
  "mcpServers": {
    "pcbparts": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://pcbparts.dev/mcp"]
    }
  }
}

Tools (17)

Tool What it does
jlc_search Main search: plain-words queries, spec filters and sorting by a spec over the daily catalog snapshot
jlc_stock_check Live JLCPCB stock, including out-of-stock and low-stock parts
jlc_stock_history Recorded low-stock events for one LCSC code or a list of up to 50, with scrape-gap warnings and snapshot stock
jlc_get_part Full details for an LCSC code or manufacturer part number
在 GitHub 查看完整 README

安装

npx -y mcp-remote https://pcbparts.dev/mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "pcbparts": { "type": "http", "url": "https://pcbparts.dev/mcp" } } }