Download Jlcpcb Database
download_jlcpcb_databaseDownload the JLCPCB parts catalog to a local SQLite database for fast offline component search in KiCAD.
Instructions
Download the JLCPCB parts catalog to a local SQLite database for fast offline search.
Sources (no API credentials required by default):
cdfer (default): in-stock subset (~600k parts, ~1.5 GB download). Single file, no extra tools — the most reliable path, especially on Windows.
yaqwsx: the FULL catalog (all parts incl. out-of-stock, ~10 GB extracted). Use source="yaqwsx" if you specifically want everything. Requires a 7z CLI.
official: official JLCPCB API, used only if JLCPCB_APP_ID/JLCPCB_API_KEY/ JLCPCB_API_SECRET are set.
One-time setup; downloads resume automatically if interrupted. Re-run with force=true to refresh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force re-download even if database exists | |
| source | No | Force one source. "cdfer" (default) = in-stock subset, no 7z needed. "yaqwsx" = FULL ~10GB catalog (needs a 7z CLI). "official" = JLCPCB API (needs creds). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |