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

Codex · E-commerce

How to Use JLCPCB component suggestions in Codex

Returns search-box suggestions from JLCPCB's component library. Use these suggestions to choose search wording before retrieving matching parts.

Prompts to try with JLCPCB component suggestions in Codex

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

Use JLCPCB component suggestions to retrieve the available suggestions, identify any relevant to an ESP32 sensor board, and save those suggestions in this project's research notes.

JLCPCB component suggestionsCodex
Try asking
  • Use JLCPCB component suggestions to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from JLCPCB component suggestions and tell me what changed since last week.

  • Check JLCPCB component suggestions and summarize what you find in three bullet points.

  • Pull the newest data from JLCPCB component suggestions and give me the result as a table.

How to set up JLCPCB component suggestions in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 suggestions

    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/suggest_parts",
        "input": {
          "keyword": "<keyword>"
        }
      }'

Then paste one of the prompts above: Codex finds JLCPCB component suggestions on Spiral, shows the price and runs it.

JLCPCB component suggestions providers and prices

Spiral runs JLCPCB component suggestions through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
JLCPCB parts library · Suggest parts
jlcpcb-com/electronic-components/suggest_parts

What can you do with JLCPCB component suggestions in Codex?

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.

Questions about JLCPCB component suggestions in Codex

Can Codex use JLCPCB component suggestions?

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

How much does JLCPCB component suggestions cost in Codex?

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

Do I need an Alexandria account to use JLCPCB component suggestions in Codex?

No. Spiral runs JLCPCB component suggestions 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 suggestions in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while JLCPCB component suggestions runs?

JLCPCB component suggestions runs in the background. Codex 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 suggestions in Codex

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

Paste this into Codex:

Set up Codex

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