Source Parts MCP Server
OfficialThe Source Parts MCP Server enables AI assistants to search, source, and manage electronic components with multi-EDA integration and manufacturing workflow support.
Component Search & Sourcing
Search for parts by query, keywords, or parametric filters (resistance, tolerance, package, etc.)
Get detailed part info, compare prices across suppliers, and check real-time availability
Find alternative/replacement parts for obsolete or unavailable components
Estimate costs for a list of parts quickly
BOM Management
Upload and process BOM files (CSV, XLSX, JSON, XML) from KiCad, Altium, Fusion 360, Eagle, PADS, and Protel 99
Check BOM processing status, match components to real-world parts with AI-powered algorithms
Calculate total BOM cost and get combined fabrication + assembly quotes
KiCad Integration
Find, analyze, and extract BOMs/netlists from local KiCad projects
Match KiCad components to real-world parts, highlight net traces, and export in KiCad-compatible formats
Open projects directly in the KiCad application
PCB Manufacturing
Get fabrication quotes by project reference or Gerber file upload
Submit and track DFM (Design for Manufacturability) analyses
Check manufacturing job status for fab, DFM, AOI, and QC jobs
PCB & Component Identification
Identify PCBs or components from photos using barcode/QR detection and OCR text extraction
Datasheet Analysis
Read, chunk, and list sections from datasheet PDFs with keyword filtering
Project & CLI Management
Get project context from local config files enriched with API data
Access Source Parts CLI documentation
Licensed under Apache License 2.0 for open source distribution.
Supports environment variable configuration through .env files for API keys and settings.
Source code version control and development workflow management.
Project hosting, issue tracking, and contribution management through GitHub repository.
Provides platform-specific configuration instructions for macOS users.
Built using Node.js runtime environment for server implementation and execution.
Distributed as an npm package for easy installation and dependency management.
Implemented in TypeScript for type-safe development of the MCP server.
Uses Zod for runtime validation of API requests and responses.
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., "@Source Parts MCP Serversearch for 10k ohm resistors with 1% tolerance"
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 MCP
A Model Context Protocol (MCP) server for sourcing electronic parts with multi-EDA integration.
Overview
Parts MCP enables AI assistants to search for electronic components, compare prices, check availability, and process BOMs from popular EDA tools. It provides a unified interface for component sourcing workflows powered by the Source Parts API.
Supported EDA Tools
Tool | BOM Format | Status |
KiCad | CSV, XML | Full support + CLI integration |
Altium Designer | CSV, XLS | Full support |
Autodesk Fusion 360 | CSV | Full support |
Eagle | CSV, BRD | Full support |
PADS | CSV, ASC | Full support |
Protel 99 | CSV | Full support |
Features
Universal Parts Search: Search millions of parts via Source Parts API
Multi-EDA BOM Processing: Import BOMs from KiCad, Altium, Fusion360, Eagle, PADS, Protel99
Component Matching: AI-powered matching with confidence scoring
Price Comparison: Compare prices across distributors
Availability Check: Real-time inventory levels
Alternative Parts: Find drop-in replacements and functional equivalents
KiCad CLI Integration: Generate BOMs directly from schematics
Local Caching: Fast responses with intelligent caching
Installation
Quick Start (Recommended)
uvx parts-mcpNo install needed -- uvx runs it directly from PyPI in an isolated environment.
With pip
pip install parts-mcpFrom Source
git clone https://github.com/SourceParts/parts-mcp.git
cd parts-mcp
pip install -e .Requirements
Python 3.10+
Source Parts API key (get one here)
Configuration
Create a .env file or set environment variables:
# Required
SOURCE_PARTS_API_KEY=your_api_key_here
# Optional
SOURCE_PARTS_API_URL=https://api.source.parts/v1
KICAD_SEARCH_PATHS=/path/to/kicad/projects
PARTS_CACHE_DIR=~/.cache/parts-mcp
CACHE_EXPIRY_HOURS=24Claude Desktop Integration
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"parts": {
"command": "uvx",
"args": ["parts-mcp"],
"env": {
"SOURCE_PARTS_API_KEY": "your_api_key_here"
}
}
}
}If installed from source:
{
"mcpServers": {
"parts": {
"command": "/path/to/python",
"args": ["/path/to/parts-mcp/main.py"],
"env": {
"SOURCE_PARTS_API_KEY": "your_api_key_here"
}
}
}
}After adding the configuration, restart Claude Desktop.
Claude.ai Integration (Remote)
Connect directly from claude.ai without any local installation:
Open claude.ai in your browser
Go to Settings > Connectors
Click Add custom connector
Enter the URL:
https://mcp.source.parts/Complete the OAuth sign-in when prompted
Start using Parts tools in any conversation
No API key needed -- authentication is handled via OAuth.
Claude Code Integration
Add to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"parts": {
"command": "uvx",
"args": ["parts-mcp"],
"env": {
"SOURCE_PARTS_API_KEY": "your_api_key_here"
}
}
}
}Or run directly:
claude --mcp-server "python -m parts_mcp"Usage Examples
Search for Parts
"Find a 10k resistor in 0603 package"
Process a BOM
"Upload my Altium BOM and find the best prices for 100 units"
KiCad Integration
"Extract the BOM from my amplifier.kicad_sch and source all components"
Find Alternatives
"Find alternatives for the obsolete LM358"
Check Availability
"Check stock levels for STM32F103C8T6"
Available Tools
Tool | Description |
| Search for components by query |
| Get detailed part information |
| Get pricing across distributors |
| Check real-time inventory |
| Find replacement parts |
| Process BOM file from any supported EDA |
| Match BOM components to parts |
| Discover local KiCad projects |
| Generate BOM from KiCad schematic |
Architecture
Parts MCP follows a thin client architecture:
Local (MCP):
KiCad CLI operations
Project discovery
Response caching
BOM file parsing
Server (Source Parts API):
Component matching
Price aggregation
Inventory checking
Alternative search
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run with debug logging
DEBUG=1 python main.pyProject Structure
parts_mcp/
├── server.py # MCP server entry
├── config.py # Configuration
├── tools/ # MCP tools
├── resources/ # MCP resources
├── prompts/ # Prompt templates
└── utils/
├── api_client.py # Source Parts API client
├── bom_parser.py # Multi-EDA BOM parsing
├── component_matcher.py # Component matching
├── cache.py # Response caching
└── kicad_utils.py # KiCad CLI integrationMarketplace Listings
MCP Registry - Official MCP server registry
Smithery - One-click install marketplace
Hosted Server - Remote MCP for claude.ai connectors
Links
Source Parts - Component search platform
Source Parts API Docs - API documentation
MCP Specification - Model Context Protocol
License
MIT License with Trademark Protection - see LICENSE.md
"Source Parts" is a trademark. See license for usage restrictions.
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/SourceParts/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server