Skip to content

Guide · Agent skill

How to use the electronics-sourcing parts-mcp agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The electronics-sourcing skill is a set of written instructions that tells an AI agent how to buy electronic components. It teaches the agent which parts-mcp search tool to use, how to check price and stock in the right order, how to process a bill of materials (BOM), how to read datasheets in targeted pieces, and how to request PCB fabrication and assembly quotes. By the end of this guide you will know what the skill needs, how to install it, and how to ask for sourcing work in a way the agent can follow.

Electronics Sourcing with parts-mcpandrewyng/context-hub · MIT

Quick start

  1. 1Get the ZIP. Download the electronics-sourcing skill ZIP from this page.
  2. 2Install the skill. Unzip it into ~/.claude/skills/ for personal use, into a project's .claude/skills/ folder, or upload the ZIP under Settings → Capabilities → Skills.
  3. 3Confirm parts-mcp is available. Make sure the parts-mcp MCP server and its tools are connected, since the skill cannot run without them.
  4. 4Ask a natural sourcing question. Describe the part, parameters or BOM in plain language and ask for price and stock, not just matches.
  5. 5Review the results. Check matched and unmatched parts, prices, stock and any alternatives, then verify anything critical yourself.

What does the electronics-sourcing skill make the agent do?

An agent skill is a folder with a SKILL.md file that gives an AI agent instructions for a specific job. This one covers electronic component sourcing. Once it is installed, the agent follows a fixed sequence of steps instead of improvising each time.

The skill does not contain parts data. All part searches, prices, stock levels and datasheets come from the parts-mcp server, which the skill calls through its tools.

  • Chooses between search_parts and search_by_parameters based on how specific your request is
  • Follows a search, details, price, availability, alternative sequence and does not skip price and stock checks
  • Processes BOM files: uploads them, polls until processing finishes, resolves unmatched parts and calculates cost
  • Reads datasheets in targeted chunks instead of loading whole documents
  • Requests DFM analysis, fabrication quotes and combined assembly quotes

How do you install the electronics-sourcing skill?

Download the skill ZIP from this page and unzip it. The skill is delivered as a folder containing SKILL.md, so after unzipping, the folder should contain that file.

For a personal install, place the unzipped electronics-sourcing folder in ~/.claude/skills/. For a single project, place it in the project's .claude/skills/ folder so it applies only to that project.

In the Claude apps you can instead upload the ZIP under Settings, then Capabilities, then Skills.

  • Personal install: ~/.claude/skills/electronics-sourcing/
  • Project install: .claude/skills/electronics-sourcing/ inside your project folder
  • App install: Settings → Capabilities → Skills, then upload the ZIP
~/.claude/skills/electronics-sourcing/SKILL.md

What do you need before the skill works?

The skill itself is only instructions. It needs the parts-mcp MCP server with its tools (such as search_parts, check_bom_status, read_datasheet and quote_assembly) to be available to the agent. Without that server, the tools named in the skill do not exist and the instructions cannot be followed.

KiCad needs to be installed only if you want to extract a BOM from a KiCad project. The skill names a minimum KiCad version in its requirements, so check the skill's SKILL.md before you start. The skill does not describe supplier accounts or API credentials; those would be configured for the parts-mcp server itself.

  • parts-mcp MCP server with its tools available to the agent
  • KiCad installed, only for KiCad project BOM extraction (see the minimum version in SKILL.md)
  • Supplier accounts or API credentials: not specified in the skill; these belong to the parts-mcp server setup

How do you trigger the skill with natural requests?

You do not need special syntax. Describe the part, parameters, BOM or manufacturing job in plain language. The skill guides the agent toward the right tool based on what you give it. If you give three or more specific parameters, the agent uses parameter search. For a part number or general keywords, it uses keyword search.

Asking for a sourcing result, rather than just a list of matches, matters. When you say 'source' or 'find' a part, the skill expects pricing and availability in the answer.

  • 'Find me a 100nF capacitor'
  • 'Look up STM32F411'
  • 'I need a 50V 100nF X7R 0402 cap'
  • 'Here is my BOM file, tell me the total cost and what is unmatched'
  • 'Read the absolute maximum ratings in this part's datasheet'
  • 'Get me a per-unit assembly quote from this KiCad project'
"Find me a 100nF capacitor" → search_parts(query="100nF capacitor") "I need a 50V 100nF X7R 0402 cap" → search_by_parameters(parameters={"capacitance": "100nF", "voltage": "50V", "dielectric": "X7R", "package": "0402"}, category="capacitor")

How does the skill handle BOMs, datasheets and manufacturing quotes?

BOM processing is asynchronous. The agent uploads the file, receives a job ID, and checks status until it reads complete. Parts that do not match are searched again by value and footprint. If they still do not match, the agent lists them for you instead of dropping them from the total.

For datasheets, the agent first reads the section list, then searches for specific keywords. The skill says an unfiltered read of a long datasheet uses too much context, so the agent is expected to ask for only the matching parts.

Manufacturing work runs DFM analysis before a fabrication quote. Use quote_assembly when you want a combined per-unit cost covering PCB fabrication and component assembly.

  • BOM: upload, poll status, review matched and unknown parts, search unmatched parts, then calculate cost
  • Datasheets: list sections, then read with keywords such as 'maximum input voltage absolute ratings'
  • Manufacturing: DFM first, then fabrication or assembly quote
upload_bom(file_path=path) → check_bom_status(job_id=job_id) → calculate_bom_cost()

What are the safety notes for running this skill?

The skill runs no scripts of its own. It does use the network, because its tools query the parts-mcp server and suppliers' data through that server. Your data leaves your machine only in the sense that those tools send requests when you ask for them.

All KiCad tools work only in local mode (stdio transport). They are not available in hosted or HTTP mode. The skill also does not describe checking datasheet claims, so do not rely on agent summaries for safety-critical or regulated designs without an engineer checking the source document.

  • No scripts are run by the skill itself
  • Network use is required for search, pricing and quote tools
  • KiCad tools need local mode (stdio transport)
  • Verify datasheet information yourself for safety-critical or regulated work

What tips help you get better results?

Give the agent as many specific parameters as you can. Specific technical terms in datasheet questions produce more useful chunks. If a part is expensive or out of stock, ask for alternatives and compare them, because the skill expects the agent to present replacements and let you choose.

When you want cost breaks, ask for prices at several quantities. The skill suggests comparing 1, 10, 100 and 1000 units. If your team has preferred suppliers, say so, since the cost calculation tool can favor them.

  • Ask for quantity price breaks at 1, 10, 100 and 1000 units
  • Name preferred suppliers so cost calculations favor them
  • Ask for alternatives when stock is short or price is high
  • Ask for specific datasheet topics rather than the whole document

What people use it for

  • Costing a PCB before ordering by getting prices and stock for every line of a BOM
  • Estimating per-unit manufacturing cost from a KiCad project, including fabrication and assembly
  • Finding a replacement for an out-of-stock or expensive component and comparing alternatives
  • Pulling the relevant ratings or pinout sections from a long component datasheet without reading the whole thing

Frequently asked questions

Is the electronics-sourcing skill free to use?

The source file for this skill is published under the MIT licence, which is stated on this page. The skill needs the parts-mcp server to work, and the source does not describe pricing for that server or any supplier accounts.

What do I need to install the electronics-sourcing skill?

You need the skill folder with SKILL.md, placed in ~/.claude/skills/ or a project's .claude/skills/ folder, or uploaded in the Claude apps under Settings → Capabilities → Skills. The skill also requires the parts-mcp MCP server with its tools available to the agent.

Does the skill work without the parts-mcp server?

No. The skill contains no parts data and calls tools such as search_parts and check_bom_status that the parts-mcp server provides. Without that server the tools do not exist and the instructions cannot be followed.

Do I need KiCad to use this skill?

Only if you want to extract a BOM from a KiCad project. Other sourcing tasks, such as searching for parts or processing a BOM file, do not need KiCad. The skill names a minimum KiCad version in its requirements, so check SKILL.md for the exact figure.

Does the skill run scripts or use the internet?

The skill runs no scripts itself, but it does use the network because its tools query the parts-mcp server for pricing, stock and datasheets. KiCad tools work only in local mode and are not available in hosted or HTTP mode.

How is this different from searching a supplier website myself?

The skill is a workflow rather than a search site. It tells the agent to check price and availability in sequence, resolve unmatched BOM lines, read datasheets in targeted chunks and request quotes. The actual data still comes from the parts-mcp server, and the skill does not describe verifying datasheet claims.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits hardware engineers and hobbyists costing a PCB, product teams estimating per-unit cost from a KiCad project or BOM, and anyone who wants an agent to pull datasheet information without reading hundreds of pages. It is not suitable if you do not have a parts-mcp server, or for safety-critical or regulated designs where agent pricing and datasheet summaries must be checked by an engineer.

Download the skill