Skip to main content
Glama
Eyalm321

jlcpcb-mcp

by Eyalm321

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JLCPCB_APP_IDNoOfficial Open API credentials — enable the jlcpcb_official_* tools.
JLCPCB_DEV_MODENoStore the database in ./data within the project (for development).
JLCPCB_ENDPOINTNoOverride the official API base (default https://open.jlcpcb.com).https://open.jlcpcb.com
JLCPCB_ACCESS_KEYNoOfficial Open API credentials — enable the jlcpcb_official_* tools.
JLCPCB_SECRET_KEYNoOfficial Open API credentials — enable the jlcpcb_official_* tools.
JLCPCB_DATABASE_PATHNoOverride where the catalog SQLite file is stored.
JLCPCB_ENABLE_ORDERSNoSet to true/1 to allow the *-create_order tools to place real paid orders (off by default).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
jlcpcb_search_componentsA

Search the JLCPCB component catalog by keyword and/or parametric filters, enriched with live pricing. The catalog (descriptions, packages, attributes, categories) comes from a local SQLite snapshot. Each result reports jlc_assembly_stock (catalog — the figure that matters for PCBA) and lcsc_retail_stock (live LCSC retail, a different pool; a 0 here is NOT an assembly shortage). Ranked Basic-first, then by assembly stock, then unit price. Examples: '10k resistor 0805', 'STM32F4', 'ceramic capacitor'.

jlcpcb_get_component_detailsA

Get full details for a specific JLCPCB part: catalog metadata (manufacturer, package, category), pricing tiers, parametric specifications, datasheet, and images, plus stock from both pools — jlc_assembly_stock (catalog snapshot, authoritative for PCBA) and lcsc_retail_stock (live LCSC retail). An LCSC-retail 0 is NOT an assembly shortage.

jlcpcb_get_component_stockA

Get stock for a specific JLCPCB part from BOTH inventory pools: jlc_assembly_stock (JLCPCB assembly availability, from the catalog snapshot — the number that matters for PCBA) and lcsc_retail_stock (LCSC retail, live from wmsc.lcsc.com). These are DIFFERENT pools: an LCSC-retail 0 does NOT mean a part is unavailable for assembly (common for Basic parts). Treat assembly stock as authoritative for board production.

jlcpcb_get_component_pricingA

Get live quantity-break pricing tiers (USD unit price per quantity ladder) for a specific JLCPCB part.

jlcpcb_get_datasheet_urlA

Get the datasheet PDF URL for a specific JLCPCB part. Prefers the live API value and falls back to the catalog snapshot.

jlcpcb_list_categoriesA

List the component categories and subcategories available in the local catalog, each with a component count. Optionally filter to a single top-level category. Useful for discovering valid category filter values for searches.

jlcpcb_database_statusA

Report the status of the local component catalog database: whether it exists, its file path, size, component count, and when it was last built/refreshed.

jlcpcb_refresh_databaseA

Download and rebuild the local component catalog from the latest yaqwsx/jlcparts snapshot. Downloads ~50MB and may take several minutes. Use occasionally to pick up newly added components (live stock/pricing is always current regardless).

jlcpcb_official_get_component_detailA

Official JLCPCB Parts API (authenticated): authoritative details — specs, stock, pricing, and attributes — for one or more LCSC part codes. More complete than the public live endpoint. Requires API credentials.

jlcpcb_official_component_libraryA

Official JLCPCB Parts API (authenticated): browse the full assembly component library, paginated. Requires API credentials.

jlcpcb_official_private_libraryA

Official JLCPCB Parts API (authenticated): list YOUR account's private / consigned component library (parts you hold at JLCPCB), paginated. Only available with API credentials.

jlcpcb_official_component_feedA

Official JLCPCB Parts API (authenticated): cursor-paginated bulk feed of the component catalog. Pass the lastKey returned by a previous call to page through the entire library. Requires API credentials.

jlcpcb_pcb_upload_gerberA

Official PCB API: upload a Gerber archive (zip) for quoting/ordering. Returns a fileKey to pass to jlcpcb_pcb_calculate_price / jlcpcb_pcb_create_order. Requires API credentials.

jlcpcb_pcb_upload_blind_via_hole_imgA

Official PCB API: upload a blind/buried-via stackup image for boards that need one. Requires API credentials.

jlcpcb_pcb_impedance_template_listA

Official PCB API: list impedance template settings for given stackup parameters (stencilLayer, cuprumThickness, plateType, etc.). Requires API credentials.

jlcpcb_pcb_stencil_price_configA

Official PCB API: get the SMT stencil (steel) price configuration. Requires API credentials.

jlcpcb_pcb_calculate_priceA

Official PCB API: calculate price and lead time for a PCB / SMT-stencil order (a quote, no order is placed). Pass a params object with keys such as orderType, fileKey, pcbParam (layers, dimensions, quantity, ...), smtStencilParam, country, postCode, city, shippingMethod. Requires API credentials.

jlcpcb_pcb_get_order_detailA

Official PCB API: get order details by batch number. Requires API credentials.

jlcpcb_pcb_get_audit_infoB

Official PCB API: get engineering audit (review) info for an uploaded design by key. Requires API credentials.

jlcpcb_pcb_get_wip_processA

Official PCB API: get the work-in-progress production status for an order. Requires API credentials.

jlcpcb_pcb_create_orderA

Official PCB API: CREATE A REAL, PAID PCB / SMT-stencil order. Disabled unless JLCPCB_ENABLE_ORDERS=true. Pass a params object (typically built from a prior jlcpcb_pcb_calculate_price quote) with keys such as fileKey, batchNum, orderType, pcbParam, shippingAddress, billingAddress, shippingMethod. Requires API credentials.

jlcpcb_tdp_upload_modelA

Official 3D-printing (TDP) API: upload a 3D model file (e.g. STL/STEP) for analysis and quoting. Returns a fileAccessId used by the other TDP tools. Requires API credentials.

jlcpcb_tdp_file_analysis_resultA

Official 3D-printing API: fetch the analysis result (dimensions/volume/printability) for an uploaded model by its fileAccessId. Requires API credentials.

jlcpcb_tdp_calculate_priceA

Official 3D-printing API: calculate price for a 3D-printing job (a quote, no order is placed). Pass a params object with keys such as fileAccessId, materialAccessId, materialColorAccessId, itemCount, surfaceTreatmentProcess, shippingAddress, freightMode. Requires API credentials.

jlcpcb_tdp_order_listA

Official 3D-printing API: list your 3D-printing orders, paginated/filterable. Pass an optional params object (currentPage, pageRows, orderStatus, searchKey, ...). Requires API credentials.

jlcpcb_tdp_order_detailA

Official 3D-printing API: get a 3D-printing order's details by batch number. Requires API credentials.

jlcpcb_tdp_order_processA

Official 3D-printing API: get production progress for a 3D-printing order by order number. Requires API credentials.

jlcpcb_tdp_create_orderA

Official 3D-printing API: CREATE A REAL, PAID 3D-printing order. Disabled unless JLCPCB_ENABLE_ORDERS=true. Pass a params object (typically from a prior jlcpcb_tdp_calculate_price quote) with keys such as fileAccessId, materialAccessId, itemCount, shippingAddress, billingAddress, freightMode. Requires API credentials.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Eyalm321/jlcpcb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server