Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DIGIKEY_SANDBOXNotrue to use a Sandbox app.false
LCSC_SEARCH_URLNoLCSC index; point at a self-hosted jlcsearch if you like.https://jlcsearch.tscircuit.com
DATASHEET_MAX_MBNoLargest PDF to download.50
DIGIKEY_CLIENT_IDNoYour DigiKey app Client ID. Add DigiKey keys when you want the DigiKey-backed tools; leave out env to start with only the LCSC and datasheet-URL tools.
DIGIKEY_CUSTOMER_IDNoYour customer number, for account-specific pricing.0
DIGIKEY_LOCALE_SITENoDigiKey site, e.g. TW, DE, UK, JP, CN.US
DIGIKEY_CLIENT_SECRETNoYour DigiKey app Client Secret. Add DigiKey keys when you want the DigiKey-backed tools; leave out env to start with only the LCSC and datasheet-URL tools.
DIGIKEY_MCP_CACHE_DIRNoWhere extracted datasheet text is cached.~/.cache/digikey-datasheet-mcp
DIGIKEY_LOCALE_CURRENCYNoPrice currency, e.g. TWD, EUR, GBP, JPY.USD
DIGIKEY_LOCALE_LANGUAGENoDescription language, e.g. zht, de, ja.en

Instructions

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

Electronic component research: DigiKey part search, pricing, stock, alternatives and BOM costing, LCSC/JLCPCB search, and reading datasheets.

Workflow tips:

  • To answer questions about a part's pins, ratings or specs, use datasheet_outline then datasheet_section (pinout, absolute_maximum_ratings, electrical_characteristics, ...) instead of guessing. Quote page numbers.

  • Datasheet tools accept a DigiKey/manufacturer part number or a datasheet URL.

  • Prices are in the configured currency, for the quantity asked, before tax and shipping.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
search_partsB

Search DigiKey by keyword or part number. Returns stock, unit price, status, datasheet URL and key parameters.

get_partA

Full DigiKey record for one part: every parameter, packaging options with price breaks, stock, lifecycle, RoHS, lead time, datasheet URL.

get_priceA

Price a quantity of one part: picks the cheapest packaging (cut tape, tray, reel...) that covers the quantity and shows the next price break.

find_alternativesA

DigiKey's substitutes for a part (direct, similar, upgrade...), with stock and price. Useful for out-of-stock or obsolete parts.

compare_partsB

Side-by-side comparison of 2-6 parts. Returns a Markdown table of the parameters they share plus price and stock.

price_bomA

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.

search_lcscA

Search LCSC / JLCPCB assembly parts (no API key needed). Shows LCSC code, stock, price and JLCPCB basic/preferred status.

datasheet_outlineA

Open a datasheet and list what is where: page count, PDF bookmarks, and the pages of key sections (pinout, absolute maximum ratings, electrical characteristics...).

datasheet_sectionA

Return the text of one datasheet section with page numbers. For 'pinout' it also returns a best-effort pin table.

datasheet_searchA

Find where a term appears in a datasheet. Returns page numbers with surrounding text.

datasheet_pagesB

Raw text of a page range (1-based, inclusive) from a datasheet.

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 11 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityMaintained
ResponsivenessNo recent community issues