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.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

本機 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 的網路。
安裝前請注意
付費呼叫會從設定的錢包實際支出 USDC,請保持餘額較少並以 DATABROKER_MAX_USDC 設定單次上限。raw 模式下 DATABROKER_WALLET_KEY 中的私鑰存在於行程環境中,應使用專用的低餘額錢包。僅支援 MCP elicitation 的用戶端才會對每筆扣款進行人工確認;否則只有模型傳入的 confirm 作為把关,除非設定 DATABROKER_REQUIRE_ELICITATION。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Databroker,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

ToolCostPurpose
databroker_discoverfreeList enabled datasets, their kind, and per-call USDC prices
databroker_fetchfree to quote, paid to confirmFetch a single datapoint for a dataset + key
databroker_metafreeStaleness/TTL/source info for a datapoint, without paying for it
databroker_healthfreeAPI uptime check
databroker_batch_createfree to quote, paid to confirmFetch up to 100 keys from one on-demand dataset in a single job, one payment total
databroker_batch_statusfreePoll a batch job created by databroker_batch_create

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

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

  2. Add to Claude Desktop (claude_desktop_config.json):

json
{  "mcpServers": {    "databroker": {      "command": "npx",      "args": ["-y", "@mossforge/databroker-mcp"],      "env": {        "DATABROKER_BASE_URL": "https://api.databroker.mossforge.dev",        "DATABROKER_WALLET_KEY": "0x...",        "DATABROKER_MAX_USDC": "0.50"      }    }  }}
bash
claude mcp add --transport stdio \  --env DATABROKER_BASE_URL=https://api.databroker.mossforge.dev \  --env DATABROKER_WALLET_KEY=0x... \  databroker -- npx -y @mossforge/databroker-mcp
  1. 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 from DATABROKER_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 and CDP_API_KEY_ID / CDP_API_KEY_SECRET / CDP_WALLET_SECRET, plus npm install @coinbase/cdp-sdk (it's an optional dependency, not installed by default).

Security notes

  • Use a dedicated, low-balance wallet. In raw mode 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-3009 transferWithAuthorization payloads.
  • 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_fetch and databroker_batch_create never spend money unless called again with confirm: 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 (confirmWithHuman in lib.ts), not left to the calling model's judgement. On clients without elicitation support this extra check is skipped (see DATABROKER_REQUIRE_ELICITATION below if you'd rather it fail closed instead).

Env vars

VarRequiredDefaultNotes
DATABROKER_BASE_URLyes—e.g. https://api.databroker.mossforge.dev
DATABROKER_SIGNERnorawraw or cdp — see Who holds the wallet
DATABROKER_WALLET_KEYyes, if SIGNER=raw—0x-prefixed private key
CDP_API_KEY_IDyes, if SIGNER=cdp—Coinbase CDP API key id
CDP_API_KEY_SECRETyes, if SIGNER=cdp—Coinbase CDP API key secret
CDP_WALLET_SECRETyes, if SIGNER=cdp—Coinbase CDP wallet secret
DATABROKER_MAX_USDCno0.50Per-call spend cap, enforced regardless of signer
DATABROKER_REQUIRE_ELICITATIONnofalseIf true, block paid calls on clients that don't advertise MCP elicitation support, instead of falling back to confirm: true alone

來源:mcp-server/README.md,提交 adb015a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.5.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分