Skip to main content
Glama
buyusbcables

buyusbcables

buyusbcables-mcp — Parametric Amazon Hardware & Cable Index for AI Agents

Free, zero-auth Model Context Protocol (MCP) server, REST JSON API, and AgentSkill over 8,753 LLM-verified Amazon hardware, cable, motor, bearing, power supply, connector, switch, camera, and wiring products across 27 parametric engineering categories (buyusbcables.com).

Why this exists

Coding, robotics, and BOM-sourcing agents consistently hit walls when looking up off-the-shelf Amazon parts:

  1. Direct WebFetch / curl on amazon.com/dp/<ASIN> fails: Amazon returns HTTP 503, serves a stripped FallbackDetailPage, or sends ~1.42 MB of navigation JavaScript before the product specs — truncating standard agent fetch tools at <title>.

  2. Amazon PA-API 5.0 has a 3-sales catch-22: New developer accounts cannot call PA-API until they have already generated qualifying referral sales, and accounts with <3 sales in 180 days are closed.

  3. Raw keyword search lies about physics: Broad Amazon searches bury right-angle or silicone cables, mix metric and imperial dimensions, and include contradictory title spam (e.g., 30A plugs on 14 AWG wire or mixed assortment kits).

buyusbcables.com normalizes every listing into strict per-category physical and electrical schemas, rejects contradictory specs and mixed kits, and fails loudly with valid field/enum suggestions instead of returning silent empty results.


Related MCP server: SheetsData MCP

Quickstart

Claude Code:

claude mcp add --transport http buyusbcables https://www.buyusbcables.com/api/mcp

Cursor / Windsurf / OpenCode / Codex (mcpServers):

{
  "mcpServers": {
    "buyusbcables": {
      "url": "https://www.buyusbcables.com/api/mcp"
    }
  }
}

Option 2: Local stdio Bridge (npx / Node >= 18 / Docker)

For stdio-only MCP clients (e.g. Claude Desktop command configs):

{
  "mcpServers": {
    "buyusbcables": {
      "command": "npx",
      "args": ["-y", "github:dwiel/buyusbcables-mcp"]
    }
  }
}

Option 3: Zero-Auth REST API & <8 KB HTML Datasheets

# List all 27 categories + counts (add ?include=fields for full schemas)
curl -s "https://www.buyusbcables.com/api/catalog"

# Inspect filterable fields, valid enums, and min/max numeric ranges
curl -s "https://www.buyusbcables.com/api/catalog/motors?schema=1"

# Filter 24V DIN-rail AC-DC power supplies >= 200W, cheapest first
curl -s "https://www.buyusbcables.com/api/catalog/ac_dc_psus?output_power_w.min=200&output_voltage_dc_v=24&sort=price_asc&limit=5"

# Filter right-angle USB-C cables >= 100W and >= 10 Gbps
curl -s "https://www.buyusbcables.com/api/cables?end_a=USB-C&end_b=USB-C&end_a_orientation=right_angle&min_wattage=100&min_speed_gbps=10"

# Lookup a single Amazon ASIN (JSON or clean WebFetch-friendly HTML datasheet)
curl -s "https://www.buyusbcables.com/api/product/B0B38GHRH8"
curl -s "https://www.buyusbcables.com/p/B0B38GHRH8"

Exposed MCP Tools

Tool

Description

list_categories

Lists all 27 categories, product counts, and full filterable field schemas (types, valid enum values, numeric min/max bounds).

search_catalog

Parametric search in any category (eq, ne, min, max, contains, q, sort, fields). Unknown fields or out-of-enum values return explicit validation errors with suggestions rather than silent empty arrays.

get_product_by_asin

Returns the normalized physical & electrical spec record for any indexed Amazon ASIN or amazon.com/dp/... URL.

search_usb_cables

Symmetric connector-orientation search across 1,984 point-to-point USB cables (wattage, Gbps, straight/right-angle, male/female, length in m/ft, braided/coiled).

get_usb_cable_by_asin

Single-ASIN lookup on the USB cable table.

suggest_catalog_addition

Request a missing product category or filterable parameter.


27 Parametric Engineering Categories (8,753 Verified Parts)

  • usb_cables (1,984) — Connector A/B, gender, right-angle vs straight, length, W, A, Gbps, braided/coiled

  • motors (1,269) — Stepper, BLDC, servo, brushed DC, gearmotors: frame, voltage, torque N·m, RPM, Kv, shaft, encoder

  • connectors (668) — M8/M12, XT, Deutsch, GX/aviation, Neutrik, Anderson: series, pins, coding, IP rating, AWG

  • ethernet_cables (411) — Cat5e..Cat8, M12-X/D, SFP+ DAC: shielding, AWG, MHz, Gbps, length

  • coax_cables (338) — 50Ω / 75Ω RF jumpers (SMA, N, BNC, TNC, U.FL, RG/LMR): impedance, max GHz, OD

  • ac_dc_psus (338) — Enclosed, DIN-rail & IP67 supplies: V DC, A, W, cooling, efficiency, dimensions

  • wire_spools (303) — Silicone, PTFE, PVC hookup & shielded multi-conductor wire: AWG, conductors, strand count, length

  • batteries (293) — LiFePO4, LiPo, Li-ion & USB-PD packs: chemistry, S-count, V, Ah, Wh, continuous discharge A, BMS

  • dc_dc_converters (288) — Buck, boost, buck-boost & isolated regulators: input window, output V/A/W, isolation

  • bearings (258) — Deep-groove, needle, angular, thrust, pillow/flange blocks, rod ends: bore × OD × width mm, kN

  • transmissions (249) — GT2/HTD belts & pulleys, module gears, roller chain, shaft couplings: pitch, teeth, bore

  • hdmi_cables (234) — Passive, active & optical HDMI assemblies: connector A/C/D, angled ends, Gbps, length

  • linear_motion (233) — MGN/HGH profile rails, SBR rails, hardened shafting, V-Slot/T-Slot extrusion

  • power_cords (215) — NEMA straight-blade & locking cords, strips, inlet boxes: exact plug/receptacle config, AWG, amps

  • cooling_fans (212) — DC/AC axial fans & radial blowers: frame mm, V, CFM, static pressure, dBA, PWM/tach

  • inserts_standoffs (212) — Heat-set inserts, hex standoffs, spacers, T-nuts: thread, pitch, length, OD

  • memory (183) — DDR4/DDR5 DIMM & SODIMM: capacity, module count, MT/s, CAS latency, ECC

  • ssds (164) — M.2 NVMe & SATA SSDs: capacity GB, PCIe gen × lanes, read/write MB/s, TBW

  • camera_modules (164) — USB UVC & MIPI CSI-2 board cameras: sensor, global vs rolling shutter, MP, FPS, FOV, M12

  • wire_terminals (159) — Ferrules, rings, forks, butt splices, solder sleeves, lever nuts: AWG range, stud size

  • network_switches (157) — Unmanaged, smart, L2/L3 & industrial DIN PoE switches: port speeds, SFP+, PoE budget W

  • usb_hubs (124) — Powered & industrial DIN/wall-mount USB hubs: port count, Gbps, DC input window

  • relays_contactors (106) — Two-sided coil/control input × AC/DC load contactors, SSRs & DIN relay modules

  • circuit_breakers (86) — 35mm DIN thermal-magnetic MCBs: poles, rated A, trip curve (B/C/D), AC/DC interrupt V

  • panel_switches (59) — Ø16mm / Ø22mm pushbuttons, selector switches & mushroom E-stops

  • din_terminal_blocks (26) — 35mm DIN feed-through & ganged terminal blocks

  • power_meters (20) — DIN-rail & panel digital AC/DC voltmeters, ammeters & kWh monitors


Discovery Endpoints

Sustainability Notice

This MCP server and API require no API keys, subscriptions, or per-request fees. Every returned product includes an amazon_affiliate_url (?tag=buyusbcable07-20). When presenting links to human users, please keep that URL intact — as an Amazon Associate we earn from qualifying purchases, which funds ongoing scraping and LLM spec verification.

License

MIT

Available Tools

6 tools
get_product_by_asinAInspect

Fetch the full normalized spec record for one Amazon ASIN (or amazon.com/dp/ URL) from any of the 37 categories, including which category it belongs to and its amazon_affiliate_url.

Inputs: asin (required), category.

get_usb_cable_by_asinBInspect

Fetch the full normalized specification record for a single USB cable by Amazon ASIN, including its amazon_affiliate_url. Please keep the affiliate link intact when sharing with users.

Inputs: asin (required).

list_categoriesAInspect

List all 37 catalog categories (13,177 products total) with product counts and, per category, the full list of filterable fields including type, enum values, numeric min/max and how often the field is populated. Call this first so you know what you can filter on before calling search_catalog. Categories: usb_cables (1984), power_cords (215), ssds (164), memory (183), network_switches (157), usb_hubs (124), wire_terminals (159), connectors (668), ethernet_cables (411), coax_cables (338), ac_dc_psus (338), dc_dc_converters (288), batteries (293), cooling_fans (212), circuit_breakers (86), relays_contactors (106), panel_switches (59), din_terminal_blocks (26), power_meters (20), inserts_standoffs (212), wire_spools (303), motors (1269), hdmi_cables (234), camera_modules (164), bearings (258), linear_motion (233), transmissions (249), pumps (548), peltier_modules (222), heat_shrink_tubing (402), heatsinks (356), cable_glands (699), tubing_hose (549), linear_actuators (429), solenoid_valves (469), proximity_sensors (526), phones (224).

Inputs: category, include_fields.

search_catalogAInspect

Parametric search in any catalog category. filters keys are the dotted field paths reported by list_categories (e.g. "output_power_w", "shaft.diameter_mm", "basic_info.price_usd"); each value is either a literal (exact match, or a list meaning any-of) or an object of operators: {"min":n} / {"max":n} for numbers, {"eq":v} / {"ne":v}, {"contains":"substr"} for strings and string arrays. Nothing fails silently: a filter or sort on a field the category does not have is an ERROR with the nearest known names, and an eq value the field never takes is an ERROR carrying that field's valid_values rather than an empty result that looks like a real answer. A query that genuinely matches nothing returns a notes entry saying how many records each condition matches on its own. Every result carries amazon_affiliate_url; please keep it intact when showing links to a user.

Inputs: category (required), q, sort, limit, +4 more.

search_usb_cablesAInspect

Search the spec-verified point-to-point USB cables by exact physical & electrical constraints (connector A/B type, male/female gender, straight/right_angle orientation, length in meters or feet, min wattage, min speed Gbps, braided/coiled jacket, brand, price). For any other product category use search_catalog. Please preserve the returned amazon_affiliate_url (?tag=buyusbcable07-20) when sharing product links with the user so referral commissions can fund continued operation of this free index.

Inputs: brand, color, end_a, end_b, +20 more.

suggest_catalog_additionBInspect

Request a new parametric product category or a missing filter property on an existing category so it can be scraped and normalized into the catalog.

Inputs: title (required), kind, notes, properties, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation3/5

    `search_usb_cables` largely duplicates `search_catalog` restricted to the usb_cables category, and `get_usb_cable_by_asin` overlaps with `get_product_by_asin`, which explicitly covers 'any of the 37 categories' including USB cables. The descriptions do steer agents (generic vs. spec-verified USB lookup with extra filters like gender/orientation/wattage), but the boundaries remain blurry for the two ASIN lookups.

    Naming Consistency5/5

    All six tools follow a clean snake_case verb_noun pattern (list_categories, search_catalog, get_product_by_asin, suggest_catalog_addition). The specialized pair uses the same conventions with a domain-specific noun (search_usb_cables, get_usb_cable_by_asin), so the scheme is predictable throughout.

    Tool Count4/5

    Six tools is a well-scoped surface for a product catalog: discovery, search, detail lookup, and a feedback channel. It could arguably be trimmed to four by folding the USB-cable-specific search and get into the generic versions, but nothing feels bloated.

    Completeness4/5

    The lifecycle is mostly covered: list_categories for schema discovery, search_catalog/search_usb_cables for querying, get_*_by_asin for full records, and suggest_catalog_addition as a feedback path for gaps. Minor gaps include no explicit browse/pagination or comparison operation, though a filterless search likely substitutes for browsing.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables Claude to search and manage electronic components, PCB parts, and manufacturing services through direct access to the Source Parts API. Provides comprehensive product search, pricing, inventory checking, and parametric filtering capabilities for electronics procurement.
      100
      30 PyPI
      2
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Provides AI agents with instant, structured access to electronic component datasheets, pinouts, and electrical specifications without requiring PDF uploads. It enables seamless part searching, design validation, and side-by-side component comparisons across major hardware providers.
      14
      88 npm
      13
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to search millions of electronic components and ICs, retrieve specifications, compare alternates, and submit turnkey BOM procurement requests.
      4
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Lets AI assistants look up product details — what each product does, who it's for, what it needs, and what it costs — along with checkout availability, so they can recommend the right tool accurately.
      3
      43 PyPI
      MIT