MCP server for the Mouser Electronics Search API

MCP server for the Mouser Electronics Search API

mouser-search-mcp•bycmaurer

A Model Context Protocol server that exposes Mouser Electronics Search API endpoints as MCP tools so MCP-aware clients can query Mouser's parts catalog.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides keyword search across the catalog with paging and RoHS/in-stock filters.
  • •Looks up 1–10 pipe-separated part numbers with an optional exact-match option.
  • •Supports keyword and part-number searches scoped to a single manufacturer by name.
  • •Enumerates manufacturer names to populate the manufacturer_name argument on the manufacturer-filtered tools.

BEST FOR

  • •Searching Mouser's parts catalog from MCP-aware clients such as Claude Code and Claude Desktop.
  • •Looking up specific part numbers or finding parts by manufacturer.

ABOUT MOUSER-SEARCH-MCP

MCP server for the Mouser Electronics Search API is cataloged as an MCP server attributed to cmaurer. A Model Context Protocol server that exposes Mouser Electronics Search API endpoints as MCP tools so MCP-aware clients can query Mouser's parts catalog. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for the Mouser Electronics Search API are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does this server cover cart and order endpoints?

No. The cart and order endpoints require an Ordering API key and are not exposed; the server covers search only.

How many records can a search return and how do I page?

Mouser returns at most 50 records per response; use records with starting_record for v1 keyword search or records with page_number for v2 keyword+manufacturer search to page.

上游原版 README

在 GitHub 查看同一版本原文

README.md · d61f003d609d · 采集于 2026-11-13 12:14:20 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

mouser-search-mcp

Model Context Protocol server for the Mouser Electronics Search API.

Exposes the Mouser Search API as MCP tools so MCP-aware clients (Claude Code, Claude Desktop, etc.) can query Mouser's parts catalog.

Tools

ToolEndpointWhat it does
search_by_keywordPOST /api/v1/search/keywordKeyword search across the catalog (up to 50 parts). Supports paging and RoHS/in-stock filters.
search_by_part_numberPOST /api/v1/search/partnumberLook up 1–10 part numbers (pipe-separated), with optional exact-match.
search_by_keyword_and_manufacturerPOST /api/v2/search/keywordandmanufacturerKeyword search scoped to one manufacturer by name.
search_by_part_number_and_manufacturerPOST /api/v2/search/partnumberandmanufacturerPart-number lookup scoped to one manufacturer by name.
list_manufacturersGET /api/v2/search/manufacturerlistEnumerate manufacturer names (use the result to populate the manufacturer_name argument on the two manufacturer-filtered tools).

Prerequisites

Install

Using uv (recommended):

uv pip install -e .

Or with pip:

pip install -e .

Configure

The server reads the API key from the MOUSER_API_KEY environment variable. Copy .env.example to .env and fill in your key, or export it in your shell.

Run

The server speaks MCP over stdio:

MOUSER_API_KEY=... mouser-search-mcp

Use with Claude Code

Register the server (replace the path and key):

claude mcp add mouser-search \
  --env MOUSER_API_KEY=your-key \
  -- mouser-search-mcp

Use with Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mouser-search": {
      "command": "mouser-search-mcp",
      "env": {
        "MOUSER_API_KEY": "your-key"
      }
    }
  }
}

If mouser-search-mcp is not on your PATH, point command at the absolute path to the script (e.g. inside your venv's bin/).

Notes

  • Mouser returns at most 50 records per search response. Use records + starting_record (v1 keyword search) or records + page_number (v2 keyword+manufacturer search) to page.
  • search_options accepts None, Rohs, InStock, or RohsAndInStock — only one at a time.
  • part_search_options accepts None or Exact.
  • The cart and order endpoints documented by Mouser require an Ordering API key and are not exposed by this server — it covers search only.

Releasing

Versioning and releases are fully automated by python-semantic-release. Every push to main runs .github/workflows/release.yml, which:

  1. Inspects commits since the last tag.
  2. Decides the next version (or does nothing if no release-worthy commits).
  3. Updates version in pyproject.toml, generates the changelog, commits, and pushes a vX.Y.Z tag.
  4. Builds wheel + sdist and uploads them to PyPI.
  5. Creates a GitHub Release with auto-generated notes.

Commit grammar

Commits must follow Conventional Commits. The leading keyword decides the bump:

PrefixBumpExample
feat:minorfeat: add list_manufacturers tool
fix:patchfix: handle empty Errors array
perf:patchperf: reuse httpx client
feat!: / BREAKING CHANGE: in bodymajorfeat!: rename tools
docs:, chore:, refactor:, test:, ci:, style:none(no release cut)

Anything else is ignored. If you push a flurry of small commits, semantic-release collapses them into a single release on the next workflow run.

One-time setup

These steps need to be done once in the GitHub UI before the workflow can publish:

  1. PyPI account + token — create a PyPI account, then on the API tokens page generate an account-scoped token (the project doesn't exist on PyPI yet, so it can't be project-scoped on the first release; re-scope it to mouser-search-mcp after the first successful publish).
  2. Repo secret — in GitHub: Settings → Secrets and variables → Actions → New repository secret, name PYPI_API_TOKEN, paste the token value.
  3. Workflow permissions — Settings → Actions → General → Workflow permissions must be set to Read and write permissions so semantic-release can push the version bump commit and tag.

After that, just merge to main with a feat: or fix: commit and the rest happens automatically. To skip a release, use a non-bumping prefix (docs:, chore:, etc.) or include [skip ci] in the commit message.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for the Mouser Electronics Search API from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mouser-search-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research