DigiKey Datasheet 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., "@DigiKey Datasheet MCP Find a 3.3V 500mA LDO in SOT-23-5 under $0.50 at 100 pcs and its dropout voltage"
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.
digikey-datasheet-mcp
Ask your AI about real parts: DigiKey search, live stock and pricing, BOM costing, LCSC lookup, and datasheets it actually reads.
English | 繁體中文
An MCP server for Claude, Cursor, VS Code and any other MCP client. It turns "find me a 3.3 V LDO in SOT-23 that's in stock" or "what's the absolute max on the EN pin?" into answers backed by DigiKey's official API and the part's own datasheet, with page numbers.
An example session (numbers are illustrative):
You: Find a 3.3 V, 500 mA LDO in SOT-23-5 under $0.50 at 100 pcs, then tell me
its dropout voltage and what the EN pin does.
Claude: → search_parts("LDO 3.3V 500mA SOT-23-5", in_stock=true, sort="price")
→ get_price("TPS7A2033PDBVR", 100)
→ datasheet_section("TPS7A2033PDBVR", "electrical_characteristics")
→ datasheet_section("TPS7A2033PDBVR", "pinout")
TPS7A2033PDBVR (Texas Instruments): $0.21 each at 100 pcs on cut tape,
41,000 in stock. Dropout is 180 mV typ / 300 mV max at 300 mA (p. 6).
EN is pin 3, active high, and must not be left floating (p. 4)...Why this one
Reads datasheets, not just links to them. Finds the pinout, absolute maximum ratings, recommended operating conditions, electrical characteristics, thermal, package and ordering sections (from PDF bookmarks, or headings when there are none) and hands the model just those pages, plus a best-effort pin table. Works on any PDF URL, not only DigiKey's.
Real buying answers.
get_pricepicks the cheapest packaging that covers your quantity (cut tape vs. full reel, skipping Digi-Reel fees) and shows the next price break.price_bomcosts a whole BOM for N boards and flags missing, out-of-stock and obsolete parts.Compare and replace. Side-by-side parameter tables, and DigiKey's own substitutes for parts that went obsolete.
Works without keys too.
search_lcsc(LCSC / JLCPCB assembly parts) and the datasheet tools on a URL need no account. Add DigiKey keys when you want the rest.Your keys stay yours. Runs locally over stdio. Credentials go to
api.digikey.comand nowhere else. Every tool is read-only: no carts, no orders.Tested. 58 tests against a mocked DigiKey API and generated PDFs, on Linux, macOS and Windows, Python 3.10 to 3.13.
Related MCP server: jlcpcb-search-mcp
Tools
Tool | What it does | Needs DigiKey keys |
| Keyword / part-number search with in-stock, RoHS, sort and manufacturer filters | ✓ |
| Every parameter, packaging options and price breaks, lifecycle, RoHS, lead time | ✓ |
| Best price for a quantity, across packaging types, with the next price break | ✓ |
| DigiKey substitutes (direct, similar, upgrade) with stock and price | ✓ |
| Markdown comparison table of 2 to 6 parts, highlighting what differs | ✓ |
| Cost a BOM (up to 100 lines) for N boards, with warnings | ✓ |
| LCSC / JLCPCB parts: LCSC code, stock, price, basic/preferred status | |
| Page count, bookmarks and where each key section starts | for part numbers |
| Text of one section (pinout, absolute_maximum_ratings, electrical_characteristics, ...) | for part numbers |
| Find a term (e.g. "I2C address", "quiescent current") with page numbers | for part numbers |
| Raw text of a page range | for part numbers |
The datasheet tools take either a part number (looked up on DigiKey) or a datasheet URL (no keys needed).
Install
You need uv. uvx downloads and runs the server, so there is nothing else to install.
Claude Code
claude mcp add digikey \
-e DIGIKEY_CLIENT_ID=your-client-id \
-e DIGIKEY_CLIENT_SECRET=your-client-secret \
-- uvx digikey-datasheet-mcpClaude Desktop, Cursor, VS Code, Windsurf...
Add this to the client's MCP config (claude_desktop_config.json, .cursor/mcp.json, ...):
{
"mcpServers": {
"digikey": {
"command": "uvx",
"args": ["digikey-datasheet-mcp"],
"env": {
"DIGIKEY_CLIENT_ID": "your-client-id",
"DIGIKEY_CLIENT_SECRET": "your-client-secret"
}
}
}
}Leave out env to start with only the LCSC and datasheet-URL tools.
"args": ["--from", "git+https://github.com/Sharkeeeeeee/digikey-datasheet-mcp", "digikey-datasheet-mcp"]Get DigiKey API keys (free, about 3 minutes)
Sign in at developer.digikey.com with a DigiKey account.
Organizations → create one (any name) → Production Apps → Create Production App.
Give it a name, any OAuth callback URL (e.g.
https://localhost), and tick ProductInformation V4.Open the app and copy the Client ID and Client Secret.
Check them:
DIGIKEY_CLIENT_ID=... DIGIKEY_CLIENT_SECRET=... uvx digikey-datasheet-mcp --check # OK: DigiKey production API reachable, 1234 results for NE555 (site US, USD).
DigiKey's default quota for a new app is around 1,000 requests per day, plenty for interactive use. This server uses the 2-legged (client credentials) flow, so there is no browser login.
Configuration
Variable | Default | Meaning |
| Your DigiKey app credentials | |
|
| DigiKey site, e.g. |
|
| Price currency, e.g. |
|
| Description language, e.g. |
|
| Your customer number, for account-specific pricing |
|
|
|
|
| Where extracted datasheet text is cached |
|
| Largest PDF to download |
|
| LCSC index; point at a self-hosted jlcsearch if you like |
How datasheet reading works
The PDF is downloaded once (following a landing page to its PDF link if needed) and its text is cached on disk, page by page.
Sections are located from the PDF's bookmarks when present. Otherwise the server looks for heading-like lines (
6.1 Absolute Maximum Ratings) and ignores the table of contents and in-sentence mentions ("see Absolute Maximum Ratings").datasheet_sectionreturns the section from its heading up to the next known section, across page breaks, with[page N]markers so answers can cite pages.
Limits worth knowing: scanned (image-only) PDFs have no text and are reported as such; tables come out as text rows, so the model reads columns from context; the pin table is a heuristic and is labelled pins_guess. Some manufacturer sites block automated downloads; then pass a direct PDF link.
Example prompts
"Cost this BOM for 50 boards and tell me what's out of stock:" followed by a pasted BOM
"Compare TPS7A2033PDBVR, AP2112K-3.3TRG1 and MCP1700T-3302E/TT for a battery-powered sensor."
"LM1117 is obsolete in my design. What are drop-in replacements in stock?"
"From the STM32F103C8 datasheet, list the 5 V tolerant pins."
"Find a JLCPCB basic part for a 10 kΩ 0402 resistor."
Development
git clone https://github.com/Sharkeeeeeee/digikey-datasheet-mcp
cd digikey-datasheet-mcp
uv sync
uv run pytest
uv run ruff check . && uv run ruff format --check .Try it in the MCP Inspector: npx @modelcontextprotocol/inspector uv run digikey-datasheet-mcp.
License
MIT. Not affiliated with or endorsed by DigiKey, LCSC or JLCPCB. Product data comes from their services and is subject to their terms.
Available Tools
11 toolscompare_partsBRead-onlyIdempotent
Side-by-side comparison of 2-6 parts. Returns a Markdown table of the parameters they share plus price and stock.
Inputs: part_numbers (required). Returns: object
datasheet_outlineARead-onlyIdempotent
Open a datasheet and list what is where: page count, PDF bookmarks, and the pages of key sections (pinout, absolute maximum ratings, electrical characteristics...).
Inputs: source (required). Returns: object
datasheet_pagesBRead-onlyIdempotent
Raw text of a page range (1-based, inclusive) from a datasheet.
Inputs: source (required), first_page (required), last_page, max_chars. Returns: object
datasheet_searchARead-onlyIdempotent
Find where a term appears in a datasheet. Returns page numbers with surrounding text.
Inputs: query (required), source (required), max_hits. Returns: object
datasheet_sectionARead-onlyIdempotent
Return the text of one datasheet section with page numbers. For 'pinout' it also returns a best-effort pin table.
Inputs: source (required), section (required), max_chars. Returns: object
find_alternativesARead-onlyIdempotent
DigiKey's substitutes for a part (direct, similar, upgrade...), with stock and price. Useful for out-of-stock or obsolete parts.
Inputs: part_number (required), limit. Returns: object
get_partARead-onlyIdempotent
Full DigiKey record for one part: every parameter, packaging options with price breaks, stock, lifecycle, RoHS, lead time, datasheet URL.
Inputs: part_number (required). Returns: object
get_priceARead-onlyIdempotent
Price a quantity of one part: picks the cheapest packaging (cut tape, tray, reel...) that covers the quantity and shows the next price break.
Inputs: part_number (required), quantity. Returns: object
price_bomARead-onlyIdempotent
Cost a bill of materials on DigiKey: best packaging per line, line totals, grand total, and warnings for missing, out-of-stock or obsolete parts.
Inputs: items (required), build_quantity. Returns: object
search_lcscARead-onlyIdempotent
Search LCSC / JLCPCB assembly parts (no API key needed). Shows LCSC code, stock, price and JLCPCB basic/preferred status.
Inputs: query (required), limit, package. Returns: object
search_partsBRead-onlyIdempotent
Search DigiKey by keyword or part number. Returns stock, unit price, status, datasheet URL and key parameters.
Inputs: query (required), rohs, sort, limit, +2 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Tools are mostly clearly separated by resource and action: supplier search, part lookup, pricing, alternatives, comparison, BOM costing, and datasheet navigation. Minor overlap exists between get_part and get_price since the full part record already includes packaging price breaks, and datasheet_section versus datasheet_pages could be mildly confused, but descriptions clarify intent.
Nearly all names are snake_case and readable, with a mostly verb_noun pattern such as search_parts, get_part, get_price, compare_parts, price_bom. The datasheet tools switch to a noun-prefixed pattern (datasheet_outline, datasheet_section, etc.), which is consistent within that group but a minor deviation from the overall verb-first convention.
Eleven tools is a well-scoped size for a component-sourcing and datasheet-reading server. Each tool covers a distinct workflow step from supplier search through BOM costing and datasheet navigation, with little apparent redundancy.
The surface covers the core lifecycle well: search and detail lookup, quantity pricing, alternatives, part comparison, BOM costing, LCSC lookup, and datasheet outline/section/search/pages. Minor gaps remain, such as a dedicated LCSC part-detail tool or cross-supplier part matching beyond DigiKey substitutes, but the primary research workflows are 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.
Turn datasheets into source-backed JSON contracts, pinout matrices, and KiCad CAD for AI agents.
Electronic component datasheets for AI agents: pinouts, specs, package info and design checks.
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.17152MIT
- FlicenseAqualityDmaintenanceEnables AI assistants to search JLCPCB's 450K+ electronic component catalog with real-time stock levels and pricing, supporting keyword search, filtering, and detailed component information.424 PyPI9-
- AlicenseNot gradedqualityCmaintenanceEnables searching and retrieving electronic component data from DigiKey, Mouser, Farnell, and jlcsearch/LCSC, including stock, pricing, parameters, URLs, and datasheets, with unified search across enabled suppliers.MIT
- AlicenseAqualityBmaintenanceConnects AI assistants to a ~960,000-product electronics catalog across 955 categories, enabling keyword and parametric-filter search, stock and price lookups, substitute finding, BOM cost checking, and datasheet download/reading. Runs locally and requires no API key, membership, or fee.1125 npm33MIT