Skip to main content
Glama
hw-components-mcp

hw-components-mcp

by xt-mahh

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HWC_NO_CACHENoSet to 1 to disable TTL caching (search 5 minutes / detail 15 minutes).0
HQCHIP_COOKIENoHQCHIP (华秋) requires login starting 2026-11; fill in the full Cookie header copied after logging into hqchip.com in a browser to restore HQCHIP data. Cookies expire, and the tool will report a clear error after invalidation.
HWC_HTTP_TIMEOUTNoRequest timeout in seconds.20
HWC_MIN_INTERVALNoDefault minimum interval in seconds for other domains.1.0
HWC_MIN_INTERVAL_LCSCNowmsc.lcsc.com minimum request interval in seconds; do not reduce.3.0

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

元器件检索工具集(立创商城 LCSC / 京东元器件 / 华秋商城)。典型流程:先 search_components 按型号或关键词找料 → 用返回的 product_id 调 get_component_detail 看参数与阶梯价 → 需要读手册时 download_datasheet;整单 BOM 核库存用 check_bom。LCSC 数据最全(参数/替代料/datasheet),华秋有人民币自营价,京东适合核对国内现货渠道。

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_platformsA

列出可接入的元器件平台及数据说明(币种口径、库存口径、区域/反爬要求)。

search_componentsC

按型号/关键词搜索元器件,返回统一格式结果列表。

get_component_detailB

获取元器件完整详情:参数表、阶梯价格、库存、起订量、数据手册链接、替代料。

check_bomA

BOM 批量核查:多行「料号 数量」,逐行返回各平台库存、按量单价与缺口。

download_datasheetA

下载数据手册 PDF 到本地并返回文件绝对路径(供后续用 pdf 工具精读)。

find_alternativesA

查询元器件的官方替代料/替换料(当前仅 LCSC 支持,来自详情接口 alternatePartList)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 6 tools

Disambiguation4/5

Each tool targets a distinct stage of the component-sourcing workflow (platform discovery, search, detail, BOM check, datasheet download, alternatives). The only real overlap is find_alternatives, whose data is already returned inside get_component_detail's alternatePartList, so an agent could plausibly pick the wrong one for a single lookup.

Naming Consistency5/5

All six tools follow a clean snake_case verb_noun pattern (list_platforms, search_components, get_component_detail, check_bom, download_datasheet, find_alternatives) with no mixed conventions.

Tool Count5/5

Six tools is well within the ideal 3-15 range and each maps to a clear, non-redundant step in the sourcing workflow. Nothing feels padded or missing at the count level.

Completeness4/5

The surface covers the core read-only lifecycle: platform metadata, search, detail/stock/pricing, BOM gap analysis, datasheet retrieval, and alternates. Minor gaps remain, such as no quoting/ordering or bulk part-number lookup outside BOM format, and alternatives are limited to LCSC.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues