Get the FREE Ultimate OpenClaw Setup Guide →

jlcpcb-parts

JLCPCB PCBA向けの、部品探しを補助するためのMCPサーバー

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio nvsofts-jlcpcb-parts-mcp python path/to/server.py \
  --env JLCPCB_DB_PATH="path/to/database.sqlite3"

How to use

This MCP server exposes a JLCPCB parts catalog service via a Python-based MCP server. It connects to a local SQLite database (specified by JLCPCB_DB_PATH) that caches JLCPCB parts data and serves it to MCP clients for inquiries, part details, and related metadata. The server leverages the existing JLCPCB parts dataset and related cache files to provide quick responses for parts lookups and conversations involving part availability and specifications. To use it, start the server with the configuration above and connect your MCP client to the server-name JLCPCB parts to begin querying parts information and receiving structured responses.

How to install

Prerequisites:

  • Python 3.8+ installed on the host
  • Access to the repository files, including server.py and the SQLite cache/database (or ability to generate/cache it)

Installation steps:

  1. Ensure Python and pip are installed on your system
  2. Install any required Python dependencies (if a requirements.txt exists; otherwise ensure environment has access to needed packages)
  3. Place the server script (server.py) in the expected path and prepare the SQLite database at the location you will reference with JLCPCB_DB_PATH
  4. Create or adjust the environment variable JLCPCB_DB_PATH to point to your database file (e.g., path/to/database.sqlite3)
  5. Run the MCP server using the provided configuration (see mcp_config in this document) and verify it starts without errors

Example commands (adjust paths as needed):

  • export JLCPCB_DB_PATH=path/to/database.sqlite3
  • python path/to/server.py

Notes:

  • Ensure the database file exists and contains the necessary JLCPCB parts data or is capable of being populated by the server.
  • If using a containerized or isolated environment, ensure the database path is mounted into the container.

Additional notes

Tips:

  • The server relies on JLCPCB parts data and may cache results in its SQLite database. Keep an eye on cache invalidation if the external catalog changes.
  • If you encounter connectivity or data missing issues, verify that JLCPCB_DB_PATH points to a valid SQLite database and that the server.py script has the correct permissions to read/write it.
  • For debugging, enable verbose logs if supported by server.py to capture query and response details.
  • This MCP server name uses the display key 'JLCPCB parts'; ensure clients refer to it exactly when contacting the service.
  • If you migrate to a different storage backend, update the env variables and code paths accordingly.

Related MCP Servers

Sponsor this space

Reach thousands of developers