How to Use JLCPCB component search in Muse Code
Returns matching components from JLCPCB's assembly parts library, drawn from the LCSC catalog. Use it to build a candidate list before checking individual component details.
Prompts to try with JLCPCB component search in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use JLCPCB component search to find STM32F103C8T6 candidates and compare their listed packages with this project's MCU footprint.
Use JLCPCB component search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from JLCPCB component search and tell me what changed since last week.
Check JLCPCB component search and summarize what you find in three bullet points.
Pull the newest data from JLCPCB component search and give me the result as a table.
How to set up JLCPCB component search in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run JLCPCB component search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "jlcpcb-com/electronic-components/search_parts", "input": { "query": "<query>" } }'
Then paste one of the prompts above: Muse Code finds JLCPCB component search on Spiral, shows the price and runs it.
JLCPCB component search providers and prices
Spiral runs JLCPCB component search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 10000 | 1 | page |
| Sort | relevance, stock_desc, or stock_asc | relevance | sort |
| Page size | 1 to 50 | 25 | page_size |
| Availability | all, stock, buy, or post | all | JLCPCB's result tabs: |
| Library type | basic or extended | Restrict to Basic (no hand-loading fee) or Extended assembly parts. |
Every API field of JLCPCB parts library · Search parts is on its tool page: open its card above.
What can you do with JLCPCB component search in Muse Code?
Turn a project's bill of materials into a JLCPCB component review with catalog matches, package checks, and stock findings. Use category names and search suggestions to guide discovery, then attach component specifications and datasheet links to the review.
Find decoupling capacitors for a new board
Review available search suggestions, locate the capacitor categories, and search for 100 nF parts. Check each candidate's voltage rating, tolerance, package, and stock before choosing a part.
Build a power supply component shortlist
Use search suggestions and the category taxonomy to plan searches for voltage regulators. Retrieve candidate details for an engineer to compare against the board's electrical and package requirements.
Research components for a sensor board
Review suggested search wording and sensor categories, then find candidate components. Collect their specifications, package information, stock, and datasheet links for design review.
Explore ferrite beads for an input filter
Review search suggestions and category names before searching for ferrite beads. Compare candidate descriptions and detailed attributes against the filter's current, impedance, and footprint requirements.
Audit a bill of materials before assembly
Find the exact manufacturer part numbers in a BOM and retrieve their component details. Flag stock shortfalls and package differences for review before submitting the assembly order.
Monitor parts needed for the next production run
Repeat searches and detail checks for selected BOM components. Report stock falling below the build quantity, and distinguish warehouse availability from parts that still require sourcing.
More on JLCPCB component search and Muse Code
Overview
JLCPCB component search in other agents
Questions about JLCPCB component search in Muse Code
Can Muse Code use JLCPCB component search?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run JLCPCB component search like any built-in tool.
How much does JLCPCB component search cost in Muse Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.
Do I need an Alexandria account to use JLCPCB component search in Muse Code?
No. Spiral runs JLCPCB component search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up JLCPCB component search in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while JLCPCB component search runs?
JLCPCB component search runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.
Does a listed component mean JLCPCB has it in stock?
JLCPCB distinguishes public warehouse stock from other sourcing routes. Its pre-order terms say those components become usable for assembly only after they arrive at the warehouse.
How quickly can component availability change?
JLCPCB says inventory may change each second. A stock count can therefore change between component selection and the assembly order.
Does JLCPCB list every component I might need?
JLCPCB acknowledges that a missing component may not have been listed yet. Its documentation provides a new-part request route for that situation.
How is the component catalog organized?
JLCPCB exposes a two-level category taxonomy. Category discovery helps identify the appropriate category and subcategory before searching for parts.
How specific are the component descriptions?
Descriptions can include electrical values and package details. For example, C1525 specifies 100 nF, 16 V, X7R, ±10% tolerance, and a 0402 package.
Start using JLCPCB component search in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


