octopart_part
Pack: octopart · Endpoint: https://gateway.pipeworx.io/octopart/mcp
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” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
mpn | string | yes | Exact manufacturer part number, e.g. “LM317T”, “ATMEGA328P-PU” |
country | string | no | ISO country code for pricing/availability context, e.g. “US” (optional) |
currency | string | no | ISO currency code for converted prices, e.g. “USD” (optional) |
_apiKey | string | yes | Nexar OAuth2 credentials as “client_id:client_secret”. Get one at https://portal.nexar.com |
Example call
Arguments
{
"mpn": "LM317T",
"_apiKey": "your-octopart-client_id:your-octopart-client_secret"
}
curl
curl -X POST https://gateway.pipeworx.io/octopart/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"octopart_part","arguments":{"mpn":"LM317T","_apiKey":"your-octopart-client_id:your-octopart-client_secret"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('octopart_part', {
"mpn": "LM317T",
"_apiKey": "your-octopart-client_id:your-octopart-client_secret"
});
More examples
{
"mpn": "ATMEGA328P-PU",
"country": "US",
"currency": "USD",
"_apiKey": "your-octopart-client_id:your-octopart-client_secret"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"octopart": {
"url": "https://gateway.pipeworx.io/octopart/mcp"
}
}
}
See Getting Started for client-specific install steps.