
Databroker
dev.mossforge由 mossforge.dev 发布v0.5.0更新于 Oct 24, 2026
Pay-per-call UK MOT history, reliability analytics and identifier utilities. x402 USDC on Base.
概览
本地 MCP 服务器,让助手按次付费获取英国 MOT 车检历史与车辆可靠性数据,费用以 Base 链上的 USDC 从钱包支付。
- 可以做什么
- 发现已启用的数据集及其每次调用的 USDC 价格,并免费检查 API 健康状态或数据点的时效信息,无需为数据本身付费。对单个数据集与键的取数先报价、再确认,只有再次确认调用后才付款。为单个数据集创建最多 100 个键的批量任务,一次总付款,并可轮询任务状态。
- 适用场景
- 当助手需要英国车辆 MOT 车检历史、里程真实性判断或全英可靠性分析,且你愿意从钱包支付少量按次 USDC 费用、而不使用 API 密钥或订阅时适用。
- 运行要求
- 通过 npx 从 npm 包在本地运行,仅支持桌面客户端。需要 DATABROKER_BASE_URL 和一个已充值的 Base 主网 USDC 钱包:默认 raw 签名方式需 DATABROKER_WALLET_KEY,或使用 Coinbase CDP 账户及 CDP_API_KEY_ID、CDP_API_KEY_SECRET、CDP_WALLET_SECRET 和可选的 CDP SDK。需要能访问 DataBroker API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Databroker,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
databroker-mcp-server
Give any MCP-capable agent (Claude Desktop, Claude Code, Cursor, etc) pay-per-call access to MossForge DataBroker — UK vehicle MOT intelligence, UK-wide reliability analytics — with x402 USDC micropayments on Base mainnet handled automatically. No API keys, no subscription: fund a wallet, ask questions.
Tools
Payments are never automatic. databroker_fetch and databroker_batch_create always quote the price first — nothing is paid until the tool is called again with confirm: true. Every paid call is also capped by DATABROKER_MAX_USDC (default 0.50); a call priced above the cap is declined before anything is paid.
Payment approval is enforced by the server, not by the calling model, on clients that support it. Immediately before any payment, this server sends an MCP elicitation request through the connected client, asking the human directly to approve or decline the exact charge — independent of whatever confirm value the model passed. Claude Code (CLI) supports this as of v2.1.76; other clients (Claude Desktop, Cursor, etc.) may not yet.
If the connected client doesn't advertise elicitation support, the server falls back to the pre-elicitation guarantee — confirm: true from the calling model, still capped by DATABROKER_MAX_USDC — rather than blocking every paid call. Set DATABROKER_REQUIRE_ELICITATION=true to instead hard-block paid calls on clients without elicitation support, if you know your client supports it and want the stricter guarantee. The server logs which mode is active on startup and the first time a non-elicitation client connects.
Setup
-
Create a fresh EOA wallet and fund it with a few USDC on Base mainnet (plus nothing else — no ETH needed; EIP-3009 transfers are gasless for the payer).
-
Add to Claude Desktop (
claude_desktop_config.json):
- Ask: "Should I buy this 2018 Golf, reg AB18 CDE? Check its MOT history and whether the mileage looks genuine."
Who holds the wallet
Two signer providers are supported, set via DATABROKER_SIGNER:
raw(default) — a private key you hold, read fromDATABROKER_WALLET_KEY. Zero setup beyond a funded wallet, but the key material is only as safe as this process's environment, and the spend cap is enforced by this codebase alone.cdp— pays from a Coinbase CDP-managed wallet. No private key ever touches this process; CDP signs remotely and can enforce spend policies (session caps, allowed tokens) at the custodian layer. Requires a CDP account andCDP_API_KEY_ID/CDP_API_KEY_SECRET/CDP_WALLET_SECRET, plusnpm install @coinbase/cdp-sdk(it's an optional dependency, not installed by default).
Security notes
- Use a dedicated, low-balance wallet. In
rawmode the key never leaves your machine; payments are signed locally via the@x402/*v2 protocol stack (@x402/fetch+@x402/core/client+@x402/evm/exact/client), producing EIP-3009transferWithAuthorizationpayloads. - The per-call cap (
DATABROKER_MAX_USDC) is the blast radius for any single call and is checked before any payment is sent — a call priced above it is declined, not charged. Total exposure is otherwise the wallet balance — keep it small. - Every paid call goes through a quote first:
databroker_fetchanddatabroker_batch_createnever spend money unless called again withconfirm: true. - On top of that, when the connected client advertises MCP elicitation support, every payment also requires a human to explicitly accept a prompt sent by the server itself, naming the exact URL and USDC amount — enforced in code (
confirmWithHumaninlib.ts), not left to the calling model's judgement. On clients without elicitation support this extra check is skipped (seeDATABROKER_REQUIRE_ELICITATIONbelow if you'd rather it fail closed instead).
Env vars
来源:mcp-server/README.md,提交 adb015a
工具
0版本历史
1- v0.5.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分