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

Codex · E-commerce

How to Use JLCPCB component categories in Codex

Returns JLCPCB's two-level component category taxonomy. Use it to find the right category and subcategory before looking for components.

Prompts to try with JLCPCB component categories in Codex

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

Use JLCPCB component categories to identify where capacitors belong, and add the returned category names to this project's component research notes.

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

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

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

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

How to set up JLCPCB component categories 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 categories

    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/list_categories",
        "input": {
          "category_id": 1
        }
      }'

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

JLCPCB component categories providers and prices

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

AlexandriaE-commerce
JLCPCB parts library · List categories
jlcpcb-com/electronic-components/list_categories

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Category IDa number from 1

Top-level category id (source componentSortKeyId) to expand.

Every API field of JLCPCB parts library · List categories is on its tool page: open its card above.

What can you do with JLCPCB component categories 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 categories in Codex

Can Codex use JLCPCB component categories?

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

How much does JLCPCB component categories 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 categories in Codex?

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

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

Does Codex wait while JLCPCB component categories runs?

JLCPCB component categories 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 categories 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