Octopart
v0.2.1Octopart 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_search
Search Octopart for electronic components by manufacturer part number (MPN) or keyword. Returns matching parts with manufacturer, category, median price, total availability, and distributor offers (stock, price breaks, MOQ, lead time). Example: octopart_search({ q: "STM32F407", limit: 5, _apiKey: "client_id:client_secret" })
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Nexar OAuth2 credentials as "client_id:client_secret". Get a free key ("Welcome 1K" plan) at https://portal.nexar.com |
q * | string | Manufacturer part number or keyword, e.g. "STM32F407VGT6", "0.1uF 0603 capacitor" |
country | string | ISO country code for pricing/availability context, e.g. "US" (optional) |
currency | string | ISO currency code for converted prices, e.g. "USD" (optional) |
limit | number | Max number of parts to return (default 5, max 20) |
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" })
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Nexar OAuth2 credentials as "client_id:client_secret". Get one at https://portal.nexar.com |
mpns * | array | List of manufacturer part numbers to match (exact-match), e.g. ["SY89832UMG", "GRM188R71C104KA01D"] |
country | string | ISO country code for pricing/availability context, e.g. "US" (optional) |
currency | string | ISO currency code for converted prices, e.g. "USD" (optional) |
limit | number | Max 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" })
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Nexar OAuth2 credentials as "client_id:client_secret". Get one at https://portal.nexar.com |
mpn * | string | Exact manufacturer part number, e.g. "LM317T", "ATMEGA328P-PU" |
country | string | ISO country code for pricing/availability context, e.g. "US" (optional) |
currency | string | ISO currency code for converted prices, e.g. "USD" (optional) |