@openanysi/electronic-component-sourcing-mcp 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -10
- package/docs/README.zh-CN.md +50 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,8 +35,10 @@ Designed for BOM and component-sourcing teams, it supplies evidence your agent c
|
|
|
35
35
|
- [FAQ](#faq)
|
|
36
36
|
- [Error Handling & Retries](#error-handling--retries)
|
|
37
37
|
- [Scope, Data & Billing Notes](#scope-data--billing-notes)
|
|
38
|
+
- [Related MCP Servers](#related-mcp-servers)
|
|
38
39
|
- [Development](#development)
|
|
39
40
|
- [About OpenAny](#about-openany)
|
|
41
|
+
- [Contact Us](#contact-us)
|
|
40
42
|
- [License](#license)
|
|
41
43
|
|
|
42
44
|
## Quick Start
|
|
@@ -49,26 +51,51 @@ Designed for BOM and component-sourcing teams, it supplies evidence your agent c
|
|
|
49
51
|
|
|
50
52
|
### Configure Your Client
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
[<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/claude-color.svg" width="20" height="20" alt=""> Claude Desktop](https://modelcontextprotocol.io/docs/develop/connect-local-servers) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/cursor.svg" width="20" height="20" alt=""> Cursor](https://cursor.com/docs/context/mcp) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/windsurf.svg" width="20" height="20" alt=""> Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/cline.svg" width="20" height="20" alt=""> Cline](https://docs.cline.bot/mcp/mcp-overview) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/claude-color.svg" width="20" height="20" alt=""> Claude Code](https://code.claude.com/docs/en/mcp) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/openai.svg" width="20" height="20" alt=""> Codex](https://developers.openai.com/codex/mcp/)
|
|
55
|
+
|
|
56
|
+
**Run with npx (no global installation required):**
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
npx -y @openanysi/electronic-component-sourcing-mcp
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Use this command when adding a local `stdio` server to your agent.
|
|
63
|
+
|
|
64
|
+
Add this entry to your client's private `mcpServers` settings and replace `YOUR_OPENANY_API_KEY` locally (don't have a key yet? [Create an OpenAny API key](https://openany.si/dashboard/?page=api-keys)):
|
|
53
65
|
|
|
54
66
|
```json
|
|
55
67
|
{
|
|
56
68
|
"mcpServers": {
|
|
57
69
|
"electronic-component-sourcing-mcp": {
|
|
58
|
-
"command": "npx",
|
|
59
|
-
"
|
|
60
|
-
"-y",
|
|
61
|
-
"@openanysi/electronic-component-sourcing-mcp"
|
|
62
|
-
],
|
|
63
|
-
"env": {
|
|
64
|
-
"OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"
|
|
65
|
-
}
|
|
70
|
+
"command": "npx", "args": ["-y", "@openanysi/electronic-component-sourcing-mcp"],
|
|
71
|
+
"env": {"OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"}
|
|
66
72
|
}
|
|
67
73
|
}
|
|
68
74
|
}
|
|
69
75
|
```
|
|
70
76
|
|
|
71
|
-
|
|
77
|
+
**API key:** Data tools require `OPENANY_API_KEY`; omit `env` for keyless utilities. Keep real keys in private client settings or environment variables, never in chat or public repositories.
|
|
78
|
+
|
|
79
|
+
**Client-specific setup**
|
|
80
|
+
|
|
81
|
+
- **Claude Desktop:** Open **Settings → Developer → Edit Config**, merge the JSON above, then restart Claude Desktop.
|
|
82
|
+
- **Cursor:** Merge the JSON into your private `~/.cursor/mcp.json`, then refresh the MCP server list.
|
|
83
|
+
- **Windsurf:** Open MCP settings and add a local `stdio` server using the `command`, `args` and private `env` above.
|
|
84
|
+
- **Cline:** Open **MCP Servers → Configure → Configure MCP Servers** and merge the JSON above.
|
|
85
|
+
|
|
86
|
+
**Claude Code**
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
claude mcp add --transport stdio electronic-component-sourcing-mcp -- npx -y @openanysi/electronic-component-sourcing-mcp
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**Codex**
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
codex mcp add electronic-component-sourcing-mcp -- npx -y @openanysi/electronic-component-sourcing-mcp
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
For CLI clients, set `OPENANY_API_KEY` in the agent's launch environment or private server settings before using data tools.
|
|
72
99
|
|
|
73
100
|
### Verify It Works
|
|
74
101
|
|
|
@@ -211,6 +238,14 @@ Preserve the original request ID and inspect its outcome before another call. A
|
|
|
211
238
|
- **Reporting Standards:** Separate source data, observations, hypotheses and drafts. Mark unavailable facts as unknown.
|
|
212
239
|
- **Network & Privacy:** The server runs locally; catalog queries and business inputs are sent to OpenAny.
|
|
213
240
|
|
|
241
|
+
## Related MCP Servers
|
|
242
|
+
|
|
243
|
+
[Browse the server catalog](https://github.com/siopenany/just-mcps#mcp-server-catalog) for adjacent tasks. Each server has separate inputs and coverage.
|
|
244
|
+
|
|
245
|
+
- [1688-sourcing-research-mcp](https://www.npmjs.com/package/@openanysi/1688-sourcing-research-mcp): Research 1688 products, factory search results and product details for sourcing briefs.
|
|
246
|
+
- [pc-component-research-mcp](https://www.npmjs.com/package/@openanysi/pc-component-research-mcp): Research PC component listings and available specification information.
|
|
247
|
+
- [china-company-risk-mcp](https://www.npmjs.com/package/@openanysi/china-company-risk-mcp): Chinese company risk scans, business exceptions, administrative penalties, and case filings.
|
|
248
|
+
|
|
214
249
|
## Development
|
|
215
250
|
|
|
216
251
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide maintenance.
|
|
@@ -221,6 +256,11 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide mainten
|
|
|
221
256
|
|
|
222
257
|
Discover additional capabilities with `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/).
|
|
223
258
|
|
|
259
|
+
## Contact Us
|
|
260
|
+
|
|
261
|
+
- Community discussions and usage questions: [Telegram community](https://t.me/openanylabs)
|
|
262
|
+
- Integration support and business inquiries: [team@openany.si](mailto:team@openany.si)
|
|
263
|
+
|
|
224
264
|
## License
|
|
225
265
|
|
|
226
266
|
[Apache-2.0](LICENSE)
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -35,8 +35,10 @@
|
|
|
35
35
|
- [常见问题](#常见问题)
|
|
36
36
|
- [错误处理与重试](#错误处理与重试)
|
|
37
37
|
- [范围、数据与计费](#范围数据与计费)
|
|
38
|
+
- [相关 MCP 服务](#相关-mcp-服务)
|
|
38
39
|
- [开发](#开发)
|
|
39
40
|
- [关于 OpenAny](#关于-openany)
|
|
41
|
+
- [联系我们](#联系我们)
|
|
40
42
|
- [许可证](#许可证)
|
|
41
43
|
|
|
42
44
|
## 快速开始
|
|
@@ -49,26 +51,51 @@
|
|
|
49
51
|
|
|
50
52
|
### 配置客户端
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
[<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/claude-color.svg" width="20" height="20" alt=""> Claude Desktop](https://modelcontextprotocol.io/docs/develop/connect-local-servers) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/cursor.svg" width="20" height="20" alt=""> Cursor](https://cursor.com/docs/context/mcp) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/windsurf.svg" width="20" height="20" alt=""> Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/cline.svg" width="20" height="20" alt=""> Cline](https://docs.cline.bot/mcp/mcp-overview) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/claude-color.svg" width="20" height="20" alt=""> Claude Code](https://code.claude.com/docs/en/mcp) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/openai.svg" width="20" height="20" alt=""> Codex](https://developers.openai.com/codex/mcp/)
|
|
55
|
+
|
|
56
|
+
**使用 npx 运行(无需全局安装):**
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
npx -y @openanysi/electronic-component-sourcing-mcp
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
在 Agent 中添加本地 `stdio` 服务时,使用此启动命令。
|
|
63
|
+
|
|
64
|
+
在客户端的私有 `mcpServers` 设置中添加以下配置,并在本机替换 `YOUR_OPENANY_API_KEY`(还没有 Key?[创建 OpenAny API Key](https://openany.si/dashboard/?page=api-keys)):
|
|
53
65
|
|
|
54
66
|
```json
|
|
55
67
|
{
|
|
56
68
|
"mcpServers": {
|
|
57
69
|
"electronic-component-sourcing-mcp": {
|
|
58
|
-
"command": "npx",
|
|
59
|
-
"
|
|
60
|
-
"-y",
|
|
61
|
-
"@openanysi/electronic-component-sourcing-mcp"
|
|
62
|
-
],
|
|
63
|
-
"env": {
|
|
64
|
-
"OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"
|
|
65
|
-
}
|
|
70
|
+
"command": "npx", "args": ["-y", "@openanysi/electronic-component-sourcing-mcp"],
|
|
71
|
+
"env": {"OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"}
|
|
66
72
|
}
|
|
67
73
|
}
|
|
68
74
|
}
|
|
69
75
|
```
|
|
70
76
|
|
|
71
|
-
|
|
77
|
+
**API Key:** 数据工具需要配置 `OPENANY_API_KEY`;仅使用免 Key 辅助工具时可省略 `env`。请将真实 Key 保存在客户端私有设置或环境变量中,不要写入聊天记录或公开仓库。
|
|
78
|
+
|
|
79
|
+
**各 Agent 的接入方式**
|
|
80
|
+
|
|
81
|
+
- **Claude Desktop:** 打开 **Settings → Developer → Edit Config**,合并上方 JSON,然后重启 Claude Desktop。
|
|
82
|
+
- **Cursor:** 将 JSON 合并到私有 `~/.cursor/mcp.json`,然后刷新 MCP 服务列表。
|
|
83
|
+
- **Windsurf:** 打开 MCP 设置,使用上方 `command`、`args` 和私有 `env` 添加本地 `stdio` 服务。
|
|
84
|
+
- **Cline:** 打开 **MCP Servers → Configure → Configure MCP Servers**,合并上方 JSON。
|
|
85
|
+
|
|
86
|
+
**Claude Code**
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
claude mcp add --transport stdio electronic-component-sourcing-mcp -- npx -y @openanysi/electronic-component-sourcing-mcp
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**Codex**
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
codex mcp add electronic-component-sourcing-mcp -- npx -y @openanysi/electronic-component-sourcing-mcp
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
CLI 客户端在使用数据工具前,请在 Agent 的启动环境或私有服务设置中配置 `OPENANY_API_KEY`。
|
|
72
99
|
|
|
73
100
|
### 验证连接
|
|
74
101
|
|
|
@@ -211,6 +238,14 @@ Apache-2.0 软件包没有 MCP 订阅费。3 个辅助工具免费免 Key;2
|
|
|
211
238
|
- **报告规范:**区分原始数据、观察、假设与草稿;缺失事实标未知。
|
|
212
239
|
- **网络和隐私:**服务在本地运行,目录查询和业务输入会发送到 OpenAny。
|
|
213
240
|
|
|
241
|
+
## 相关 MCP 服务
|
|
242
|
+
|
|
243
|
+
[查看服务目录](https://github.com/siopenany/just-mcps#mcp-server-catalog),按相邻任务选择服务;各包的输入和覆盖范围独立。
|
|
244
|
+
|
|
245
|
+
- [1688-sourcing-research-mcp](https://www.npmjs.com/package/@openanysi/1688-sourcing-research-mcp):1688 商品、工厂和采购线索比较。
|
|
246
|
+
- [pc-component-research-mcp](https://www.npmjs.com/package/@openanysi/pc-component-research-mcp):电脑配件规格与公开组合比较。
|
|
247
|
+
- [china-company-risk-mcp](https://www.npmjs.com/package/@openanysi/china-company-risk-mcp):中国企业风险扫描、经营异常、行政处罚与立案信息核查。
|
|
248
|
+
|
|
214
249
|
## 开发
|
|
215
250
|
|
|
216
251
|
见英文 [CONTRIBUTING.md](../CONTRIBUTING.md),包含安装、验证及指南维护说明。
|
|
@@ -221,6 +256,11 @@ Apache-2.0 软件包没有 MCP 订阅费。3 个辅助工具免费免 Key;2
|
|
|
221
256
|
|
|
222
257
|
使用 `search_openany_capabilities` 或连接 [OpenAny 通用 MCP](https://mcp.openany.si/) 扩展能力。
|
|
223
258
|
|
|
259
|
+
## 联系我们
|
|
260
|
+
|
|
261
|
+
- 社区交流与使用讨论:[Telegram 社区](https://t.me/openanylabs)
|
|
262
|
+
- 接入支持与商务合作:[team@openany.si](mailto:team@openany.si)
|
|
263
|
+
|
|
224
264
|
## 许可证
|
|
225
265
|
|
|
226
266
|
[Apache-2.0](../LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openanysi/electronic-component-sourcing-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Search electronic component catalogues and inspect distributor part details for BOM sourcing research. Bilingual MCP guides for BOM and component-sourcing teams; your client analyzes the returned evidence. Powered by OpenAny.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@modelcontextprotocol/client": "2.4.0"
|
|
64
64
|
},
|
|
65
|
-
"readme": "# electronic-component-sourcing-mcp: Electronic Component Sourcing Research MCP\n\nMCP server to search electronic component catalogues and inspect distributor part details for BOM sourcing research. Built for Claude, Cursor and other AI agents. Powered by [OpenAny](https://openany.si/).\n\n[](https://www.npmjs.com/package/@openanysi/electronic-component-sourcing-mcp)\n[](LICENSE)\n[](https://nodejs.org/)\n\nEnglish | [简体中文](docs/README.zh-CN.md)\n\n## Overview\n\nUse this MCP to search electronic component catalogues and inspect distributor part details for BOM sourcing research.\n\nDesigned for BOM and component-sourcing teams, it supplies evidence your agent can turn into a part shortlist with identity, price-tier context and engineering questions.\n\n**Best For / Not For**\n\n- **Best For:** Search electronic components to find exact and broader part candidates.\n- **Best For:** Get component details to verify manufacturer and packaging before interpreting unit price.\n- **Best For:** comparing collected records with their object, time and field-coverage context.\n- **Best For:** analyzing supplied material without collecting again merely to write a report.\n- **Not For:** operations or filters absent from Tools Reference, or treating samples as complete coverage; see the scope FAQ.\n\n## Table of Contents\n\n- [Quick Start](#quick-start)\n- [Key Features](#key-features)\n- [Example Prompts](#example-prompts)\n- [Why electronic-component-sourcing-mcp?](#why-electronic-component-sourcing-mcp)\n- [What You Can Build & Deliver](#what-you-can-build--deliver)\n- [Tools Reference](#tools-reference)\n- [Built-in Workflow Guides](#built-in-workflow-guides)\n- [End-to-End Example](#end-to-end-example)\n- [FAQ](#faq)\n- [Error Handling & Retries](#error-handling--retries)\n- [Scope, Data & Billing Notes](#scope-data--billing-notes)\n- [Development](#development)\n- [About OpenAny](#about-openany)\n- [License](#license)\n\n## Quick Start\n\n### Prerequisites\n\n- Node.js 22+ and a client supporting local `stdio` MCP servers.\n- An OpenAny API key for data tools: [API Keys](https://openany.si/dashboard/?page=api-keys), [setup guide](https://openany.si/setup.md), [usage and costs](https://openany.si/dashboard/?page=usage).\n- Utility tools work without a key.\n\n### Configure Your Client\n\nFor clients using `mcpServers`, add this to private settings. Other hosts register the same command, arguments and environment through their MCP settings or CLI.\n\n```json\n{\n \"mcpServers\": {\n \"electronic-component-sourcing-mcp\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@openanysi/electronic-component-sourcing-mcp\"\n ],\n \"env\": {\n \"OPENANY_API_KEY\": \"YOUR_OPENANY_API_KEY\"\n }\n }\n }\n}\n```\n\nStore `OPENANY_API_KEY` in private client settings or the inherited environment. Omit `env` for utility-only use. Keep real keys out of chat and repositories.\n\n### Verify It Works\n\n- **Without an API key:** Inspect `search_components` with `get_tool_info`, then load `get_workflow` with `workflow: \"research\", language: \"en\"`. Explain inputs and pricing without fetching data.\n- **With an API key:** Ask the agent to inspect the relevant tool, request one scoped sample for your question, and preserve sources and missing fields in a research table.\n\n## Key Features\n\n- **Search electronic components:** use `search_components` as an independent operation; inspect its inputs and available fields below.\n- **Get component details:** use `get_component` as an independent operation; inspect its inputs and available fields below.\n- **Comparable evidence:** retain Manufacturer / MPN; Distributor part / URL; Packaging / MOQ; mark missing fields unknown.\n- **Inspect before collection:** read current parameters and pricing before each request; uncertain outcomes are not automatically replayed.\n- **Bilingual task guidance:** collection and reporting guides support analysis and available local exports with your own client model.\n- **Related capability discovery:** inspect the OpenAny catalog when this domain needs another operation; discovery does not execute or install it.\n\n## Example Prompts\n\n- \"Research electronic-component candidates and distributor part records.\"\n- \"Search my component number, distinguish manufacturers, and inspect one confirmed product reference.\"\n- \"Compare prices only with matching packaging and quantity conditions; do not certify electrical substitution.\"\n- \"Use only the records I provide. Make no new data calls. Organize the evidence columns below, mark missing fields and list follow-up questions.\"\n\n## Why electronic-component-sourcing-mcp?\n\n| What You Care About | How We Handle It | Value to You |\n| --- | --- | --- |\n| Search electronic components | Use `search_components` with `query` | Find exact and broader part candidates |\n| Get component details | Use `get_component` with | Verify manufacturer and packaging before interpreting unit price |\n\n## What You Can Build & Deliver\n\n| Use Case | How the Agent Runs It | Typical Deliverables |\n| --- | --- | --- |\n| Search electronic components | Choose `search_components` with the identifiers and inputs required by its current contract. | Sourced evidence to help find exact and broader part candidates. |\n| Get component details | Choose `get_component` with the identifiers and inputs required by its current contract. | Sourced evidence to help verify manufacturer and packaging before interpreting unit price. |\n| Electronic Component Sourcing brief | Align object identity, dates and units before interpreting collected records. | Sourced observations, unresolved differences and follow-up checks. |\n\n## Tools Reference\n\nThe server exposes **5 tools**: 2 data tools and 3 free keyless utilities. Each data tool maps to one request. The client decides subsequent calls and pages.\n\n### Data Tools\n\n| Tool | Parameters | Behavior | Typical Returned Fields |\n| --- | --- | --- | --- |\n| `search_components` | `query` (string, required) | Search electronic components | `exact_matches`, `products`, `manufacturer`, `manufacturer_part_number`, `url`; provider-dependent; optional fields may be absent. |\n| `get_component` | `url` (string, optional); `distributor_part_number` (string, optional); `manufacturer_part_number` (string, optional); `manufacturer` (string, optional) | Get component details | `manufacturer`, `manufacturer_part_number`, `digikey_part_number`, `packaging`, `pricing`, `currency`, `stock_quantity`; provider-dependent; optional fields may be absent. |\n\nResponses are passed through rather than normalized into an invented common business schema. Inspect the returned payload before extracting fields or chaining identifiers. Optional fields may be missing. An input cursor is available only where listed above.\n\nResearch components within the available distributor catalogue. Match manufacturer, MPN, distributor part number and packaging. Keep MOQ, currency and quantity tiers when returned. No cross-distributor price guarantee, ordering or engineering substitution certification is included.\n\nSupply `url`, `distributor_part_number`, or both `manufacturer_part_number` and `manufacturer`.\n\n`get_component` requires `url`, `distributor_part_number`, or both `manufacturer_part_number` and `manufacturer`. Search can return `exact_matches` even when `products` is empty; inspect both before concluding there are no results. Match the selected manufacturer and part URL, and compare price tiers with their packaging and minimum quantities.\n\n### Utility Tools (Free, No API Key Required)\n\n| Tool | Parameters | Behavior |\n| --- | --- | --- |\n| `get_tool_info` | Required `tool_name` from the data-tool names above | Read current parameters, pricing and limits |\n| `get_workflow` | Required `workflow`; optional `language` (`zh` or `en`, default `zh`) | Return a guide; use `language: \"en\"` for English |\n| `search_openany_capabilities` | Required `query` (1-256 characters); optional `limit` (1-10, default 5) | Search related capabilities without executing them |\n\n## Built-in Workflow Guides\n\n`get_workflow` returns instructions for your client without calling data tools or a model. Select `language: \"en\"` for English.\n\n| Guide ID | Best For | What It Provides |\n| --- | --- | --- |\n| `research` | Planning electronic component sourcing research | A tool/identifier checklist and a scoped collection method. |\n| `evidence_brief` | Reporting from collected electronic component sourcing research records | Source attribution, comparison context, missing information and follow-up questions. |\n\n### Companion Skill (Optional)\n\nThe [companion Skill](skills/electronic-component-sourcing/SKILL.md) contains the same bilingual guides. Install it only if your client supports Skills; MCP guides work independently.\n\n## End-to-End Example\n\n**Prompt:** \"Search my component number, distinguish manufacturers, and inspect one confirmed product reference.\"\n\n**How the Agent Executes:**\n\n1. Load `research`, establish identifiers, scope and budget, and select the needed tools: `search_components`, `get_component`.\n2. Inspect `get_tool_info` for current schemas and pricing. Make authorized calls only with confirmed identifiers and required inputs; do not fabricate IDs or append pages automatically.\n3. Search part numbers, inspect both `exact_matches` and products, and confirm manufacturer/MPN before selecting details. Preserve packaging, MOQ, quantity tiers and currency.\n4. Retain evidence using these columns: Manufacturer / MPN | Distributor part / URL | Packaging / MOQ | Quantity tier / currency | Source date | Gaps. Mark absent fields unknown.\n5. Load `evidence_brief`, write evidence-linked findings and open questions, and export Markdown/CSV only when client file tools are available.\n\n## FAQ\n\n### Which inputs should I confirm before starting?\n\n`search_components` requires `query`; `get_component` requires a deliberate choice of the supported inputs. Choose the operation that matches the supplied query or known record; ask for missing identifiers rather than guessing from names.\n\n### How should I compare the returned records?\n\nAlign Manufacturer / MPN; Distributor part / URL; Packaging / MOQ before comparing. Keep supported observations separate from unavailable fields and list the specific follow-up evidence needed.\n\n### What are the domain-specific scope limits?\n\nResearch components within the available distributor catalogue. Match manufacturer, MPN, distributor part number and packaging. Keep MOQ, currency and quantity tiers when returned. No cross-distributor price guarantee, ordering or engineering substitution certification is included.\n\n### How much does this MCP cost?\n\nThe Apache-2.0 package has no MCP subscription fee. Three utilities are free and keyless; 2 data tools follow current OpenAny pricing. Inspect `get_tool_info` before calling. Client model costs are separate.\n\n### Do I need a platform account or browser cookies?\n\nData calls use `OPENANY_API_KEY`. The MCP configuration does not require a personal platform account or browser cookies, and does not grant access to unprovided private account data.\n\n### Which clients work, and what can I try without a key?\n\nUse a standard local `stdio` MCP client. The configuration JSON applies to hosts using `mcpServers`; other clients register the same command. Without a key, inspect tools, read guides and discover related capabilities.\n\n### Can I treat missing fields as zero or infer complete coverage?\n\nNo. Preserve object identity, source, filters and sample scope. Mark missing values unknown; the returned sample does not represent uncollected records.\n\n### Who writes the report and exports files?\n\nYour client agent analyzes and writes; Markdown/CSV export requires its file tools. The MCP returns data and guides rather than generating a report. Discover missing capabilities with `search_openany_capabilities` or the general OpenAny MCP.\n\n### What should I do after a timeout or uncertain result?\n\nPreserve the original request ID and inspect its outcome before another call. A missing final response does not prove that it was uncharged; do not automatically replay an uncertain request.\n\n## Error Handling & Retries\n\n| Execution State | Typical Indicators | Billed? | Safe to Retry? |\n| --- | --- | --- | --- |\n| **Failed** | Input or credential rejection before dispatch | No | After correcting the input |\n| **Succeeded** | Returned business data | According to the selected API's billing rule | Do not resubmit the same request |\n| **Uncertain / Timeout** | Final result was not received | Unknown | Check the original request first |\n\n## Scope, Data & Billing Notes\n\n- **Execution & Billing:** Each call is inspected and executed separately. Empty results may incur a charge when the selected rule applies.\n- **Sampling & Data Boundaries:** Research components within the available distributor catalogue. Match manufacturer, MPN, distributor part number and packaging. Keep MOQ, currency and quantity tiers when returned. No cross-distributor price guarantee, ordering or engineering substitution certification is included.\n- **Reporting Standards:** Separate source data, observations, hypotheses and drafts. Mark unavailable facts as unknown.\n- **Network & Privacy:** The server runs locally; catalog queries and business inputs are sent to OpenAny.\n\n## Development\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide maintenance.\n\n## About OpenAny\n\n[OpenAny](https://openany.si/) is a **B2A (Business-to-Agent) marketplace** for AI models, data and business APIs, tools/MCP servers and ready-to-call Runs. One OpenAny key provides pay-per-call access without a required monthly subscription.\n\nDiscover additional capabilities with `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/).\n\n## License\n\n[Apache-2.0](LICENSE)\n",
|
|
65
|
+
"readme": "# electronic-component-sourcing-mcp: Electronic Component Sourcing Research MCP\n\nMCP server to search electronic component catalogues and inspect distributor part details for BOM sourcing research. Built for Claude, Cursor and other AI agents. Powered by [OpenAny](https://openany.si/).\n\n[](https://www.npmjs.com/package/@openanysi/electronic-component-sourcing-mcp)\n[](LICENSE)\n[](https://nodejs.org/)\n\nEnglish | [简体中文](docs/README.zh-CN.md)\n\n## Overview\n\nUse this MCP to search electronic component catalogues and inspect distributor part details for BOM sourcing research.\n\nDesigned for BOM and component-sourcing teams, it supplies evidence your agent can turn into a part shortlist with identity, price-tier context and engineering questions.\n\n**Best For / Not For**\n\n- **Best For:** Search electronic components to find exact and broader part candidates.\n- **Best For:** Get component details to verify manufacturer and packaging before interpreting unit price.\n- **Best For:** comparing collected records with their object, time and field-coverage context.\n- **Best For:** analyzing supplied material without collecting again merely to write a report.\n- **Not For:** operations or filters absent from Tools Reference, or treating samples as complete coverage; see the scope FAQ.\n\n## Table of Contents\n\n- [Quick Start](#quick-start)\n- [Key Features](#key-features)\n- [Example Prompts](#example-prompts)\n- [Why electronic-component-sourcing-mcp?](#why-electronic-component-sourcing-mcp)\n- [What You Can Build & Deliver](#what-you-can-build--deliver)\n- [Tools Reference](#tools-reference)\n- [Built-in Workflow Guides](#built-in-workflow-guides)\n- [End-to-End Example](#end-to-end-example)\n- [FAQ](#faq)\n- [Error Handling & Retries](#error-handling--retries)\n- [Scope, Data & Billing Notes](#scope-data--billing-notes)\n- [Related MCP Servers](#related-mcp-servers)\n- [Development](#development)\n- [About OpenAny](#about-openany)\n- [Contact Us](#contact-us)\n- [License](#license)\n\n## Quick Start\n\n### Prerequisites\n\n- Node.js 22+ and a client supporting local `stdio` MCP servers.\n- An OpenAny API key for data tools: [API Keys](https://openany.si/dashboard/?page=api-keys), [setup guide](https://openany.si/setup.md), [usage and costs](https://openany.si/dashboard/?page=usage).\n- Utility tools work without a key.\n\n### Configure Your Client\n\n[<img src=\"https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/claude-color.svg\" width=\"20\" height=\"20\" alt=\"\"> Claude Desktop](https://modelcontextprotocol.io/docs/develop/connect-local-servers) · [<img src=\"https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/cursor.svg\" width=\"20\" height=\"20\" alt=\"\"> Cursor](https://cursor.com/docs/context/mcp) · [<img src=\"https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/windsurf.svg\" width=\"20\" height=\"20\" alt=\"\"> Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp) · [<img src=\"https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/cline.svg\" width=\"20\" height=\"20\" alt=\"\"> Cline](https://docs.cline.bot/mcp/mcp-overview) · [<img src=\"https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/claude-color.svg\" width=\"20\" height=\"20\" alt=\"\"> Claude Code](https://code.claude.com/docs/en/mcp) · [<img src=\"https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/openai.svg\" width=\"20\" height=\"20\" alt=\"\"> Codex](https://developers.openai.com/codex/mcp/)\n\n**Run with npx (no global installation required):**\n\n```bash\nnpx -y @openanysi/electronic-component-sourcing-mcp\n```\n\nUse this command when adding a local `stdio` server to your agent.\n\nAdd this entry to your client's private `mcpServers` settings and replace `YOUR_OPENANY_API_KEY` locally (don't have a key yet? [Create an OpenAny API key](https://openany.si/dashboard/?page=api-keys)):\n\n```json\n{\n \"mcpServers\": {\n \"electronic-component-sourcing-mcp\": {\n \"command\": \"npx\", \"args\": [\"-y\", \"@openanysi/electronic-component-sourcing-mcp\"],\n \"env\": {\"OPENANY_API_KEY\": \"YOUR_OPENANY_API_KEY\"}\n }\n }\n}\n```\n\n**API key:** Data tools require `OPENANY_API_KEY`; omit `env` for keyless utilities. Keep real keys in private client settings or environment variables, never in chat or public repositories.\n\n**Client-specific setup**\n\n- **Claude Desktop:** Open **Settings → Developer → Edit Config**, merge the JSON above, then restart Claude Desktop.\n- **Cursor:** Merge the JSON into your private `~/.cursor/mcp.json`, then refresh the MCP server list.\n- **Windsurf:** Open MCP settings and add a local `stdio` server using the `command`, `args` and private `env` above.\n- **Cline:** Open **MCP Servers → Configure → Configure MCP Servers** and merge the JSON above.\n\n**Claude Code**\n\n```bash\nclaude mcp add --transport stdio electronic-component-sourcing-mcp -- npx -y @openanysi/electronic-component-sourcing-mcp\n```\n\n**Codex**\n\n```bash\ncodex mcp add electronic-component-sourcing-mcp -- npx -y @openanysi/electronic-component-sourcing-mcp\n```\n\nFor CLI clients, set `OPENANY_API_KEY` in the agent's launch environment or private server settings before using data tools.\n\n### Verify It Works\n\n- **Without an API key:** Inspect `search_components` with `get_tool_info`, then load `get_workflow` with `workflow: \"research\", language: \"en\"`. Explain inputs and pricing without fetching data.\n- **With an API key:** Ask the agent to inspect the relevant tool, request one scoped sample for your question, and preserve sources and missing fields in a research table.\n\n## Key Features\n\n- **Search electronic components:** use `search_components` as an independent operation; inspect its inputs and available fields below.\n- **Get component details:** use `get_component` as an independent operation; inspect its inputs and available fields below.\n- **Comparable evidence:** retain Manufacturer / MPN; Distributor part / URL; Packaging / MOQ; mark missing fields unknown.\n- **Inspect before collection:** read current parameters and pricing before each request; uncertain outcomes are not automatically replayed.\n- **Bilingual task guidance:** collection and reporting guides support analysis and available local exports with your own client model.\n- **Related capability discovery:** inspect the OpenAny catalog when this domain needs another operation; discovery does not execute or install it.\n\n## Example Prompts\n\n- \"Research electronic-component candidates and distributor part records.\"\n- \"Search my component number, distinguish manufacturers, and inspect one confirmed product reference.\"\n- \"Compare prices only with matching packaging and quantity conditions; do not certify electrical substitution.\"\n- \"Use only the records I provide. Make no new data calls. Organize the evidence columns below, mark missing fields and list follow-up questions.\"\n\n## Why electronic-component-sourcing-mcp?\n\n| What You Care About | How We Handle It | Value to You |\n| --- | --- | --- |\n| Search electronic components | Use `search_components` with `query` | Find exact and broader part candidates |\n| Get component details | Use `get_component` with | Verify manufacturer and packaging before interpreting unit price |\n\n## What You Can Build & Deliver\n\n| Use Case | How the Agent Runs It | Typical Deliverables |\n| --- | --- | --- |\n| Search electronic components | Choose `search_components` with the identifiers and inputs required by its current contract. | Sourced evidence to help find exact and broader part candidates. |\n| Get component details | Choose `get_component` with the identifiers and inputs required by its current contract. | Sourced evidence to help verify manufacturer and packaging before interpreting unit price. |\n| Electronic Component Sourcing brief | Align object identity, dates and units before interpreting collected records. | Sourced observations, unresolved differences and follow-up checks. |\n\n## Tools Reference\n\nThe server exposes **5 tools**: 2 data tools and 3 free keyless utilities. Each data tool maps to one request. The client decides subsequent calls and pages.\n\n### Data Tools\n\n| Tool | Parameters | Behavior | Typical Returned Fields |\n| --- | --- | --- | --- |\n| `search_components` | `query` (string, required) | Search electronic components | `exact_matches`, `products`, `manufacturer`, `manufacturer_part_number`, `url`; provider-dependent; optional fields may be absent. |\n| `get_component` | `url` (string, optional); `distributor_part_number` (string, optional); `manufacturer_part_number` (string, optional); `manufacturer` (string, optional) | Get component details | `manufacturer`, `manufacturer_part_number`, `digikey_part_number`, `packaging`, `pricing`, `currency`, `stock_quantity`; provider-dependent; optional fields may be absent. |\n\nResponses are passed through rather than normalized into an invented common business schema. Inspect the returned payload before extracting fields or chaining identifiers. Optional fields may be missing. An input cursor is available only where listed above.\n\nResearch components within the available distributor catalogue. Match manufacturer, MPN, distributor part number and packaging. Keep MOQ, currency and quantity tiers when returned. No cross-distributor price guarantee, ordering or engineering substitution certification is included.\n\nSupply `url`, `distributor_part_number`, or both `manufacturer_part_number` and `manufacturer`.\n\n`get_component` requires `url`, `distributor_part_number`, or both `manufacturer_part_number` and `manufacturer`. Search can return `exact_matches` even when `products` is empty; inspect both before concluding there are no results. Match the selected manufacturer and part URL, and compare price tiers with their packaging and minimum quantities.\n\n### Utility Tools (Free, No API Key Required)\n\n| Tool | Parameters | Behavior |\n| --- | --- | --- |\n| `get_tool_info` | Required `tool_name` from the data-tool names above | Read current parameters, pricing and limits |\n| `get_workflow` | Required `workflow`; optional `language` (`zh` or `en`, default `zh`) | Return a guide; use `language: \"en\"` for English |\n| `search_openany_capabilities` | Required `query` (1-256 characters); optional `limit` (1-10, default 5) | Search related capabilities without executing them |\n\n## Built-in Workflow Guides\n\n`get_workflow` returns instructions for your client without calling data tools or a model. Select `language: \"en\"` for English.\n\n| Guide ID | Best For | What It Provides |\n| --- | --- | --- |\n| `research` | Planning electronic component sourcing research | A tool/identifier checklist and a scoped collection method. |\n| `evidence_brief` | Reporting from collected electronic component sourcing research records | Source attribution, comparison context, missing information and follow-up questions. |\n\n### Companion Skill (Optional)\n\nThe [companion Skill](skills/electronic-component-sourcing/SKILL.md) contains the same bilingual guides. Install it only if your client supports Skills; MCP guides work independently.\n\n## End-to-End Example\n\n**Prompt:** \"Search my component number, distinguish manufacturers, and inspect one confirmed product reference.\"\n\n**How the Agent Executes:**\n\n1. Load `research`, establish identifiers, scope and budget, and select the needed tools: `search_components`, `get_component`.\n2. Inspect `get_tool_info` for current schemas and pricing. Make authorized calls only with confirmed identifiers and required inputs; do not fabricate IDs or append pages automatically.\n3. Search part numbers, inspect both `exact_matches` and products, and confirm manufacturer/MPN before selecting details. Preserve packaging, MOQ, quantity tiers and currency.\n4. Retain evidence using these columns: Manufacturer / MPN | Distributor part / URL | Packaging / MOQ | Quantity tier / currency | Source date | Gaps. Mark absent fields unknown.\n5. Load `evidence_brief`, write evidence-linked findings and open questions, and export Markdown/CSV only when client file tools are available.\n\n## FAQ\n\n### Which inputs should I confirm before starting?\n\n`search_components` requires `query`; `get_component` requires a deliberate choice of the supported inputs. Choose the operation that matches the supplied query or known record; ask for missing identifiers rather than guessing from names.\n\n### How should I compare the returned records?\n\nAlign Manufacturer / MPN; Distributor part / URL; Packaging / MOQ before comparing. Keep supported observations separate from unavailable fields and list the specific follow-up evidence needed.\n\n### What are the domain-specific scope limits?\n\nResearch components within the available distributor catalogue. Match manufacturer, MPN, distributor part number and packaging. Keep MOQ, currency and quantity tiers when returned. No cross-distributor price guarantee, ordering or engineering substitution certification is included.\n\n### How much does this MCP cost?\n\nThe Apache-2.0 package has no MCP subscription fee. Three utilities are free and keyless; 2 data tools follow current OpenAny pricing. Inspect `get_tool_info` before calling. Client model costs are separate.\n\n### Do I need a platform account or browser cookies?\n\nData calls use `OPENANY_API_KEY`. The MCP configuration does not require a personal platform account or browser cookies, and does not grant access to unprovided private account data.\n\n### Which clients work, and what can I try without a key?\n\nUse a standard local `stdio` MCP client. The configuration JSON applies to hosts using `mcpServers`; other clients register the same command. Without a key, inspect tools, read guides and discover related capabilities.\n\n### Can I treat missing fields as zero or infer complete coverage?\n\nNo. Preserve object identity, source, filters and sample scope. Mark missing values unknown; the returned sample does not represent uncollected records.\n\n### Who writes the report and exports files?\n\nYour client agent analyzes and writes; Markdown/CSV export requires its file tools. The MCP returns data and guides rather than generating a report. Discover missing capabilities with `search_openany_capabilities` or the general OpenAny MCP.\n\n### What should I do after a timeout or uncertain result?\n\nPreserve the original request ID and inspect its outcome before another call. A missing final response does not prove that it was uncharged; do not automatically replay an uncertain request.\n\n## Error Handling & Retries\n\n| Execution State | Typical Indicators | Billed? | Safe to Retry? |\n| --- | --- | --- | --- |\n| **Failed** | Input or credential rejection before dispatch | No | After correcting the input |\n| **Succeeded** | Returned business data | According to the selected API's billing rule | Do not resubmit the same request |\n| **Uncertain / Timeout** | Final result was not received | Unknown | Check the original request first |\n\n## Scope, Data & Billing Notes\n\n- **Execution & Billing:** Each call is inspected and executed separately. Empty results may incur a charge when the selected rule applies.\n- **Sampling & Data Boundaries:** Research components within the available distributor catalogue. Match manufacturer, MPN, distributor part number and packaging. Keep MOQ, currency and quantity tiers when returned. No cross-distributor price guarantee, ordering or engineering substitution certification is included.\n- **Reporting Standards:** Separate source data, observations, hypotheses and drafts. Mark unavailable facts as unknown.\n- **Network & Privacy:** The server runs locally; catalog queries and business inputs are sent to OpenAny.\n\n## Related MCP Servers\n\n[Browse the server catalog](https://github.com/siopenany/just-mcps#mcp-server-catalog) for adjacent tasks. Each server has separate inputs and coverage.\n\n- [1688-sourcing-research-mcp](https://www.npmjs.com/package/@openanysi/1688-sourcing-research-mcp): Research 1688 products, factory search results and product details for sourcing briefs.\n- [pc-component-research-mcp](https://www.npmjs.com/package/@openanysi/pc-component-research-mcp): Research PC component listings and available specification information.\n- [china-company-risk-mcp](https://www.npmjs.com/package/@openanysi/china-company-risk-mcp): Chinese company risk scans, business exceptions, administrative penalties, and case filings.\n\n## Development\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide maintenance.\n\n## About OpenAny\n\n[OpenAny](https://openany.si/) is a **B2A (Business-to-Agent) marketplace** for AI models, data and business APIs, tools/MCP servers and ready-to-call Runs. One OpenAny key provides pay-per-call access without a required monthly subscription.\n\nDiscover additional capabilities with `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/).\n\n## Contact Us\n\n- Community discussions and usage questions: [Telegram community](https://t.me/openanylabs)\n- Integration support and business inquiries: [team@openany.si](mailto:team@openany.si)\n\n## License\n\n[Apache-2.0](LICENSE)\n",
|
|
66
66
|
"readmeFilename": "README.md"
|
|
67
67
|
}
|