Urdb Mcp

io.github.GetMystAdmin由 GitHub 账号 GetMystAdmin 发布v1.0.2更新于 Nov 3, 2026

Search URDB for product integrity scores, enshittification events, and change tracking.

已验证STDIO仅桌面开发者工具商业与电商

概览

AI 生成的概览

URDB 的本地 MCP 服务器,为助手提供 76 个电子、硬件与固件计算器,以及产品诚信评分和变更记录查询。

可以做什么
  • 运行元件、电路、电源与布线、固件、射频与信号、机械及参考类工程计算器,返回结果、机器可读数值和推导过程
  • 按名称或关键词搜索产品并查看其诚信评分
  • 获取某产品在七个维度上的完整诚信评分明细
  • 按类别、品牌或评分列出和筛选产品
  • 查询某产品有记录的降级、缩水与保修削减事件
适用场景
适合助手协助电子或固件设计、需要精确计算值而非估算时使用;也适合在购买或推荐产品前核查该产品是否逐年变差。
运行要求
以 stdio 本地运行,通常通过 npx 启动,需要 Node.js。需在 URDB_API_KEY 环境变量中提供 URDB API 密钥,可从服务商设置页面获取;可选 URDB_API_URL 可覆盖 API 地址。计算器和产品数据都需要访问 URDB API 的网络连接。
安装前请注意
API 密钥以明文环境配置传入并发送给 URDB API。该包只是轻量代理:计算器目录和工具 schema 在启动时从远程 API 获取,因此工具定义来自服务器而非已安装的包。产品查询和计算器输入会发送给第三方。免费额度对计算器调用有每日上限。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Urdb Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

urdb-mcp

[图片]

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).

json
{  "mcpServers": {    "urdb": {      "command": "npx",      "args": ["urdb-mcp"],      "env": {        "URDB_API_KEY": "urdb_live_your_key_here"      }    }  }}

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_<name>:

CategoryCovers
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/<name>.

Product data

ToolDescription
urdb_searchSearch products by name or keyword, with integrity scores
urdb_get_productFull integrity breakdown across 7 dimensions
urdb_get_changesDocumented enshittification events for a product
urdb_list_productsList/filter products by category, brand, score

How it works

This package is a thin stdio→HTTPS proxy for https://urdb.io/api/v1. It contains no calculation logic: the catalogue and every tool's JSON Schema are fetched from /api/v1/tools when the server starts.

That means a calculator added to URDB shows up here on your next restart, and a fix reaches you via a deploy rather than npm update. If the API is unreachable the server still starts and serves the product tools, and retries the catalogue on the next tools/list.

Calculators follow published standards where one exists — IPC-2221 and IPC-2141 for trace geometry, IEC 60063 for E-series, IEC 60127 for fuses, ISO 11898-1 for CAN, IEEE 754 for floats. Where a result is an extrapolation rather than a measurement, the tool says so.

REST API

Everything here is available over plain HTTP:

bash
curl -H "Authorization: Bearer $URDB_API_KEY" https://urdb.io/api/v1/tools
curl -X POST https://urdb.io/api/v1/tools/uart-baud-rate \  -H "Authorization: Bearer $URDB_API_KEY" \  -H "Content-Type: application/json" \  -d '{"clockHz": 16000000, "baud": 9600, "family": "avr-normal"}'

Full docs: urdb.io/api

Configuration

VariableRequiredDescription
URDB_API_KEYyesYour key from urdb.io/settings/api-keys
URDB_API_URLnoAPI base URL. Defaults to https://urdb.io/api/v1.

Development

bash
npm run typechecknpm run build     # bundle to dist/index.jsnpm test          # stdio end-to-end against a mock API

License

MIT

来源:README.md,提交 3174463

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分