Octopart Search
octopart_searchSearch 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" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "STM32F407VGT6",
"limit": 5,
"_apiKey": "your-octopart-client_id:your-octopart-client_secret"
},
"name": "octopart_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Manufacturer part number or keyword, e.g. "STM32F407VGT6", "0.1uF 0603 capacitor" | |
| limit | No | Max number of parts to return (default 5, max 20) | |
| _apiKey | Yes | Nexar OAuth2 credentials as "client_id:client_secret". Get a free key ("Welcome 1K" plan) at https://portal.nexar.com | |
| country | No | ISO country code for pricing/availability context, e.g. "US" (optional) | |
| currency | No | ISO currency code for converted prices, e.g. "USD" (optional) |