urdb-mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
MCP server for URDB. Gives your AI assistant **76 electronics, hardware and firmware calculators** — plus the product integrity database tracking downgrades, shrinkflation, warranty cuts and enshittification.
Ask *"what UBRR do I need for 9600 baud on a 16 MHz AVR?"* and get 103 with the error percentage and the worked derivation, instead of a plausible-sounding guess.
Setup
**1. Get an API key** at urdb.io/settings/api-keys (free tier available)
**2. Add to your MCP host**
Claude Desktop config lives at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
**3. Restart your host**
Calculators are metered separately from product data — 1,000 calculator calls a day on the free tier, so an agent working through a design won't exhaust your quota on arithmetic.
Example prompts
- "Size the current-limiting resistor for a blue LED on 5 V"
- "Give me every valid CAN bit timing for 500 kbit/s on a 40 MHz clock"
- "What trace width do I need for 3 A with a 20 °C rise on an external layer?"
- "Decode this struct's padding for a 32-bit target"
- "Is 1000 km realistic on LoRa SF12?"
- "Which laptops have the highest integrity scores?"
- "Has the KitchenAid Stand Mixer gotten worse over the years?"
Tools
Call tools/list to see the current set — the calculator catalogue is fetched from the server at runtime, so it grows without a package update.
Calculators
76 tools across seven categories, named calc_ :
| Category | Covers |
|----------|--------|
| **Components** (11) | Resistor and capacitor colour/SMD codes, E-series snapping, LED resistors, RC time constants, series/parallel networks |
| **Circuits** (16) | 555 timers, op-amps, filters, buck/boost converters, MOSFET gate drive, Ohm's law, zener and LM317 regulators, Schmitt triggers |
| **Power & Wiring** (13) | PCB trace width and impedance, wire gauge, voltage drop, fuse sizing, heat sinks, battery packs, solar sizing, via current |
| **Firmware** (22) | UART baud rates, CAN bit timing, PLL dividers, timer prescalers, CRC, IEEE 754, struct padding, bitfields, watchdogs, Intel HEX |
| **RF & Signals** (7) | Antenna lengths, LoRa airtime, path loss, VSWR, Nyquist, FFT bins, wavelength |
| **Mechanical** (4) | Stepper motors, E-steps, gear ratios, tap drill sizes |
| **Reference** (3) | Pinouts, logic levels, MCU comparison |
Each returns the answer, machine-readable values, the worked derivation and a link to the same tool on the web at https://urdb.io/tools/ .
Product data
| Tool | Description |
|------|-------------|
| urdb_search | Search products by name or keyword, with integrity scores |
| urdb_get_product | Full integrity breakdown across 7 dimensions |
| urdb_get_changes | Documented enshittification events for a product |
| urdb_list_products | List/filter products by category, brand, score |