Octopart

v0.2.1
io.github.pipeworx-io/octopart Checked 2 days ago Published 1 month ago

Octopart MCP — electronic component search via the Nexar Supply API (GraphQL)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

octopart_multi_match

Batch-match a list of manufacturer part numbers in one call — ideal for BOM (bill of materials) enrichment. Each query resolves to the best-matching part(s) with distributor offers. Example: octopart_multi_match({ mpns: ["SY89832UMG", "SY89874UMG"], limit: 1, _apiKey: "client_id:client_secret" })

ParameterTypeDescription
_apiKey *stringNexar OAuth2 credentials as "client_id:client_secret". Get one at https://portal.nexar.com
mpns *arrayList of manufacturer part numbers to match (exact-match), e.g. ["SY89832UMG", "GRM188R71C104KA01D"]
countrystringISO country code for pricing/availability context, e.g. "US" (optional)
currencystringISO currency code for converted prices, e.g. "USD" (optional)
limitnumberMax parts to return per MPN (default 1)

octopart_part

Get full detail for a single electronic part by exact MPN: every distributor seller with offers (price breaks, inventory level, MOQ, factory lead time), technical specs, availability, datasheet URL, and Octopart page. Example: octopart_part({ mpn: "LM317T", _apiKey: "client_id:client_secret" })

ParameterTypeDescription
_apiKey *stringNexar OAuth2 credentials as "client_id:client_secret". Get one at https://portal.nexar.com
mpn *stringExact manufacturer part number, e.g. "LM317T", "ATMEGA328P-PU"
countrystringISO country code for pricing/availability context, e.g. "US" (optional)
currencystringISO currency code for converted prices, e.g. "USD" (optional)