Skip to content

/mouser

Search Mouser Electronics for electronic components — secondary source for prototype orders. Find parts, check pricing/stock, download datasheets, analyze specifications. Use with KiCad for BOM creation and part selection. Also supports batch MPN-list seeding (`--mpn-list`) for

From plugin
kicad-happy
1.6k11 skills

Claude Code

$ npx -y skills add aklofas/kicad-happy --skill mouser --agent claude-code

SKILL.md

mouser.SKILL.md
name: mouser
description: Search Mouser Electronics for electronic components — secondary source for prototype orders. Find parts, check pricing/stock, download datasheets, analyze specifications. Use with KiCad for BOM creation and part selection. Also supports batch MPN-list seeding (`--mpn-list`) for bulk datasheet workflows without a KiCad project. Use this skill when the user specifically mentions Mouser, when DigiKey is out of stock or has worse pricing, when comparing prices across distributors, or when searching for parts that DigiKey doesn't carry. For package cross-reference tables and BOM workflow, see the `bom` skill.

Mouser Electronics Parts Search & Analysis

Related Skills

| Skill | Purpose | |-------|---------| | `kicad` | Schematic analysis — extracts MPNs for part lookup | | `bom` | BOM management — orchestrates sourcing across distributors | | `digikey` | Primary prototype source (prefer for datasheets — direct PDF links) | | `spice` | Uses Mouser parametric data for behavioral SPICE models |

Mouser is the **secondary source for prototype orders** — use when DigiKey is out of stock or has worse pricing. For production orders, see `lcsc`/`jlcpcb`. For BOM management and export workflows, see `bom`. For datasheets, prefer DigiKey's API (direct PDF links) — Mouser blocks automated PDF downloads.

API Credential Setup

Mouser uses **simple API key authentication** — no OAuth, no tokens, no callback URLs. The Search API key is a UUID passed as a query parameter.

Getting Your API Key

1. Go to [mouser.com](https://www.mouser.com) → My Mouser → My Account 2. Under "APIs" section, click "Manage" 3. Register for **Search API** key — this is the one needed for part lookups and datasheet downloads 4. Search API keys may require approval (status shows "pending authorization" initially)

Setting Credentials

Set the environment variable before running the scripts:

export MOUSER_SEARCH_API_KEY=your-search-api-key-uuid

If credentials are stored in a central secrets file (e.g., `~/.config/secrets.env`), load them first:

export $(grep -v '^#' ~/.config/secrets.env | grep -v '^$' | xargs)

Mouser Search API Reference

All search endpoints use the Search API key as a query parameter: `?apiKey=<key>`. Content-Type is `application/json` for all POST requests.

V1 Endpoints

Keyword Search

POST /api/v1/search/keyword?apiKey=<key>
{
  "SearchByKeywordRequest": {
    "keyword": "100nF 0402 ceramic capacitor",
    "records": 50,
    "startingRecord": 0,
    "searchOptions": "InStock"
  }
}
  • `searchOptions`: `"None"` | `"Rohs"` | `"InStock"` | `"RohsAndInStock"`
  • `records`: max 50 per request
  • `startingRecord`: offset for pagination

Part Number Search

POST /api/v1/search/partnumber?apiKey=<key>
{
  "SearchByPartRequest": {
    "mouserPartNumber": "GRM155R71C104KA88D|RC0402FR-0710KL",
    "partSearchOptions": "Exact"
  }
}
  • Up to **10 part numbers**, pipe-separated (`|`)
  • Works with both Mouser part numbers AND manufacturer part numbers (MPNs)
  • `partSearchOptions`: `"Exact"` | `"BeginsWith"` | `"Contains"`

V2 Endpoints

V2 adds manufacturer filtering and pagination by page number.

Keyword + Manufacturer Search

POST /api/v2/search/keywordandmanufacturer?apiKey=<key>
{
  "SearchByKeywordMfrNameRequest": {
    "keyword": "LMR51450",
    "manufacturerName": "Texas Instruments",
    "records": 25,
    "pageNumber": 1,
    "searchOptions": "InStock"
  }
}

Note: the wrapper object name is `SearchByKeywordMfrNameRequest` (not `SearchByKeywordMfrRequest` — the V1 name is deprecated).

Part Number + Manufacturer Search

POST /api/v2/search/partnumberandmanufacturer?apiKey=<key>

Manufacturer List

GET /api/v2/search/manufacturerlist?apiKey=<key>

Returns the full list of manufacturer names for use in filtered searches.

V1 Deprecated Endpoints

These still work but V2 equivalents are preferred:

  • `POST /api/v1/search/keywordandmanufacturer` → use V2
  • `POST /api/v1/search/partnumberandmanufacturer` → use V2
  • `GET /api/v1/search/manufacturerlist` → use V2

Search Response Structure

All search endpoints return the same response format:

{
  "Errors": [],
  "SearchResults": {
    "NumberOfResult": 142,
    "Parts": [...]
  }
}

Key Part Fields

| Field | Type | Description | |-------|------|-------------| | `MouserPartNumber` | string | Mouser's internal part number (prefixed, e.g., `81-GRM155R71C104KA88`) | | `ManufacturerPartNumber` | string | Manufacturer's part number (MPN) — use for cross-distributor matching | | `Manufacturer` | string | Manufacturer name | | `Description` | string | Product description | | `Category` | string | Product category | | `DataSheetUrl` | string | URL to datasheet PDF (Mouser-hosted — see Datasheet section) | | `ProductDetailUrl` | string | URL to Mouser product page | | `ImagePath` | string | Product image URL | | `Availability` | string | Human-readable stock text (e.g., "2648712 In Stock") | | `AvailabilityInStock` | string | Numeric stock quantity (as string) | | `AvailabilityOnOrder` | array | Incoming stock: `[{Quantity, Date}]` | | `LeadTime` | string | Factory lead time (e.g., "84 Days") | | `LifecycleStatus` | string\|null | "New Product", "End of Life", etc. | | `IsDiscontinued` | string | "true" or "false" (string, not boolean) | | `SuggestedReplacement` | string | Replacement MPN if discontinued | | `Min` | string | Minimum order quantity (as string) | | `Mult` | string | Order multiple (as string) | | `Reeling` | bool | Tape-and-reel packaging available | | `ROHSStatus` | string | RoHS compliance status | | `PriceBreaks` | array | Tiered pricing: `[{Quantity, Price, Currency}]` | | `ProductAttributes` | array | Parametric specs: `[{AttributeName, AttributeValue}]` | | `AlternatePackagings` | array\|null | Alternate packaging MPNs: `[{APMfrPN}]` | | `SurchargeMessages` |

Read more
@aklofas
Ships withkicad-happy

AI-powered design review for KiCad. Analyzes schematics, PCB layouts, and Gerbers. Catches real bugs before you order boards.

Stars on GitHub

Momentum

stars in total
1.6k
Star history of aklofas/kicad-happy on GitHub, a chart by star-history.com

Other skills on kicad-happy.

bom
Auto-invoked

bom

BOM (Bill of Materials) management for electronics projects — the workflow skill that coordinates DigiKey, Mouser, LCSC,…

@aklofas@aklofasInstall Skill
datasheets
Auto-invoked

datasheets

Extract structured specifications from electronic component datasheet PDFs — pinouts, electrical characteristics, peripherals,…

@aklofas@aklofasInstall Skill
digikey
Auto-invoked

digikey

Search DigiKey for electronic components and download datasheets — primary source for prototype orders and the preferred API…

@aklofas@aklofasInstall Skill
element14
Auto-invoked

element14

Search Newark, Farnell, and element14 for electronic components — find parts by MPN or distributor part number, check…

@aklofas@aklofasInstall Skill
emc
Auto-invoked

emc

EMC pre-compliance risk analysis for KiCad PCB designs — 18 check categories, 44 rule IDs covering ground planes, decoupling, I/O…

@aklofas@aklofasInstall Skill
jlcpcb
Auto-invoked

jlcpcb

JLCPCB PCB fabrication and assembly — BOM/CPL generation, basic vs extended parts, assembly constraints, design rules, ordering…

@aklofas@aklofasInstall Skill

More skills from other plugins.

api-review

api-review

Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…

@microsoft@microsoftInstall Skill
add-e2e-selectors

add-e2e-selectors

Add reliable @grafana/e2e-selectors to interactive elements and key containers in the Grafana frontend. Use when adding e2e…

grafana1d78k
@grafana@grafanaInstall Skill
promptfoo-evals

promptfoo-evals

Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…

@promptfoo@promptfooInstall Skill
deepeval

deepeval

DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…

@confident-ai@confident-aiInstall Skill

Questions about mouser.

Which coding agents can use mouser?
mouser installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.