Parts Finder MCP
Allows searching for engineering parts from the AliExpress marketplace (planned integration).
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Parts Finder MCPFind a 2.54mm pitch 20-pin shrouded header"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Parts Finder MCP
Read-only MCP server for finding, comparing, and shortlisting engineering parts from distributor and marketplace APIs.
Parts Finder is designed for Codex, Claude, and other MCP-capable agents that help engineers identify embedded parts, connectors, cables, motors, sensors, PLC components, and related hardware from rough text or image-derived clues.
The project is MIT licensed. Supplier data remains subject to each provider's API terms.
Status
Implemented:
Mouser Search API keyword search
DigiKey ProductInformation V4 keyword search
Image-observation normalization through
extract_visual_part_hintsLocal rate-limit metadata and guardrails
Codex plugin wrapper and skill
Smoke tests for Mouser, DigiKey, and MCP stdio execution
Planned:
AliExpress marketplace adapter
richer part-number lookup
alternate-part scoring
BOM enrichment
supplier-specific datasheet and lifecycle enrichment
Related MCP server: @raygister/mcp
Process Flow
flowchart TD
A["Engineer asks for a part or uploads a part photo"] --> B["Codex/Claude extracts visual and text observations"]
B --> C["MCP tool: extract_visual_part_hints"]
C --> D["Normalize hints: markings, pin count, pitch, color, keying, board context"]
D --> E["MCP tool: search_parts"]
E --> F["Supplier adapters"]
F --> G["Mouser Search API"]
F --> H["DigiKey ProductInformation V4"]
F --> I["AliExpress Open Platform, planned"]
G --> J["Normalize candidates"]
H --> J
I --> J
J --> K["Rank by fit, stock, price, lifecycle, confidence"]
K --> L["Agent explains likely matches and verification steps"]Image-Based Search Flow
This MCP server does not process raw images directly. The agent should inspect the image first, then pass structured observations into the MCP tool.
Good visual observations include:
visible text, logos, top markings, labels, and terminal legends
connector pin count, row count, pitch, color, shroud, key slot, latch, and wire count
IC package shape, pin count, board position, nearby crystal/regulator/driver/interface parts
motor diameter, length, shaft type, gearhead, encoder, cable count, and connector type
cable jacket markings, connector gender, locking style, and estimated length
scale clues such as USB ports, 2.54 mm headers, terminal blocks, screws, rulers, or known boards
Example:
{
"userGoal": "identify black shrouded connector on STM32 development board photo",
"visibleText": ["3V3", "GND", "RST", "A0", "Mini USB"],
"packageShape": "black shrouded dual-row box header with key slot",
"connectorPinCount": 20,
"connectorPitchMm": 2.54,
"boardContext": [
"STM32 style development board",
"JTAG or SWD debug/programming connector",
"2x10 IDC ribbon cable header"
]
}The resulting search should be verified against dimensions, datasheets, pinout, and mating connector before purchasing.
Tools
search_parts: search configured suppliers for engineering part candidates.extract_visual_part_hints: turn image-recognition observations into searchable part hints.lookup_part: look up a known manufacturer or supplier part number.compare_parts: compare known candidates.suggest_alternates: suggest alternate parts with caveats.enrich_bom: enrich BOM-like rows.
Version 0.1 is read-only. It must not place orders, create carts, call dropshipping/order APIs, or mutate supplier accounts.
Requirements
Node.js 20 or newer
npm
API credentials for any supplier you want to enable
Install
npm install
npm run buildRun Locally
npm run devFor built stdio execution:
npm run build
npm startWithout API keys, the MCP server still starts and reports skipped-supplier status. This lets Codex, Claude, or MCP Inspector validate tool wiring before credentials exist.
Environment Setup
Copy .env.example to .env.
cp .env.example .envOn Windows PowerShell:
Copy-Item .env.example .envNever commit .env. Keep all supplier secrets local.
Common Settings
PARTS_FINDER_LOG_LEVEL=info
PARTS_FINDER_CACHE_DIR=.cache/parts-finder
PARTS_FINDER_CACHE_TTL_SECONDS=300
PARTS_FINDER_DEFAULT_COUNTRY=US
PARTS_FINDER_DEFAULT_LANGUAGE=en
PARTS_FINDER_DEFAULT_CURRENCY=USDMouser
Required:
MOUSER_SEARCH_API_KEY=
MOUSER_API_BASE_URL=https://api.mouser.comOptional local guardrails:
MOUSER_RATE_LIMIT_PER_MINUTE=30
MOUSER_RATE_LIMIT_PER_DAY=1000Get a Mouser Search API key from the Mouser API Hub. The current adapter uses keyword search and normalizes returned candidates into the MCP part schema.
DigiKey
Required:
DIGIKEY_CLIENT_ID=
DIGIKEY_CLIENT_SECRET=
DIGIKEY_LOCALE_SITE=US
DIGIKEY_LOCALE_LANGUAGE=en
DIGIKEY_LOCALE_CURRENCY=USD
DIGIKEY_CUSTOMER_ID=0Production:
DIGIKEY_SANDBOX=false
DIGIKEY_API_BASE_URL=https://api.digikey.com
DIGIKEY_TOKEN_URL=https://api.digikey.com/v1/oauth2/tokenSandbox:
DIGIKEY_SANDBOX=true
DIGIKEY_SANDBOX_API_BASE_URL=https://sandbox-api.digikey.com
DIGIKEY_TOKEN_URL=https://sandbox-api.digikey.com/v1/oauth2/tokenImportant DigiKey notes:
ProductInformation V4 uses OAuth 2.0 client credentials for this MCP use case.
The app must be authorized for ProductInformation V4 in the same environment as the token endpoint.
Production credentials work with
api.digikey.com; sandbox credentials work withsandbox-api.digikey.com.If the token endpoint returns
401 Invalid clientId, the Client ID is invalid for that endpoint/environment.If OAuth succeeds but product search returns
403, the app is likely not authorized or subscribed to the requested ProductInformation API.The DigiKey portal may ask for an OAuth callback URL. For this client-credentials flow it is not used at runtime;
https://localhostis acceptable as a placeholder if the field is required.
Optional local guardrails:
DIGIKEY_PRODUCT_INFORMATION_RATE_LIMIT_PER_MINUTE=120
DIGIKEY_PRODUCT_INFORMATION_RATE_LIMIT_PER_DAY=1000AliExpress
AliExpress support is planned. The config is reserved so the adapter can be added without changing deployment shape.
ALIEXPRESS_APP_KEY=
ALIEXPRESS_APP_SECRET=
ALIEXPRESS_ACCESS_TOKEN=
ALIEXPRESS_REFRESH_TOKEN=
ALIEXPRESS_API_BASE_URL=https://api-sg.aliexpress.com
ALIEXPRESS_OAUTH_AUTHORIZE_URL=https://api-sg.aliexpress.com/oauth/authorize
ALIEXPRESS_TOKEN_CREATE_PATH=/auth/token/security/create
ALIEXPRESS_TOKEN_REFRESH_PATH=/auth/token/refresh
ALIEXPRESS_COUNTRY=US
ALIEXPRESS_CURRENCY=USD
ALIEXPRESS_LANGUAGE=en_US
ALIEXPRESS_RATE_LIMIT_PER_SECOND=
ALIEXPRESS_RATE_LIMIT_PER_DAY=AliExpress rate limits vary by app key, API, and app-key/API combination. Copy the approved quotas from the Open Platform console after the app is reviewed.
MCP Configuration
After npm run build, add this server to an MCP-capable client.
{
"mcpServers": {
"parts-finder": {
"command": "node",
"args": ["C:/absolute/path/to/parts-finder-mcp/dist/index.js"]
}
}
}If the client does not load .env from the project directory, pass environment variables explicitly in the MCP config or launch the client from the project root.
Codex Plugin
The Codex plugin wrapper lives at:
plugins/codex/parts-finderIt contains:
.codex-plugin/plugin.json.mcp.jsonskills/parts-sourcing/SKILL.md
Validate it with:
python C:/Users/googo/.codex/skills/.system/plugin-creator/scripts/validate_plugin.py plugins/codex/parts-finderThe plugin .mcp.json points to the built MCP server:
{
"mcpServers": {
"parts-finder": {
"command": "node",
"args": ["../../../dist/index.js"],
"env": {
"PARTS_FINDER_LOG_LEVEL": "info"
}
}
}
}Smoke Tests
Build first:
npm run buildRun supplier smoke tests:
npm run smoke:mouser
npm run smoke:digikeyRun MCP stdio smoke tests:
npm run smoke:mcp
npm run smoke:mcp-digikeyDigiKey production override example:
$env:DIGIKEY_SANDBOX='false'
$env:DIGIKEY_TOKEN_URL='https://api.digikey.com/v1/oauth2/token'
npm run smoke:mcp-digikeyExpected successful DigiKey MCP smoke output for a connector query looks like:
Raw count: 1196
Candidates: 2Rate Limits
The server stores supplier rate-limit metadata so adapters can throttle before calling APIs:
Mouser default:
30/min,1000/day; verify against current account/API behavior.DigiKey ProductInformation standard quota:
120/min,1000/day; honorX-RateLimit-*,X-BurstLimit-*, andRetry-Afterheaders.AliExpress: app-key/API/API+app-key quotas vary and should be copied from the Open Platform console after approval.
Candidate Verification Checklist
Before recommending a final part, the agent should verify:
exact manufacturer part number
supplier part number
pin count, pitch, rows, gender, keying, latch, and mounting style
voltage, current, temperature, and environmental ratings
stock quantity and lead time
lifecycle status and replacement notice
datasheet or official product-page match
mating connector and crimp terminal compatibility
Image-derived matches should be treated as low confidence until measurements or exact markings confirm them.
Development
npm run build
npm test
npm auditLicense
MIT.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/googoles/electronic-parts-finder-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server