Skip to content
jlcpcb logo

JLCPCB Parts Finder

jlcpcb

Search the JLCPCB electronic components database (~7 million parts) for hardware/electronics projects. Use when the user needs to: (1) Find electronic components (resistors, capacitors, ICs, connectors, etc.), (2) Look up specific part numbers or manufacturers, (3) Find alternatives or equivalent...

SKILL.md

Full skill instructions

JLCPCB Parts Finder

Search the JLCPCB electronic components database for hardware/​electronics projects.

Database Location

Database: ~/​.jlcpcb-db/​cache.sqlite3

If missing, user should download from https://yaqwsx.github.io/jlcparts/

Query Script

Use ~/​.claude/​skills/​jlcpcb/​query.js for all database queries.

List categories:

node ~/​.claude/​skills/​jlcpcb/​query.js list-categories

Search parts:

node ~/​.claude/​skills/​jlcpcb/​query.js search-parts <category_id> [keyword] [limit]

Examples:

# Search for 3.5mm audio jacks
node ~/​.claude/​skills/​jlcpcb/​query.js search-parts 208 "3.5" 10

# Search for LDO regulators
node ~/​.claude/​skills/​jlcpcb/​query.js search-parts 111 "LDO" 15

# List all parts in a category (no keyword)
node ~/​.claude/​skills/​jlcpcb/​query.js search-parts 208 "" 20

Common Categories

Quick reference for frequently used categories:

  • Audio Connectors: 208
  • Linear Voltage Regulators: 130
  • LDO Regulators: 111, 120
  • PMIC - Current & Power Monitors & Regulators: 512

For other categories, use list-categories to find the appropriate ID.

Workflow

  1. Understand request - What component does the user need?
  2. Find category:
    • If known, proceed to search
    • If unknown, list categories to find the right one
  3. Search parts with category ID and optional keyword
  4. Present results:
    • Part number (C-prefix LCSC number)
    • Manufacturer
    • Description
    • Package type
    • Stock availability
    • Detail page URL for each part

Output Format

Results from query.js are formatted as:

C{lcsc}: {mfr} - {description} ({package}, Stock: {stock})
   → https://jlcpcb.com/​partdetail/​C{lcsc}

Example:

C5155561: PJ-393-8P - 3.5mm Headphone Jack 1A -20℃~+70℃ 20V Gold Phosphor Bronze SMD Audio Connectors (SMD, Stock: 1995)
   → https://jlcpcb.com/​partdetail/​C5155561

Important: Always include the URL in your response so users can view detailed specifications and datasheets.

Tips

  • Start with broader keywords if specific searches return no results
  • Part numbers may vary (e.g., "7812" vs "LM7812")
  • Results are sorted by stock (descending) - highest stock first
  • Limit initial searches to 10-20 results to avoid overwhelming output
  • For DIY projects, suggest through-hole over SMD when appropriate
  • Always show stock availability in recommendations

SQL Reference

The query script uses these SQL patterns:

With keyword:

SELECT lcsc, mfr, description, package, stock
FROM components
WHERE category_id = ? AND (mfr LIKE ? OR description LIKE ?)
ORDER BY stock DESC LIMIT ?

Without keyword:

SELECT lcsc, mfr, description, package, stock
FROM components
WHERE category_id = ?
ORDER BY stock DESC LIMIT ?

Alternative: Use sqlite3 CLI directly if needed:

sqlite3 ~/​.jlcpcb-db/​cache.sqlite3 "SELECT id, category, subcategory FROM categories LIMIT 10"

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View