octopart_search

Pack: octopart · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/octopart_search for the schema, then POST the same URL with its arguments for the data.

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” })

Parameters

NameTypeRequiredDescription
qstringyesManufacturer part number or keyword, e.g. “STM32F407VGT6”, “0.1uF 0603 capacitor”
limitnumbernoMax number of parts to return (default 5, max 20)
countrystringnoISO country code for pricing/availability context, e.g. “US” (optional)
currencystringnoISO currency code for converted prices, e.g. “USD” (optional)
_apiKeystringyesNexar OAuth2 credentials as “client_id:client_secret”. Get a free key (“Welcome 1K” plan) at https://portal.nexar.com

Example call

Arguments

{
  "q": "STM32F407VGT6",
  "limit": 5,
  "_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_search","arguments":{"q":"STM32F407VGT6","limit":5,"_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_search', {
  "q": "STM32F407VGT6",
  "limit": 5,
  "_apiKey": "your-octopart-client_id:your-octopart-client_secret"
});

More examples

{
  "q": "0.1uF 0603 capacitor",
  "limit": 10,
  "country": "US",
  "currency": "USD",
  "_apiKey": "your-octopart-client_id:your-octopart-client_secret"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the octopart pack
{
  "mcpServers": {
    "octopart": {
      "url": "https://gateway.pipeworx.io/octopart/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 8, 2026