# Lcsc

Search LCSC Electronics for electronic components, find parts by LCSC number (Cxxxxx)...

- Repository: https://github.com/aklofas/kicad-happy (1565 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add aklofas/kicad-happy --skill lcsc -g -a claude-code -y`
Codex: `npx skills add aklofas/kicad-happy --skill lcsc -g -a codex -y`
Cursor: `npx skills add aklofas/kicad-happy --skill lcsc -g -a cursor -y`
Gemini CLI: `npx skills add aklofas/kicad-happy --skill lcsc -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add aklofas/kicad-happy`

## Description

Search 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 use batch MPN-list seeding (`--mpn-list`) for bulk workflows without a project. No API key needed, uses the free jlcsearch community API. Use this skill when the user mentions LCSC, JLCPCB parts library, JLCPCB assembly parts, production sourcing, Cxxxxx part numbers, needs to find LCSC equivalents for parts, is preparing a BOM for JLCPCB assembly, or wants to download datasheets and LCSC is available. For package cross-reference tables and BOM workflow, see the `bom` skill.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# LCSC Electronics, Component Search, Datasheets & Ordering

## Related Skills

| Skill | Purpose |
|-------|---------|
| `kicad` | Schematic analysis, extracts MPNs for part lookup |
| `bom` | BOM management, orchestrates sourcing across distributors |
| `jlcpcb` | PCB assembly, shares the same parts library |
| `spice` | Uses LCSC parametric data for behavioral SPICE models (no auth needed) |

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

## Key Differences from DigiKey/Mouser

- **No API key needed**, jlcsearch community API is free and open
- **Lower prices**, especially for passives and Chinese-manufactured ICs
- **JLCPCB integration**, same LCSC part numbers used in JLCPCB assembly BOMs
- **Direct PDF downloads**, LCSC's CDN (wmsc.lcsc.com) serves datasheets without bot protection
- **Low MOQ**, many parts available in quantities as low as 1
- **Warehouses**, Shenzhen (JS), Zhuhai (ZH), Hong Kong (HK)
- **Website**: `https://www.lcsc.com`

## LCSC Part Numbers

Format: `Cxxxxx` (e.g., `C14663`). This is the universal identifier across both LCSC and JLCPCB. Use it for:
- Direct ordering on LCSC
- BOM matching in JLCPCB assembly (see `jlcpcb` skill)
- Cross-referencing between platforms

## Component Search

Use `search_lcsc.py` to search LCSC and JLCPCB for electronic components, check live stock, inspect pricing tiers, identify basic vs. extended parts, and fetch parametric attributes. **No API key required.**

```bash
# Search by keyword or description
python3 <skill-path>/scripts/search_lcsc.py "tactile switch"

# Search for basic parts only (no JLCPCB extended loading fees)
python3 <skill-path>/scripts/search_lcsc.py "0805 100R" --basic

The rest: https://github.com/aklofas/kicad-happy/blob/HEAD/skills/lcsc/SKILL.md
