Skip to main content
Glama
Source Parts MCP Server

Source Parts MCP Server

Official
by SourceParts

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.

Related MCP server: Nexar MCP Server

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

uvx parts-mcp

No install needed -- uvx runs it directly from PyPI in an isolated environment.

With pip

pip install parts-mcp

From Source

git clone https://github.com/SourceParts/parts-mcp.git
cd parts-mcp
pip install -e .

Requirements

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=24

Claude 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:

  1. Open claude.ai in your browser

  2. Go to Settings > Connectors

  3. Click Add custom connector

  4. Enter the URL: https://mcp.source.parts/

  5. Complete the OAuth sign-in when prompted

  6. 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_parts

Search for components by query

get_part_details

Get detailed part information

get_part_pricing

Get pricing across distributors

check_availability

Check real-time inventory

find_alternatives

Find replacement parts

process_bom

Process BOM file from any supported EDA

match_components

Match BOM components to parts

find_kicad_projects

Discover local KiCad projects

generate_kicad_bom

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.py

Project 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 integration

Marketplace Listings

License

MIT License with Trademark Protection - see LICENSE.md

"Source Parts" is a trademark. See license for usage restrictions.

Available Tools

111 tools
add_doc_safelistAInspect

Add a MIME type to the document upload safelist.

Once added, files whose Magika-detected type matches this MIME type will be accepted for upload. Requires admin role.

Inputs: mime_type (required), label (required), description. Returns: object

admin_list_usersAInspect

List all users. Owner-only.

Inputs: role. Returns: object

admin_set_user_roleAInspect

Set a user's role level. Owner-only.

Inputs: user_id (required), role (required). Returns: object

analyze_kicad_projectCInspect

Analyze a KiCad project to extract detailed information.

Inputs: project_path (required). Returns: object

assembly_aoi_inspectAInspect

Station 4: Automated optical inspection.

Uploads board photos and optional golden reference image. Server compares placement quality and flags defects.

IMPORTANT: Review the defect report and manually verify flagged items.

Inputs: board_photos (required), reference_image. Returns: object

assembly_feeder_setupAInspect

Station 2: Generate optimal feeder slot assignment.

Uploads BOM and position CSV. Server groups components and assigns feeder slots to minimize changeover time.

IMPORTANT: Review the feeder map before loading the machine.

Inputs: bom_path (required), position_path (required), machine. Returns: object

assembly_functional_testAInspect

Station 5: Validate functional test results against pass/fail criteria.

Uploads test results CSV and criteria JSON. Server validates each unit against specs and calculates yield.

IMPORTANT: Review yield and outliers before lot disposition.

Inputs: results_path (required), criteria. Returns: object

assembly_readiness_checkAInspect

Station 1: Pre-assembly readiness checklist.

Uploads BOM, gerber ZIP, and position CSV to the API. Server checks: all parts parseable? stencil layer present? positions match BOM?

IMPORTANT: Review the checklist before proceeding to feeder setup.

Inputs: bom_path (required), gerber_path (required), position_path (required). Returns: object

assembly_reflow_profileAInspect

Station 3: Analyze BOM thermal specs and recommend reflow profile.

Uploads BOM CSV. Server analyzes MSL levels, peak reflow temps, and soak times across all components.

IMPORTANT: Review thermal constraints and MSL warnings before reflowing.

Inputs: bom_path (required). Returns: object

calculate_bom_costCInspect

Calculate total cost for a bill of materials.

Inputs: bom (required), quantity, preferred_suppliers. Returns: object

check_availabilityCInspect

Check availability for multiple parts.

Inputs: part_numbers (required), quantities. Returns: object

check_bom_statusAInspect

Check BOM processing status and report unknown/unmatched parts.

When processing is complete, automatically fetches the full BOM and separates parts into matched and unmatched lists. Unknown parts are highlighted so you can see which components need attention.

Inputs: job_id (required). Returns: object

check_dfm_statusCInspect

Check the status of a DFM analysis job.

Inputs: job_id (required). Returns: object

check_identification_statusAInspect

Check the status of a PCB/component identification job.

Inputs: job_id (required). Returns: object

check_manufacturing_statusAInspect

Check the status of any manufacturing job (fab, DFM, AOI, QC).

Inputs: job_id (required). Returns: object

check_render_statusAInspect

Check the status of a Blender render job.

Returns the CDN URL when the render is complete, or the error message if it failed.

Inputs: job_id (required). Returns: object

compare_pricesAInspect

Compare prices for a part across multiple suppliers.

Inputs: part_number (required), quantity, suppliers. Returns: object

convert_allegroAInspect

Convert a Cadence Allegro PCB board file to KiCad format.

Imports a Cadence Allegro .brd binary file (versions 16-23) and converts it to a KiCad .kicad_pcb file. Uses KiCad 10's built-in Allegro importer — no Cadence software required.

Board files only. Schematics are not supported. The .brd extension is also used by Eagle; KiCad auto-detects the format via magic bytes.

Output is a ZIP archive containing the .kicad_pcb file and any extracted footprint libraries.

Inputs: file_path (required), output_path. Returns: object

convert_gedaAInspect

Convert a gEDA PCB board file to KiCad format.

Imports a gEDA .pcb board file using KiCad's pcbnew bindings. Board files only — schematic import is not available programmatically.

Output is a ZIP archive containing the .kicad_pcb file.

Inputs: file_path (required), output_path. Returns: object

convert_kicad_versionAInspect

Convert a KiCad file to an older version.

Downconverts .kicad_pcb, .kicad_sch, or project ZIP archives from KiCad 10 to version 7, 8, or 9 for fab shop compatibility.

Rounded rectangles (gr_roundrect / fp_roundrect) introduced in KiCad 10 are converted to right-angle rectangles. Hatched copper fills are removed. The file version header is updated to match the target version.

Inputs: file_path (required), target_version (required), output_path. Returns: object

convert_padsAInspect

Convert a PADS ASCII layout file to KiCad format.

Imports a PADS ASCII .asc layout file using kicad-cli pcb import --format pads. Board files only — schematics are not supported.

Output is a ZIP archive containing the .kicad_pcb file.

Inputs: file_path (required), output_path. Returns: object

convert_protelAInspect

Convert a Protel99SE project file to KiCad format.

Converts Protel99SE schematic and PCB files to KiCad 7 format. Accepts individual files (.sch, .pcb, .lib) or a zip archive containing multiple Protel files.

The output ZIP includes the converted KiCad files and a conversion_report.txt describing any warnings or unsupported features (e.g. ASCII schematic format, unsupported .pcblib files).

.ddb archives require mdbtools on the server. If mdbtools is not installed, the API returns a 503 error rather than silently producing no output.

Inputs: file_path (required), output_path. Returns: object

design_impedance_calculateAInspect

Calculate controlled impedance for a PCB trace.

Computes characteristic impedance using standard formulas for microstrip, stripline, or differential pair configurations.

Inputs: stackup (required), trace_width (required), trace_type, trace_spacing, +1 more. Returns: object

design_schematic_reviewAInspect

Review a KiCad schematic for common design issues.

Uploads a .kicad_sch file and checks for: unconnected pins, missing decoupling capacitors (ICs without bypass caps within proximity), power domain analysis (voltage rails, current budget), and net naming conventions.

IMPORTANT: Review all findings before proceeding with layout.

Inputs: project_path (required). Returns: object

design_thermal_analysisAInspect

Estimate thermal dissipation from BOM and identify hot spots.

Uploads a BOM file and estimates power dissipation per IC from typical values, identifies components exceeding thermal limits, and recommends thermal vias or heatsinking.

IMPORTANT: Review thermal risks and recommendations before layout.

Inputs: bom_path (required), ambient_temp_c. Returns: object

dfm_add_findingsAInspect

Add review findings to a DFM request (admin-only).

Each finding should include category, severity, description, recommendation, and affected_area. The API validates all fields and stores them in the dfm_review_findings table.

IMPORTANT: Review all findings before generating the customer report.

Inputs: request_id (required), findings (required). Returns: object

dfm_check_statusAInspect

Check the current status of a DFM review request.

Polls the API for the latest status, progress percentage, findings count, and estimated completion date.

Inputs: request_id (required). Returns: object

dfm_deliver_reportAInspect

Re-send or deliver the DFM report to a specific email (admin-only).

Sends the previously generated PDF report to the specified email, or re-sends to the original customer if no email override is given.

Inputs: request_id (required), email, message. Returns: object

dfm_estimateAInspect

Analyze design file complexity and get DFM review pricing.

Uploads a design file (Gerber ZIP, .kicad_pcb, or CAD file) to the Source Parts API, which analyzes layer count, component density, HDI features, and blind/buried vias to produce a complexity score and pricing estimate.

Inputs: design_path (required), tier. Returns: object

dfm_generate_reportAInspect

Generate a PDF report and email it to the customer (admin-only).

Triggers the existing PDF generation service, uploads the report to storage, and sends it via Resend to the customer on file.

IMPORTANT: Ensure all findings have been added before generating.

Inputs: request_id (required). Returns: object

dfm_submitAInspect

Submit a DFM review request with design files and customer info.

Uploads the design file, creates a review request in the database, and triggers a Stripe payment intent. Returns a payment URL if payment is required.

Inputs: design_path (required), tier (required), customer_name (required), customer_email (required), +2 more. Returns: object

ecn_createAInspect

Create a new Engineering Change Notice (ECN).

The API clones the repo, creates the ECN file in ECO/, commits, and optionally pushes to a branch or creates a PR. For local projects, use: parts project ecn create --id ECN-021 ...

Inputs: project_id (required), ecn_id (required), title (required), ecn_type (required), +9 more. Returns: object

ecn_getAInspect

Get the full content of a specific ECN by ID.

Returns both structured metadata and the full markdown body. For local projects, use: parts project ecn get <ECN-ID>

Inputs: project_id (required), ecn_id (required). Returns: object

ecn_listAInspect

List all Engineering Change Notices (ECNs) in a project.

The API clones the project repo and reads ECO/ECN-*.md files. For local projects, use the parts CLI: parts project ecn list

Inputs: project_id (required), severity, status, ecn_type. Returns: object

ecn_updateAInspect

Update metadata or body of an existing ECN.

The API clones the repo, modifies the ECN file, commits, and optionally creates a PR. Only the fields you provide will be changed. For local projects, use: parts project ecn update ECN-006 --status CLOSED

Inputs: project_id (required), ecn_id (required), status, severity, +8 more. Returns: object

ecn_validateAInspect

Validate all ECN files for correct frontmatter schema.

The API clones the repo and checks all ECO/ECN-*.md files for required fields, valid enum values, and filename/ID consistency. For local projects, use: parts project ecn validate

Inputs: project_id (required). Returns: object

eco_approveAInspect

Approve an ECO and optionally batch-approve its ECNs.

Sets the ECO status to AUTHORIZED. If approved_ecn_ids is provided, those ECNs are also moved to APPROVED status. If omitted, all ECNs under the ECO are approved.

Inputs: project_id (required), eco_id (required), approved_ecn_ids, note, +2 more. Returns: object

eco_build_statusAInspect

Check build readiness — are all ECOs/ECNs resolved?

Returns a summary of every ECO and its ECNs, with counts of how many are blocking the build. The build is ready only when every ECN across all ECOs has reached CLOSED or IMPLEMENTED status.

This powers the locked/unlocked state of the Build button on source.parts/build.

Inputs: project_id (required). Returns: object

eco_createAInspect

Create a new Engineering Change Order (ECO) that bundles ECNs.

The API clones the repo, creates the ECO file in ECO/, commits, and optionally creates a PR.

Inputs: project_id (required), eco_id (required), title (required), revision (required), +5 more. Returns: object

eco_feedbackAInspect

Station 6: Generate ECN suggestions based on failure patterns.

Uses failure analysis data to suggest engineering change notices (e.g., paste aperture changes, AVL updates, design modifications).

IMPORTANT: Review ECN suggestions before creating formal ECNs.

Inputs: failure_analysis_id, top_failures, lot_correlation. Returns: object

eco_getAInspect

Get full details of a specific ECO including all its ECNs.

Returns the ECO metadata, full markdown body, and the complete list of bundled ECNs with their current statuses.

Inputs: project_id (required), eco_id (required). Returns: object

eco_listBInspect

List all Engineering Change Orders (ECOs) in a project.

Returns each ECO with its bundled ECN IDs, status, and a summary of how many ECNs are resolved vs blocking.

Inputs: project_id (required), status. Returns: object

eco_updateAInspect

Update an existing ECO's metadata or status.

Only the fields you provide will be changed. Use this to authorize an ECO, update its ECN list, or change its status.

Inputs: project_id (required), eco_id (required), status, title, +5 more. Returns: object

edit_schematic_placeAInspect

Place a symbol instance in a KiCad schematic.

Uploads the schematic to the API for server-side modification. Returns the unified diff of changes for review.

Inputs: file_path (required), symbol (required), reference (required), x (required), +2 more. Returns: object

edit_schematic_removeBInspect

Remove a component from a schematic by reference designator.

Inputs: file_path (required), reference (required). Returns: object

edit_schematic_valueCInspect

Update a component property value in a schematic.

Inputs: file_path (required), reference (required), property_name (required), new_value (required). Returns: object

edit_schematic_wireBInspect

Add a wire segment between two points in a schematic.

Inputs: file_path (required), start_x (required), start_y (required), end_x (required), +1 more. Returns: object

estimate_costAInspect

Get a quick cost estimate for a list of parts.

Each part should have at minimum a part_number and quantity field.

Inputs: parts (required), currency. Returns: object

export_parts_to_kicadBInspect

Export parts data in KiCad-compatible format.

Inputs: parts (required), output_path (required), format. Returns: object

extract_bom_from_kicadBInspect

Extract bill of materials from a KiCad project.

Inputs: project_path (required). Returns: object

extract_netlist_from_projectBInspect

Extract netlist information from a KiCad project.

Inputs: project_path (required). Returns: object

failure_analysisAInspect

Station 5: Run Pareto analysis on failure data with lot correlation.

Uploads failure data CSV and identifies top failure modes, correlates with production lots, and provides actionable recommendations.

IMPORTANT: Review Pareto chart and lot correlation before taking action.

Inputs: failure_data_path (required). Returns: object

find_alternativesCInspect

Find alternative parts with similar specifications.

Inputs: part_number (required), parameters. Returns: object

find_kicad_projectsAInspect

Find KiCad projects in configured search paths.

Returns: List of found KiCad projects

Inputs: no named parameters. Returns: object

get_cli_documentationAInspect

Get documentation for the Source Parts CLI tool.

Returns usage guides, command reference, and examples for the parts CLI. The content returned is automatically tailored to your account.

Inputs: section. Returns: object

get_identified_itemBInspect

Get details for an identified PCB/component by short code.

Inputs: short_code (required). Returns: object

get_part_detailsBInspect

Get detailed information about a specific part.

Inputs: part_number (required), manufacturer. Returns: object

get_preferencesAInspect

Get user preferences, optionally for a specific device.

Preferences are merged: global user defaults are overridden by device-specific values when a device_id is provided.

Inputs: device_id. Returns: object

get_project_contextAInspect

Get project context from .parts/config.yaml and the Source Parts API.

Reads the local .parts/config.yaml for project metadata, BOM locations, fabrication settings, and DFM rules. Optionally enriches with API data (BOMs, activity) if the project is linked to Source Parts.

Inputs: project_path, include_api_context, include_file_listing. Returns: object

highlight_net_tracesAInspect

Highlight specific net traces on a PCB and generate PDF(s).

Renders highlighted net traces as vector PDFs. Supports two output modes:

  • overlay: Full board with all traces in gray, highlighted nets in color

  • traces_only: Just the highlighted nets + board outline

Inputs: project_path (required), net_names (required), colors, mode, +1 more. Returns: object

identify_pcbCInspect

Identify a PCB or component from a photo.

Uploads an image for barcode/QR code detection, OCR text extraction, and component identification.

Inputs: file_path (required), project_id, box_id. Returns: object

kicad_ctrl_analyzeAInspect

Station 1: Analyze a PCB for affected nets.

Uploads the .kicad_pcb to the API, which parses all nets and returns an inventory of tracks/vias per net, plus a highlight overlay PDF.

IMPORTANT: Review the results before proceeding. Ask the operator to approve before calling kicad_ctrl_propose_ripup.

Inputs: project_path (required), ecn_id, net_names. Returns: object

kicad_ctrl_ercAInspect

Station 0a: Run Electrical Rules Check on the schematic.

Uploads the .kicad_sch to the API, which runs kicad-cli sch erc and returns a violation report + schematic PDF for review.

IMPORTANT: Review ERC results before proceeding to netlist diff.

Inputs: project_path (required). Returns: object

kicad_ctrl_execute_ripupAInspect

Station 3: Execute rip-up — remove tracks and return a diff.

The API removes the tracks/vias and returns a unified diff. If apply_diff is True, the diff is applied to the local .kicad_pcb file. Otherwise, the diff is returned for review.

IMPORTANT: After applying, open the PCB in KiCad for manual rerouting.

Inputs: project_path (required), net_names (required), apply_diff. Returns: object

kicad_ctrl_exportBInspect

Station 6: Export gerbers, drill files, and positions.

Downloads a ZIP from the API containing all fabrication files.

Inputs: project_path (required), output_dir. Returns: object

kicad_ctrl_netlist_diffAInspect

Station 0b: Compare old and new schematic netlists.

Shows what connectivity changed — added/removed/modified nets and components. This tells you exactly which PCB traces need rerouting.

IMPORTANT: Review the diff before proceeding to PCB analysis.

Inputs: project_path (required), old_schematic. Returns: object

kicad_ctrl_propose_ripupAInspect

Station 2: Propose rip-up — enumerate what would be removed.

IMPORTANT: Review the proposal before proceeding. Ask the operator to approve before calling kicad_ctrl_execute_ripup.

Inputs: project_path (required), net_names (required). Returns: object

kicad_ctrl_validateBInspect

Station 5: Run DRC validation on the PCB.

IMPORTANT: Review DRC results before proceeding to export.

Inputs: project_path (required). Returns: object

list_datasheet_sectionsAInspect

List table-of-contents sections from a datasheet PDF.

A lightweight way to discover what's in a datasheet before reading specific chunks with read_datasheet. Returns only section titles and page numbers, no chunk text.

Two input modes:

  • file_path: Upload a local PDF file

  • sku: Fetch cached data from CDN by part number

Inputs: file_path, sku. Returns: object

list_devicesAInspect

List all devices registered for the current user.

Each device has an ID, name, last-seen timestamp, and any device-specific preference overrides.

Returns: List of devices with their preferences

Inputs: no named parameters. Returns: object

list_doc_safelistAInspect

List all MIME types currently on the document upload safelist.

Returns the full set of file types that are permitted for upload after Magika content-type scanning. Types not on this list will be rejected at the API boundary.

Inputs: no named parameters. Returns: object

logistics_consignment_manifestAInspect

Station 4: Generate a consignment manifest by diffing BOM vs inventory.

Uploads BOM and compares against current inventory levels to determine what needs to be shipped to the CM (contract manufacturer).

IMPORTANT: Review the manifest before shipping. Verify short items.

Inputs: bom_path (required), inventory_levels (required), cm_address (required). Returns: object

logistics_create_shipmentBInspect

Station 1: Create a shipment with label, packing list, and customs docs.

Creates a shipment for an order, generates shipping label data, packing list, and customs declaration for international shipments.

IMPORTANT: Review shipment details and label before dispatching.

Inputs: order_id (required), destination (required), carrier, weight_kg. Returns: object

logistics_customs_declareAInspect

Station 3: Generate customs declaration from BOM with HS code mapping.

Uploads BOM file and maps components to HS codes based on category. Calculates declared values for each line item.

IMPORTANT: Review HS codes and declared values before submitting to customs.

Inputs: bom_path (required), invoice_amount (required), destination_country (required), origin_country. Returns: object

logistics_inventory_reconcileAInspect

Station 5: Reconcile physical inventory count against system records.

Uploads physical count CSV and system inventory CSV. Diffs quantities and reports matches, overages, and shortages.

IMPORTANT: Review discrepancies and investigate before adjusting system records.

Inputs: physical_count_path (required), system_inventory_path (required). Returns: object

logistics_track_shipmentAInspect

Station 2: Track a shipment and get current status.

Returns tracking events with timestamps, locations, and status updates.

Inputs: shipment_id (required), carrier. Returns: object

match_components_to_partsCInspect

Match KiCad components to real parts.

Inputs: components (required), auto_search. Returns: object

open_in_kicadBInspect

Open a KiCad project in the KiCad application.

Inputs: project_path (required). Returns: object

parts_cliAInspect

Run a parts CLI command for local project operations.

Executes the parts CLI binary with the given command and arguments. The command string should NOT include the leading parts — just the subcommand and flags.

Parts CLI Command Reference

ECN Management (project ecn)

List all ECNs

parts project ecn list [--dir ECO] Alias: parts project ecn ls

Get ECN details

Read the file directly: ECO/ECN-006.md

Create a new ECN

parts project ecn create
--id ECN-021
--title "Issue title"
--type "Schematic Change"
--severity HIGH
--disposition REQUIRED
[--category Electrical]
[--author "Name"]
[--source "reference"]
[--affected "U5, R23"]
[--output-dir ECO]

Types: Design Constraint | Assembly Note | BOM Change | Schematic Change | Process Change Severity: CRITICAL | HIGH | MEDIUM | LOW Disposition: REQUIRED | RECOMMENDED | OPTIONAL

Validate ECN files

parts project ecn validate [--dir ECO]

Migrate monolithic log to individual files

parts project ecn migrate --source Reports/ECN_Log_V1.0.md [--output-dir ECO]

Fabrication (fab)

Stackup PDF from gerbers

parts fab stackup <gerbers.zip> [-b "Board Name"] [--scale 3] [-o output.pdf] [--prefix "Board_V1.03"]

Placement / pick-and-place

parts fab placement [positions.csv]
[--rows 3] [--cols 3]
[--assemble 1,2,3,7,8]
[--side top|bottom|both]
[--outline board.gko]
[--bom bom.csv]
[--manual-place U,J,SW,MIC]
[--split-csv]
[--rotate-top]
[--machine yy1]
[-b "Board Name"] [-o ./output] [--prefix "Board_V1.03"]

Net trace highlight

parts fab highlight <board.kicad_pcb>
--nets "VCC,GND,SDA"
[--colors "VCC=#ff0000,GND=#0000ff"]
[--mode overlay|traces|both]
[--layers "F.Cu"]
[-o ./output]

Assembly guide PDF

parts fab assembly

Test point report

parts fab testpoints <positions.csv>

Gerber diff

parts fab diff <v1.zip> <v2.zip> [--name-a "V1" --name-b "V2"]

Structural diff report

parts fab report <v1.zip> <v2.zip>

X-ray inspection report

parts fab xray

Release

parts fab release

Machine SD card

parts fab machine

BOM

Upload BOM

parts bom <filename.xlsx> [-p project_id] [--wait] [--no-lcsc] [--dfm-check]

Generate BOM PDF

parts bom pdf [bom.csv] [-b "Board Name"] [-o output.pdf] [--prefix "Board_V1.03"]

Clean EIA capacitor codes

parts bom clean <bom.csv>

Convert CSV to Excel

parts bom convert <file.csv>

Fetch datasheets for BOM parts

parts bom datasheets <bom.csv>

Enrich BOM with descriptions

parts bom enrich <bom.csv>

Check BOM job status

parts bom status <job_id>

Project

Init new project

parts init [path] [-t dfm|pcb|assembly] [-a "Author"] [-d "Description"] [--skip-git] [-i]

Project CRUD

parts project create parts project list parts project get parts project delete

ECO (Engineering Change Order)

parts project eco

Status

parts status

Search & Parts

Search parts

parts search [--in-stock] [--eu-only|--us-only|--cn-only]

Smart query (search, URL, SMD codes)

parts q

Price estimate

parts price

Inventory check

parts inventory

Datasheet

parts datasheet

Find alternatives

parts guide

SMD code decode

parts smd

Resistor color bands

parts resistor

Part marking lookup

parts marking

IQC / Ingest

Upload images for identification

parts ingest <file_or_dir> [-p project_id] [-b box_id] [--wait] [--recursive] [--dry-run]

Detect from photo

parts detect

Scan barcode

parts scan

List IQC items

parts ingest items

Reprocess item

parts ingest reprocess <short_code>

Manufacturing

DFM analysis

parts dfm <project_id>

AOI inspection

parts aoi

QC inspection

parts qc

EDA (eda)

DXF board outline info

parts eda dxf <file.dxf> [--json] Parse a DXF file and report board outline dimensions, bounding box, entity count, and layer names. Example: parts eda dxf board_outline.dxf Example: parts eda dxf board_outline.dxf --json

Electrical Rules Check

parts eda erc <file.kicad_sch> [--severity all|error|warning] [--rules file] [--json] Upload a KiCad schematic and run ERC. Returns violations by severity.

Design Rules Check

parts eda drc <file.kicad_pcb> [--severity all|error|warning] [--rules file.kicad_dru] [--json] Upload a KiCad PCB and run DRC. Returns violations by severity.

Import Altium to KiCad

parts eda import altium <file.SchDoc|.PcbDoc> [-o output] [--name project] [--revision EVT1] [--no-git] Convert Altium schematic or PCB to KiCad format.

Orders & Commerce

Get quote

parts fab quote

RFQ

parts rfq

Add to cart

parts cart

Buy

parts buy

COGS calculation

parts cogs <bom_id|project_id> [-q quantity]

Misc

Auth

parts auth

Balance

parts balance

History

parts history

Labels

parts label

Notes

parts note "text"

Todos

parts todo "text"

Tracker (price/qty watch)

parts tracker

Wishlist

parts wishlist

Expenses

parts expense

Reports

parts report

Git operations

parts push parts pull parts log parts tag

GitHub Actions

parts github report --project --repo <owner/repo> [--thread-id ]

Global flags (apply to all commands)

-q, --quiet Suppress progress output -v, --verbose Verbose output -h, --help Help for any command

Inputs: command (required), project_path. Returns: object

quality_compliance_checkAInspect

Station 4: Check BOM regulatory compliance for target markets.

Uploads BOM and checks every component against RoHS, REACH SVHC, conflict minerals (3TG), and market-specific requirements (CE/UL/CCC).

IMPORTANT: Review non-compliant components and compliance summary per market before proceeding with production or export.

Inputs: bom_path (required), target_markets (required). Returns: object

quality_fai_inspectAInspect

Station 3: First Article Inspection — verify assembled board against BOM.

Uploads assembled board photos and BOM file. Server cross-references each visible component against the BOM for presence, polarity, orientation, and correct value.

IMPORTANT: Review flagged components manually. Vision-based checks should be confirmed by operator before accepting the first article.

Inputs: board_photos (required), bom_path (required). Returns: object

quality_iqc_inspectAInspect

Station 1: Incoming quality control inspection.

Uploads component reel/packaging photos and PO reference data. Server validates label readability, checks date code freshness, verifies MPN, and checks MSL level.

IMPORTANT: Review the inspection checks before accepting components into stock. Rejected components must not enter production.

Inputs: photos (required), part_number (required), expected_quantity (required), expected_date_code. Returns: object

quality_xray_analyzeAInspect

Station 2: X-ray solder joint analysis for BGA/QFN packages.

Uploads X-ray images of solder joints. Server analyzes void percentage, checks for solder bridges, head-in-pillow defects, and other anomalies per IPC-7095/IPC-A-610 standards.

IMPORTANT: Review the defect report and void percentages before accepting the board. Joints exceeding 25% void require rework.

Inputs: xray_images (required). Returns: object

quote_assemblyAInspect

Get a combined fabrication + assembly quote.

Uploads gerbers for fab quotation and a BOM for assembly costing. Polls the BOM status to get a bom_id, then calculates COGS.

Inputs: gerber_path (required), bom_path (required), quantity, layers, +4 more. Returns: object

quote_fabricationAInspect

Get a fabrication quote for a project.

Submits a fab quotation request using a project reference. Use upload_gerbers_for_quote to upload gerber files directly instead.

Inputs: project_id (required), quantity, layers, thickness, +3 more. Returns: object

read_datasheetAInspect

Read and chunk a datasheet PDF for analysis.

Two input modes:

  • file_path: Upload a local PDF file for chunking

  • sku: Fetch cached chunks from CDN by part number

If query is provided, only chunks matching the query keywords are returned, reducing context usage. Use list_datasheet_sections first to discover what's in a datasheet before reading specific chunks.

Inputs: file_path, sku, query, chunk_pages, +1 more. Returns: object

remove_doc_safelistAInspect

Remove a MIME type from the document upload safelist.

After removal, uploads whose Magika-detected type matches this MIME type will be rejected. Requires admin role.

Inputs: mime_type (required). Returns: object

render_schematicBInspect

Render a schematic as PDF for visual review.

Uses kicad-cli on the server to export the schematic as a PDF.

Inputs: file_path (required), save_to. Returns: object

review_schematicAInspect

Compare two schematic versions and return structured diff.

Shows added/removed components, changed values, and net changes.

Inputs: old_file_path (required), new_file_path (required). Returns: object

rma_processAInspect

Station 4: Process an RMA request with failure categorization and disposition.

Categorizes failure mode (DOA, wear-out, damage, no-fault-found), checks warranty status, and generates RMA number with disposition.

IMPORTANT: Review disposition before confirming with customer.

Inputs: order_id (required), failure_description (required), serial_number (required). Returns: object

sales_commission_calculateBInspect

Station 5: Calculate sales commission on an order.

Computes commission payout based on order total and the given commission structure (percentage or flat amount).

Inputs: order_id (required), commission_rate (required), commission_type. Returns: object

sales_invoice_generateBInspect

Station 4: Generate invoice data from an order.

Creates a draft invoice with line items, tax calculation, totals, and due date based on payment terms.

IMPORTANT: Review invoice details before sending to customer.

Inputs: order_id (required), payment_terms, tax_rate. Returns: object

sales_order_convertAInspect

Station 3: Validate stock/lead times and convert quote to order.

Checks inventory for all line items in the quote and flags any shortages or long lead times. If all clear, creates the order.

IMPORTANT: Review items at risk before confirming the order.

Inputs: quote_id (required). Returns: object

sales_quote_buildAInspect

Station 1: Price a BOM and generate a quote breakdown.

Uploads the BOM file to the API, which prices all components using the internal DB, adds fab + assembly + margin, and returns a full quote breakdown for operator review.

IMPORTANT: Review the quote before sending to the customer or proceeding to negotiation.

Inputs: bom_path (required), quantity (required), customer_name (required). Returns: object

sales_quote_negotiateAInspect

Station 2: Revise quantities or pricing on an existing quote.

Recalculates the quote at new terms and shows the margin delta compared to the original quote.

IMPORTANT: Review margin impact before accepting revised terms.

Inputs: quote_id (required), revised_quantity, revised_margin_pct. Returns: object

scan_docAInspect

Scan a local file with Magika to detect its true content type.

Uses the Source Parts document scanning API (backed by Google Magika) to identify what a file actually is, regardless of its extension. Useful for checking whether a file would be accepted by the safelist before uploading it.

Inputs: file_path (required). Returns: object

search_by_parametersCInspect

Search parts by specific parameters.

Inputs: parameters (required), category (required), limit. Returns: object

search_partsCInspect

Search for electronic parts across suppliers.

Inputs: query (required), category, filters, limit. Returns: object

set_preferencesAInspect

Set user preferences, optionally for a specific device.

Merges the provided key-value pairs into existing preferences. To delete a key, set its value to null.

Inputs: preferences (required), device_id. Returns: object

submit_dfmCInspect

Queue a DFM (Design for Manufacturability) analysis for a project.

Inputs: project_id (required), bom_id, revision, notes, +1 more. Returns: object

suggest_rerouteAInspect

Suggest routing paths for disconnected nets after rip-up.

Runs an A* pathfinder on the server and returns suggested track segments as KiCad S-expressions for operator review.

Inputs: file_path (required), nets (required), grid_step, layer, +1 more. Returns: object

supply_chain_avl_qualifyBInspect

Station 2: Check components against AVL rules and score counterfeit risk.

Uploads the BOM file to the API, which checks each component against the Approved Vendor List (AVL): authorized distributors, source control requirements (e.g. SI1304BDL), and counterfeit risk scoring based on component age, popularity, and price anomalies.

IMPORTANT: Review flagged components before proceeding with procurement.

Inputs: bom_path (required). Returns: object

supply_chain_obsolescence_checkAInspect

Station 3: Check lifecycle status for each part and suggest alternatives.

Uploads the BOM file to the API, which checks each component's lifecycle status (active, NRND, obsolete, EOL, unknown) and suggests drop-in alternatives for at-risk parts.

IMPORTANT: Review at-risk components and alternatives before design freeze.

Inputs: bom_path (required). Returns: object

supply_chain_procurement_approveBInspect

Station 1: Group BOM by vendor, check MOQs, calculate price breaks, estimate lead times.

Uploads the BOM file to the API, which groups components by vendor, validates minimum order quantities, applies price-break discounts, and estimates lead times for each purchase order.

IMPORTANT: Review the purchase orders before placing with vendors.

Inputs: bom_path (required), quantity (required), target_date (required). Returns: object

test_coverage_analysisAInspect

Station 1: Analyze test point coverage and probe accessibility.

Uploads test points CSV and PCB file. Server checks probe spacing (min 1.27mm), keep-out violations, and ICT fixture clearance.

IMPORTANT: Review blocked points before committing to fixture design.

Inputs: test_points_path (required), pcb_path (required). Returns: object

test_provision_devicesAInspect

Station 2: Generate per-device provisioning packages.

Creates unique keys, certificates, and serial numbers for each device. Returns provisioning packages for flashing during production test.

IMPORTANT: Verify firmware URL and device list before provisioning.

Inputs: firmware_url (required), device_ids (required), cert_template. Returns: object

test_reliability_predictAInspect

Station 3: Calculate MTBF using MIL-HDBK-217F simplified method.

Uploads BOM file and calculates per-component failure rates, total MTBF, and identifies weakest components.

IMPORTANT: Review weakest links and consider derating or alternatives.

Inputs: bom_path (required), ambient_temp, environment, duty_cycle. Returns: object

trigger_part_renderAInspect

Queue a Blender render job for an electronic component.

Every image is generated from parametric .blend templates — no supplier assets. Pass either sku or part_id. The system will match the part to the correct Blender template based on category, package, and MPN suffix.

Inputs: sku, part_id, force, template_override. Returns: object

upload_bomAInspect

Upload a BOM file for processing and part matching.

Reads the file from the local filesystem, uploads it to the API for processing. Use check_bom_status with the returned job_id to track progress and see which parts are unknown.

Supported formats: CSV, XLSX, XLS, JSON, XML.

Inputs: file_path (required). Returns: object

upload_gerbers_for_quoteAInspect

Upload a gerber zip file to get a fabrication quote.

Reads the gerber zip from disk and submits it for fabrication quotation. Use check_manufacturing_status with the returned job_id to track progress.

Inputs: file_path (required), quantity, layers, thickness, +3 more. Returns: object

user_profileAInspect

Get the current user's profile, role, and preferences.

Returns the authenticated user's profile including their role level (public, admin, owner), global preferences, and per-device overrides.

Returns: User profile with role, preferences, and device list

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 111 tools

    Disambiguation2/5

    Many tools have overlapping purposes (e.g., check_dfm_status and dfm_check_status, submit_dfm and dfm_submit, multiple 'check_status' tools). The large number of domain-specific stations (assembly, quality, test) with similar verb structures further increases ambiguity for an agent.

    Naming Consistency3/5

    Tool names are all snake_case, but the pattern varies: some start with a verb (add_, check_, convert_), others with a domain prefix (assembly_, quality_, supply_chain_). Even within groups, verb position is inconsistent (e.g., assembly_readiness_check vs assembly_feeder_setup). Overall moderately consistent but not uniform.

    Tool Count2/5

    111 tools is prohibitively large for a single MCP server. While the scope is broad, this number far exceeds typical tool counts (3-15) and will overwhelm agents, leading to poor selection performance. The server would benefit from being split into multiple domain-specific servers.

    Completeness4/5

    The tool surface covers an impressively wide range of electronics manufacturing workflows: design conversion, BOM, assembly, quality, supply chain, sales, logistics, test, etc. However, some areas lack full depth (e.g., no full schematic editor, limited routing support), so completeness is high but not perfect.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides Claude with access to the tscircuit electronics component registry, enabling search, browsing, and analysis of electronic components and circuit packages from the tscircuit ecosystem.
      3
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables searching for electronic components through the Nexar Supply API, providing detailed part information including manufacturer, pricing, specifications, and datasheets.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables searching for electronic components, comparing prices across distributors, checking availability, and retrieving datasheets through the Nexar/Octopart API with specialized tools for resistors, capacitors, inductors, semiconductors, crystals, and connectors.
      12
      -
    • A
      license
      A
      quality
      A
      maintenance
      Enables searching and filtering over 1.5 million electronic components across JLCPCB, Mouser, and DigiKey using parametric queries and smart parsing. It supports finding alternative parts, accessing pinout data, and downloading KiCad footprints directly through AI coding assistants.
      17
      152
      MIT