mouser-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mouser-mcp search Mouser for 10k 0603 resistors in stock"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@bradford-tech/mouser-mcp
An MCP server for the Mouser Electronics API: part search, BOM review, carts, order history and — opt-in — orders that are only placed after you type APPROVE into a confirmation prompt shown by the server. Built on @bradford-tech/mouser-sdk.
It runs locally over stdio with your own Mouser API keys. Works with Claude Code and Claude Desktop.
Install
You need a Mouser Search API key, and for carts, order history and ordering an Order API key. Request both from the Mouser API hub.
Claude Code:
claude mcp add mouser \
--env MOUSER_SEARCH_API_KEY=your-search-key \
--env MOUSER_ORDER_API_KEY=your-order-key \
-- npx -y @bradford-tech/mouser-mcpClaude Desktop: download mouser-<version>.mcpb from the latest release and open it. Desktop asks for the keys in its settings and stores them securely. Or add this to claude_desktop_config.json:
{
"mcpServers": {
"mouser": {
"command": "npx",
"args": ["-y", "@bradford-tech/mouser-mcp"],
"env": {
"MOUSER_SEARCH_API_KEY": "your-search-key",
"MOUSER_ORDER_API_KEY": "your-order-key"
}
}
}
}Configuration
Variable | Purpose |
| Search tools. |
| Cart, order information, order history and ordering tools. Optional; without it those tools explain what's missing. |
| Set to |
Requires Node 20 or newer.
Related MCP server: mouser-search-mcp
Tools
Area | Tools |
Search |
|
Cart |
|
Order info |
|
Ordering (opt-in) |
|
Things to know:
No parametric search. Mouser can't filter or sort by specifications (capacitance, voltage, price). Search by keyword; Claude filters the returned descriptions.
Price breaks. Mouser returns a handful of price breaks per part; quantities above the last break are priced at that break, not extrapolated. Each break has a display
pricestring and a numericrawPricefor arithmetic.Search results are lighter than lookups.
search_partsleaves out links, on-order dates and compliance codes to keep pages small;get_partsreturns them.Datasheet links come back only when Mouser's API provides them, and for many parts (e.g. TI and onsemi) it returns an empty value. The product page link always works and links the datasheet.
Dates are returned as Mouser sends them (e.g.
2026-11-06T00:00:00, no timezone).Rate limits. Mouser allows 30 calls a minute and 1,000 a day. The server queues calls to stay under the per-minute limit (a 200-line BOM takes about a minute) and says so plainly when the daily limit is reached.
Placing orders
Ordering is off unless MOUSER_ENABLE_ORDERS=1. When on:
Claude builds a cart, then calls
preview_order. Mouser prices the order (lines, tax, shipping, total) without placing it. The preview is kept in memory for 20 minutes and can be submitted once.submit_ordertakes only the preview's ID. The server checks the cart hasn't changed, fetches fresh figures from Mouser, and shows its own confirmation prompt with the total. If the total changed since the preview, the prompt says so.The order is placed only if you type APPROVE into that prompt (any case; quotes and surrounding spaces are fine). Anything else —
APPROV,yes, cancelling the prompt — cancels it, and that preview can't be used again.
Claude never sees or relays the confirmation word, so it can't approve an order on your behalf. The final charge is Mouser's figure at the moment of submission.
The confirmation prompt needs a client that supports MCP elicitation: Claude Code in interactive mode does; Claude Desktop and non-interactive runs (claude -p, the Agent SDK) don't yet, and submit_order refuses there without contacting Mouser. You can still build carts in any client and check out on mouser.com.
First live order (maintainers)
Order placement ships off by default until it has been verified against the live API:
In interactive Claude Code with
MOUSER_ENABLE_ORDERS=1, build a cart with one low-value part and callpreview_order. Check the cart on mouser.com is unchanged and no order exists.Call
submit_order. Confirm the prompt appears, shows the total, and that typingAPPROVcancels it.Preview again, submit, type
APPROVE. Confirm the order number matches mouser.com.Call
submit_orderagain with the same preview ID and confirm it's refused.
Development
git clone https://github.com/bradford-tech/mouser-mcp.git
cd mouser-mcp
npm install
npm testnpm run build # compile to dist/
npm run fix # prettier + eslint auto-fix, then type-check
npm run live-check # read-only calls against the real API (keys from a local .env)
bash scripts/pack-mcpb.sh # build the Claude Desktop bundle (after npm run build)License
Available Tools
14 toolsadd_to_cartAdd parts to a Mouser cartA
Adds parts to a Mouser cart. Omit cartKey to start a new cart; the returned cartKey identifies it. Does not place an order.
Inputs: items (required), cartKey. Returns: items, cartKey, currency, itemCount, +1 more
create_cart_from_orderCreate a Mouser cart from a past orderA
Starts a new Mouser cart containing the parts of a past order, e.g. to reorder. Does not place an order.
Inputs: orderNumber (required). Returns: items, cartKey, currency, itemCount, +1 more
get_cartGet a Mouser cartBRead-onlyIdempotent
Returns a Mouser cart's items, quantities, prices and merchandise total.
Inputs: cartKey (required). Returns: items, cartKey, currency, itemCount, +1 more
get_orderGet a Mouser orderBRead-onlyIdempotent
Details of one Mouser order: lines, status, shipping and payment.
Inputs: orderNumber (required).
get_order_historyGet Mouser order historyARead-onlyIdempotent
Lists past Mouser orders. Give exactly one lookup: dateFilter (e.g. LastMonth), startDate and endDate together, salesOrderNumber, or webOrderNumber.
Inputs: endDate, startDate, dateFilter, webOrderNumber, +1 more.
get_order_optionsGet Mouser order optionsBRead-onlyIdempotent
Shipping methods, payment methods, addresses, tax certificates and VAT accounts available for ordering a Mouser cart. Use the returned values when previewing an order.
Inputs: cartKey (required), currencyCode.
get_partsLook up Mouser parts by part numberARead-onlyIdempotent
Looks up one or many Mouser or manufacturer part numbers (up to 200, e.g. a BOM) and returns compact summaries: stock, lead time, lifecycle, RoHS, pricing, compliance and links. Part numbers that match nothing are listed in notFound. Lookups are batched 10 per Mouser call. datasheetUrl is included only when Mouser provides one, which it often doesn't; productUrl links to the Mouser page, which has the datasheet.
Inputs: partNumbers (required), exact, manufacturer. Returns: parts, failed, notFound
list_countriesList Mouser countriesBRead-onlyIdempotent
Countries (and their states) Mouser ships to, optionally for one country code.
Inputs: countryCode.
list_currenciesList Mouser currenciesCRead-onlyIdempotent
Currencies Mouser accepts, optionally for a shipping country code.
Inputs: shippingCountryCode.
list_manufacturersList Mouser manufacturersARead-onlyIdempotent
Mouser's manufacturer names, for the manufacturer argument of search_parts and get_parts. Filter with query (case-insensitive substring); at most 200 names are returned.
Inputs: query. Returns: truncated, manufacturers
manage_scheduled_releasesManage scheduled releases in a Mouser cartADestructive
Schedules future ship dates for parts in a Mouser cart. action add or update takes items with release dates and quantities; delete_all removes every scheduled release from the cart.
Inputs: action (required), cartKey (required), items. Returns: items, cartKey, currency, itemCount, +1 more
remove_from_cartRemove a part from a Mouser cartCDestructiveIdempotent
Removes one part from a Mouser cart.
Inputs: cartKey (required), mouserPartNumber (required). Returns: items, cartKey, currency, itemCount, +1 more
search_partsSearch Mouser partsARead-onlyIdempotent
Keyword search of Mouser's catalog, optionally limited to one manufacturer and filtered to in-stock and/or RoHS-compliant parts. Returns the total match count and up to 50 compact part summaries per call; page with offset (with a manufacturer, offset must be a multiple of limit). Mouser has no parametric filtering or sorting (e.g. by capacitance, voltage or price), so filter by the returned descriptions.
Inputs: keyword (required), limit, filter, offset, +1 more. Returns: parts, totalResults
update_cart_itemsUpdate items in a Mouser cartBIdempotent
Changes quantities or customer part numbers of parts already in a Mouser cart.
Inputs: items (required), cartKey (required). Returns: items, cartKey, currency, itemCount, +1 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool has a clearly distinct purpose: keyword catalog search versus exact part lookup, cart mutation operations, order retrieval, and reference-data lists are well separated. Even related tools like get_cart, add_to_cart, update_cart_items, and remove_from_cart target unambiguous actions.
All tool names follow a consistent snake_case verb_noun pattern, such as search_parts, get_parts, add_to_cart, and get_order_history. There are no mixed conventions or vague standalone verbs.
The 14 tools are well scoped for a Mouser purchasing workflow, covering search, part lookup, cart management, ordering metadata, and order history without excessive branching. Each tool appears to earn its place.
The surface covers catalog search, BOM-style part lookup, manufacturer discovery, cart creation/mutation, scheduled releases, order options, countries/currencies, and order history/details. Minor gaps remain around checkout/preview-order operations and clearing a cart, but the core workflows are well covered.
Maintenance
Related MCP Connectors
Find electronic parts with live Mouser, DigiKey and JLCPCB stock and prices, check BOMs, order.
Search real parts with datasheet-provenance specs, check compatibility and compose priced BOMs.
Search multi-merchant supply, checkout, and track orders via MCP.
EasyGerber brings AI printed circuit board (PCB) design, layout, and routing to MCP-compatible assistants. Describe a circuit or start from firmware pin assignments, search published electronic components, and build schematics using catalog parts with their footprints and available 3D models. Create and revise boards, generate layouts with automatic component placement and routing, inspect previews, and check saved layouts for blocking design issues. Export manufacturing ZIPs containing Gerber and drill files, a bill of materials, and component placement data, or download an editable EasyGerber (.egb) file. Start without signing up. Your agent uses one private board reference to create and continue a board, including catalog access, edits, layout, checks, previews, and exports, without a separate guest setup step or token to manage. To keep the board in your account or work with permitted saved personal or organization boards, complete EasyGerber sign-in and OAuth consent, then resume the same task. Account permissions, plan limits, and generation billing apply; support depends on your MCP client and installed integration.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables searching and filtering over 1.5 million electronic components across JLCPCB, Mouser, and DigiKey using parametric queries and smart parsing. It supports finding alternative parts, accessing pinout data, and downloading KiCad footprints directly through AI coding assistants.14143MIT
- AlicenseNot gradedqualityCmaintenanceProvides tools to search the Mouser Electronics parts catalog via keyword, part number, and manufacturer queries using the Mouser Search API.3MIT
- AlicenseAqualityFmaintenanceA Model Context Protocol (MCP) server for the Mouser Electronics API. Enables searching electronic components, managing shopping carts, and tracking orders directly through Claude or other MCP clients.95MIT
- AlicenseAqualityCmaintenanceSearches electronic components across DigiKey and Mouser, enabling keyword search, part details, and merged offers with price comparison.41MIT