Code402 Verify Mcp

io.github.89rat由 GitHub 帳號 89rat 發布v0.2.0更新於 Oct 25, 2026

Verify code402 XDR-1 receipts: keccak digest + secp256k1 signer recovery. Free, stateless.

已驗證Streamable HTTP可網頁執行資料庫金融安全與監控

概覽

AI 產生的概覽

一個遠端 MCP 伺服器,用於驗證 XDR-1 簽章收據,並提供付費的合規檢查與以太坊鏈上查詢,包括 IBAN、制裁名單和地址驗證。

可以做什麼
離線驗證 XDR-1 簽章收據,支援單筆或批次,回傳簽署者還原結果與完整性摘要;免費查詢 code402 工具的定價與可用性。驗證各類識別碼:IBAN、LEI、Luhn 卡號、Mod 97-10 餘數以及 EVM 地址校驗碼。依 OFAC、聯合國和歐盟制裁名單篩查以太坊地址與實體名稱。執行組合合規包,回傳各檢查項結果及簽章收據。查詢以太坊主網:區塊高度、ETH 與 ERC-20 餘額、nonce、gas 價格、交易詳情與收據、已部署位元組碼以及 ENS 名稱解析。
適用情境
適合需要核驗 code402 收據真偽、驗證金融識別碼、依制裁名單篩查交易對象,或在不執行節點的情況下讀取以太坊主網基本狀態的情境。
執行需求
遠端 streamable HTTP 端點;未宣告任何套件、帳號、API 金鑰或請求標頭。多數工具按次收費,除收據驗證和價格查詢外,需要可用的 x402 付款設定。需要能存取該端點及以太坊資料。
安裝前請注意
多數工具按次收費,單次約 0.0029 美元,組合包最高約 0.50 美元,自動化呼叫會產生費用。識別碼、地址及實體名稱會傳送給第三方服務進行驗證和篩查。回傳結果僅為驗證與篩查訊號,不構成權威合規或法律結論。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.89rat%2Fcode402-verify-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "code402-verify": {
      "type": "http",
      "url": "https://verify.code402.dev/mcp"
    }
  }
}

工具

18

x402_verify

Verify one or more XDR-1 signed receipts offline (free). Returns valid/invalid per receipt with signer recovery, declared signer comparison, and integrity digest. Supply raw_receipt as JSON string or array for batch.

輸入參數raw_receipt必填settlement_asset

price_lookup

Look up pricing for any code402 tool (free). Returns current x402 pricing tiers, accepted networks, and tool availability. Use tool_name for named lookups or url for URL-based lookups.

輸入參數urltool_name

iban_check

Paid ($0.0029). Validate an IBAN: ISO 13616 structure, country registration, length, MOD 97-10 checksum. Returns pass/fail with all checks and issues. Covers 50 countries.

輸入參數iban必填

sanctions_check

Paid ($0.0029). Screen Ethereum addresses and entity names against OFAC/UN/EU sanctions lists. Returns clear/hit with matched entries. Supports both EVM addresses and human-readable names.

輸入參數namesaddresses

onchain_address_check

Paid ($0.0029). Validate an EVM address format and EIP-55 mixed-case checksum. Returns valid/invalid with normalization and checksum status.

輸入參數address必填

lei_check

Paid ($0.0029). Validate a Legal Entity Identifier (LEI, ISO 17442). Checks 20-char alphanumeric format and Mod 97-10 check character. Verified via Rust WASM engine.

輸入參數lei必填

luhn_check

Paid ($0.0029). Validate a payment card or account number using the Luhn algorithm (ISO/IEC 7812-1). Checks numeric format and Mod-10 checksum. Verified via Rust WASM engine.

輸入參數number必填

mod97_check

Paid ($0.0029). Calculate ISO 7064 Mod 97-10 remainder for any alphanumeric string. Returns the remainder (0-96, valid=1). Used for IBAN, LEI, and custom identifier validation. Verified via Rust WASM engine.

輸入參數input必填

bundle_verify

Paid ($0.0029–$0.50). Multi-gate compliance bundle: run any combination of IBAN validation, sanctions screening, and EVM address validation in a single call. Returns all gate results + XDR-1 signed receipt. Tier auto-detected from field count.

輸入參數ibantiersanctionsonchain_address

chain_block_number

Paid ($0.0029). Get the latest Ethereum mainnet block number. Returns block height and timestamp.

無需輸入參數。

chain_balance

Paid ($0.0029). Get native ETH balance of any Ethereum address. Returns balance in wei and ETH.

輸入參數address必填

chain_erc20_balance

Paid ($0.0029). Get ERC-20 token balance via balanceOf. Returns balance in raw and human-readable form.

輸入參數token必填address必填

chain_nonce

Paid ($0.0029). Get the next transaction nonce for an Ethereum address.

輸入參數address必填

chain_tx

Paid ($0.008). Get Ethereum transaction details by hash. Returns from, to, value, gas used, status, block info.

輸入參數hash必填

chain_ens_resolve

Paid ($0.008). Resolve a .eth ENS name to its Ethereum address via the universal resolver.

輸入參數name必填

chain_gas_price

Paid ($0.0029). Get the current Ethereum mainnet gas price. Returns base fee, priority fee, and max fee in wei and gwei. Useful for estimating transaction costs.

無需輸入參數。

chain_tx_receipt

Paid ($0.008). Get the receipt of a confirmed transaction. Returns status (success/fail), gas used, logs, contract address if deployment.

輸入參數hash必填

chain_code

Paid ($0.0029). Get the deployed bytecode at an address. Returns hex bytecode (empty = EOA, non-empty = contract). Useful for distinguishing contracts from wallets.

輸入參數address必填

版本歷史

1
  1. v0.2.0最新Oct 25, 2026

評分

已滿足適用檢查項的 83%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。