Skills

Mouser

Search Mouser Electronics for electronic components, secondary source for prototype...

Install

npx skills add aklofas/kicad-happy --skill mouser -g -a claude-code -y
Repository
aklofas/kicad-happy1.6k
Category
Engineering
Updated
3d ago
License
MIT
Context cost
Mediumabout 2,683 tokens
Runs scripts
Yes, review before use

What it does

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

SkillPurpose
kicadSchematic analysis, extracts MPNs for part lookup
bomBOM management, orchestrates sourcing across distributors
digikeyPrimary prototype source (prefer for datasheets, direct PDF links)
spiceUses 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 → 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

Read the whole SKILL.md on GitHub

More in Engineering