octopart_multi_match
Pack: octopart · Endpoint: https://gateway.pipeworx.io/octopart/mcp
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” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
mpns | array | yes | List of manufacturer part numbers to match (exact-match), e.g. [“SY89832UMG”, “GRM188R71C104KA01D”] |
items | string | no | |
limit | number | no | Max parts to return per MPN (default 1) |
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
{
"mpns": [
"SY89832UMG",
"GRM188R71C104KA01D"
],
"limit": 1,
"_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_multi_match","arguments":{"mpns":["SY89832UMG","GRM188R71C104KA01D"],"limit":1,"_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_multi_match', {
"mpns": [
"SY89832UMG",
"GRM188R71C104KA01D"
],
"limit": 1,
"_apiKey": "your-octopart-client_id:your-octopart-client_secret"
});
More examples
{
"mpns": [
"LM317T",
"ATMEGA328P-PU",
"TL072CP"
],
"limit": 2,
"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.