DigiKey

Provides access to DigiKey’s Product Search API via an MCP interface for keyword searches, product details, pricing, and media retrieval.
  • python

18

GitHub Stars

python

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bengineer19-digikey_mcp": {
      "command": "uv",
      "args": [
        "run",
        "python",
        "digikey_mcp_server.py"
      ],
      "env": {
        "CLIENT_ID": "your_digikey_client_id",
        "USE_SANDBOX": "false",
        "CLIENT_SECRET": "your_digikey_client_secret"
      }
    }
  }
}

You deploy a DigiKey MCP Server to enable fast, programmable access to DigiKey’s Product Search API. Built with FastMCP, it exposes a set of search and product detail tools that you can query from MCP clients or programmatic FastMCP clients, making it easy to integrate DigiKey product data into your applications.

How to use

You interact with the DigiKey MCP Server through an MCP client or a FastMCP client. Use the provided search methods to find DigiKey products by keyword, with optional sorting and filtering, and combine those results with product details, pricing, and media requests as needed. You can also fetch complete category and manufacturer information, or discover substitute products when relevant.

How to install

Prerequisites you must have before running the server:

  • Python 3.10+
  • uv package manager
  • DigiKey API credentials (CLIENT_ID and CLIENT_SECRET)

Step 1 – Install dependencies and prepare the environment:

uv sync

Step 2 – Set up environment variables for DigiKey credentials and sandbox mode. Create a file named .env in your project root with the following contents:

CLIENT_ID=your_digikey_client_id
CLIENT_SECRET=your_digikey_client_secret
USE_SANDBOX=false

If you want to run against DigiKey’s sandbox environment, set USE_SANDBOX=true in the same file.

Step 3 – Run the server. Start the MCP server using the following command:

uv run python digikey_mcp_server.py

Additional sections

Configuration notes and operational details are kept within the server runtime. The server relies on environment variables for authentication and environment selection. Make sure your .env file is accessible to the runtime process and that the DigiKey credentials are valid for the selected environment.

Available tools

keyword_search

Search DigiKey products by keywords with optional filtering, sorting, and limits.

search_manufacturers

Retrieve a list of manufacturers available in the DigiKey catalog.

search_categories

Retrieve a list of product categories.

search_product_substitutions

Find substitute products for a given product number with optional search options.

product_details

Get detailed information for a specific product, including manufacturer, pricing, and media.

get_category_by_id

Retrieve details for a specific category by its ID.

get_product_media

Fetch product images, documents, and videos.

get_product_pricing

Obtain detailed pricing for a product at a specified quantity.

get_digi_reel_pricing

Get DigiReel pricing for a product at a specified quantity.

SortOptions

Sort results by available fields such as Price, Manufacturer, and Product Status.

SearchOptions

Apply filters like InStock, RoHSCompliant, LeadFree, HasDatasheet, and more to refine searches.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational