$npx -y skills add aklofas/kicad-happy --skill lcscSearch LCSC Electronics for electronic components — find parts by LCSC number (Cxxxxx) or MPN, check stock/pricing, download datasheets, analyze specifications. Sister company to JLCPCB, same parts library. Sync and maintain a local datasheets directory for a KiCad project, or us
| 1 | # LCSC Electronics — Component Search, Datasheets & Ordering |
| 2 | |
| 3 | ## Related Skills |
| 4 | |
| 5 | | Skill | Purpose | |
| 6 | |-------|---------| |
| 7 | | `kicad` | Schematic analysis — extracts MPNs for part lookup | |
| 8 | | `bom` | BOM management — orchestrates sourcing across distributors | |
| 9 | | `jlcpcb` | PCB assembly — shares the same parts library | |
| 10 | | `spice` | Uses LCSC parametric data for behavioral SPICE models (no auth needed) | |
| 11 | |
| 12 | LCSC is JLCPCB's sister company — they share the same parts library and `Cxxxxx` part numbers. Use LCSC for **production sourcing** (assembled boards from JLCPCB/PCBWay). DigiKey/Mouser are for prototyping. For BOM management and export workflows, see `bom`. |
| 13 | |
| 14 | ## Key Differences from DigiKey/Mouser |
| 15 | |
| 16 | - **No API key needed** — jlcsearch community API is free and open |
| 17 | - **Lower prices** — especially for passives and Chinese-manufactured ICs |
| 18 | - **JLCPCB integration** — same LCSC part numbers used in JLCPCB assembly BOMs |
| 19 | - **Direct PDF downloads** — LCSC's CDN (wmsc.lcsc.com) serves datasheets without bot protection |
| 20 | - **Low MOQ** — many parts available in quantities as low as 1 |
| 21 | - **Warehouses** — Shenzhen (JS), Zhuhai (ZH), Hong Kong (HK) |
| 22 | - **Website**: `https://www.lcsc.com` |
| 23 | |
| 24 | ## LCSC Part Numbers |
| 25 | |
| 26 | Format: `Cxxxxx` (e.g., `C14663`). This is the universal identifier across both LCSC and JLCPCB. Use it for: |
| 27 | - Direct ordering on LCSC |
| 28 | - BOM matching in JLCPCB assembly (see `jlcpcb` skill) |
| 29 | - Cross-referencing between platforms |
| 30 | |
| 31 | ## jlcsearch API Reference |
| 32 | |
| 33 | The jlcsearch community API is the recommended way to search LCSC. **No authentication required.** |
| 34 | |
| 35 | **Base URL:** `https://jlcsearch.tscircuit.com` |
| 36 | |
| 37 | ### General Search |
| 38 | |
| 39 | ``` |
| 40 | GET /api/search?q=<query>&limit=20&full=true |
| 41 | ``` |
| 42 | |
| 43 | Parameters: |
| 44 | - `q` — search query (matches MPN, LCSC code, or description keywords) |
| 45 | - `package` — optional footprint filter (e.g., `0402`) |
| 46 | - `limit` — max results (default 100) |
| 47 | - `full` — set to `true` to include all fields (datasheet URL, specs, stock per warehouse) |
| 48 | |
| 49 | ### Category-Specific Search |
| 50 | |
| 51 | ``` |
| 52 | GET /resistors/list.json?search=10k+0402 |
| 53 | GET /capacitors/list.json?search=100nF+0402 |
| 54 | GET /microcontrollers/list.json?search=STM32 |
| 55 | GET /voltage_regulators/list.json?search=3.3V |
| 56 | ``` |
| 57 | |
| 58 | ### Response Format |
| 59 | |
| 60 | Results are returned as `{"components": [...]}`. With `full=true`, each component has: |
| 61 | |
| 62 | ```json |
| 63 | { |
| 64 | "lcsc": 14663, |
| 65 | "mfr": "GRM155R71C104KA88D", |
| 66 | "package": "0402", |
| 67 | "description": "", |
| 68 | "datasheet": "https://www.lcsc.com/datasheet/...", |
| 69 | "stock": 2751535, |
| 70 | "price": [{"qFrom": 1, "qTo": 9, "price": 0.0069}, ...], |
| 71 | "basic": 0, |
| 72 | "extra": { |
| 73 | "number": "C71629", |
| 74 | "mpn": "GRM155R71C104KA88D", |
| 75 | "manufacturer": {"id": 4, "name": "Murata Electronics"}, |
| 76 | "package": "0402", |
| 77 | "description": "16V 100nF X7R ±10% 0402 ...", |
| 78 | "quantity": 2751535, |
| 79 | "whs-js": 1234567, |
| 80 | "whs-zh": 567890, |
| 81 | "whs-hk": 0, |
| 82 | "moq": 100, |
| 83 | "order_multiple": 100, |
| 84 | "packaging": "Tape & Reel (TR)", |
| 85 | "packaging_num": 10000, |
| 86 | "datasheet": {"pdf": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/...pdf"}, |
| 87 | "images": [{"96x96": "...", "224x224": "...", "900x900": "..."}], |
| 88 | "rohs": true, |
| 89 | "url": "https://www.lcsc.com/product-detail/...", |
| 90 | "attributes": { |
| 91 | "Capacitance": "100nF", |
| 92 | "Voltage Rated": "16V", |
| 93 | "Temperature Coefficient": "X7R", |
| 94 | "Tolerance": "±10%" |
| 95 | }, |
| 96 | "prices": [{"min_qty": 100, "max_qty": 499, "currency": "USD", "price": 0.0048}, ...] |
| 97 | } |
| 98 | } |
| 99 | ``` |
| 100 | |
| 101 | Key fields: |
| 102 | - `lcsc` — numeric LCSC ID (without "C" prefix) |
| 103 | - `extra.number` — full LCSC code with prefix (e.g., `C71629`) |
| 104 | - `extra.mpn` — manufacturer part number |
| 105 | - `extra.manufacturer.name` — manufacturer |
| 106 | - `extra.datasheet.pdf` — **direct PDF URL** (wmsc.lcsc.com CDN, downloads without auth) |
| 107 | - `extra.attributes` — parametric specs (capacitance, voltage, etc.) |
| 108 | - `extra.quantity` — total stock across all warehouses |
| 109 | - `extra.whs-js`, `extra.whs-zh`, `extra.whs-hk` — stock per warehouse |
| 110 | - `basic` — `1` if JLCPCB basic part (no setup fee), `0` if extended |
| 111 | - `extra.moq` — minimum order quantity |
| 112 | - `extra.order_multiple` — must order in multiples of this |
| 113 | - `extra.rohs` — RoHS compliance (boolean) |
| 114 | |
| 115 | ### Rate Limits |
| 116 | |
| 117 | The jlcsearch API is community-run with no documented rate limits, but be respectfu |