LCSC Electronics MCP server for AI agents
Let Claude, ChatGPT or your own agent read LCSC Electronics: 2 typed functions through one MCP server. No LCSC Electronics API key needed.
- Site
- lcsc.com
- Functions
- 2
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just LCSC Electronics
An MCP server for LCSC Electronics alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/lcscEvery site
One MCP server for LCSC Electronics and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 2
productReads one LCSC part by its C-code, including its parametric attributes, stock, price breaks and datasheet.Arguments
Name Type Required argsLcscProductArgsYes type LcscProductArgs = string | { code: string };Returns
LcscProductinterface LcscPriceBreak { quantity: number; usd: number; } interface LcscPart { code: string; model: string; brand: string | null; description: string | null; category: string | null; package: string | null; stock: number | null; minOrder: number | null; prices: LcscPriceBreak[]; datasheetUrl: string | null; imageUrl: string | null; url: string; } interface LcscProduct extends LcscPart { attributes: { name: string; value: string }[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/lcsc/productCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.lcsc.product("C8734");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.lcsc.product("C8734"))curl -X POST https://api.bowmark.ai/v1/sites/lcsc/product \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":"C8734"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.lcsc.product("C8734");searchSearches LCSC's electronic-components catalog by part number or description, returning parts with stock, USD price breaks, package and datasheet.Arguments
Name Type Required argsLcscSearchArgsYes type LcscSearchArgs = string | { query: string; limit?: number };Returns
LcscPart[]interface LcscPriceBreak { quantity: number; usd: number; } interface LcscPart { code: string; model: string; brand: string | null; description: string | null; category: string | null; package: string | null; stock: number | null; minOrder: number | null; prices: LcscPriceBreak[]; datasheetUrl: string | null; imageUrl: string | null; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/lcsc/searchCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.lcsc.search("STM32F103C8T6");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.lcsc.search("STM32F103C8T6"))curl -X POST https://api.bowmark.ai/v1/sites/lcsc/search \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":"STM32F103C8T6"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.lcsc.search("STM32F103C8T6");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/lcsc/<function> - OpenAPI
/v1/sites/lcsc/openapi.json