Skip to main content

JLCPCB API & MCP Integration

Research on available tools to integrate JLCPCB services directly into the Claude Code workflow.

LCSC-MCP-Server

Repository: mageoch/LCSC-MCP-Server
Last updated: 2026-03-26
Status: Functional, early stage (0 stars)

MCP server for searching LCSC/JLCPCB parts with live API access.

Features

  • Parametric search for passives (R, C, L) by value, package, tolerance
  • Free-text search across 2.5M+ parts
  • Real-time pricing and stock availability
  • Basic vs Extended part classification (impacts JLCPCB assembly cost)
  • KiCad symbol, footprint, and 3D model download
  • Local SQLite cache for fast repeated queries

Setup

  1. Register at JLCPCB Developer Portal
  2. Obtain credentials: JLCPCB_APP_ID, JLCPCB_API_KEY, JLCPCB_API_SECRET
  3. Add to .mcp.json:
{
"mcpServers": {
"lcsc": {
"command": "node",
"args": ["path/to/lcsc-mcp-server/dist/index.js"],
"env": {
"JLCPCB_APP_ID": "...",
"JLCPCB_API_KEY": "...",
"JLCPCB_API_SECRET": "..."
}
}
}
}

Integration with ESP32 Emu Turbo

  • Replaces manual LCSC lookups in the /jlcpcb-parts skill
  • Enables the pcb-engineer agent to query live stock and pricing
  • Can verify Basic/Extended status before BOM finalization
  • Potential to auto-download KiCad footprints for new components

JLCPCB API Documentation

Repository: Jackster/JLCPCB-API
Last updated: 2026-02-16
Status: Documentation only (no server)

Reverse-engineered documentation of the JLCPCB Overseas OpenAPI endpoints.

Available Endpoints

EndpointDescription
PCB Price CalculationGet instant quotes for PCB fabrication
Gerber UploadUpload gerber files for order creation
Order CreationPlace PCB/PCBA orders programmatically
Order TrackingCheck order status and shipping info

Authentication

Uses HMAC-SHA256 signing with app credentials. Python examples provided in the repository.

Potential Skills

SkillDescription
/jlcpcb-quoteGet instant price for current gerbers without leaving the CLI
/jlcpcb-orderUpload gerbers and place an order directly
/jlcpcb-trackCheck order status from the terminal

Next Steps

  1. Register for JLCPCB Developer Portal API access
  2. Install LCSC-MCP-Server and add to .mcp.json
  3. Test part search queries against our BOM components
  4. Evaluate building a pricing/ordering MCP server using the JLCPCB-API docs