Spiral gives your agent every tool with one account. Browse the tools →

Grok · E-commerce

How to Use JLCPCB component search in Grok

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 Grok

Copy an example into Grok, or ask in your own words.

Use JLCPCB component search to find STM32F103C8T6 parts and show their manufacturer, package, and stock where returned.

JLCPCB component searchGrok
Try asking
  • Use JLCPCB component search to find 100 nF capacitors in a 0402 package, prefer parts already in JLCPCB's warehouse, and show the listed electrical specifications.

  • Use JLCPCB component search to look this up and give me the result as a table.

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

How to set up JLCPCB component search in Grok

Pick the way that suits you. Each takes about two minutes.

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

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

  1. Create an API key

    In the console, under API keys.

  2. 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: Grok 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.

AlexandriaE-commerce
JLCPCB parts library · Search parts
jlcpcb-com/electronic-components/search_parts

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 100001

page

Sortrelevance, stock_desc, or stock_ascrelevance

sort

Page size1 to 5025

page_size

Availabilityall, stock, buy, or postall

JLCPCB's result tabs: stock = parts in JLCPCB's own assembly stock, buy = global sourcing (purchasable on request), post = consignment / pre-order, all = every tab.

Library typebasic 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 Grok?

Build a component shortlist for a PCB design, with JLCPCB's descriptions and package information beside each candidate. Ask the agent to explain the catalog categories and inspect selected parts before you choose what to assemble.

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.

Questions about JLCPCB component search in Grok

Can Grok use JLCPCB component search?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run JLCPCB component search like any built-in tool.

How much does JLCPCB component search cost in Grok?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

Do I need an Alexandria account to use JLCPCB component search in Grok?

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 Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while JLCPCB component search runs?

JLCPCB component search runs in the background. Grok 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.

Get started

Start using JLCPCB component search in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options