Code402

io.github.89rat由 GitHub 帳號 89rat 發布v1.0.1更新於 Oct 24, 2026

Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取金融安全與監控

概覽

AI 產生的概覽

遠端 MCP 伺服器,在 Base 上提供確定性的加密、外匯與貿易文件檢核,結果附簽章回執,並支援 x402 付款探索。

可以做什麼
Code402 提供 24 個工具:Base 鏈查詢(區塊資訊、ETH 與 ERC-20 餘額、nonce 活動、代幣合約事實)、附快取的加密現貨價格、靜態外匯匯率表,以及 IBAN、LEI、SWIFT/BIC、比利時 VAT、印度 GSTIN、PAN、UPI VPA 與 IFSC 的結構檢核。另有批次檢核、供應商上線包、撥款前防護、EVM 位址制裁篩查、Markdown 網頁擷取、JSON Schema 驗證與文字摘要。多數結果附簽章回執,receipt_verify 可驗證任一 x402 服務的回執。
適用情境
當助理需要對加密位址、代幣合約或貿易識別碼做低成本、可重複的檢查,或需確認工具結果已簽章時使用。適合只需結構檢核、不需註冊表或身分查詢的採購與付款流程。
執行需求
遠端 streamable HTTP 端點;未宣告任何套件、帳號、API 金鑰或環境變數。需要能連線至該端點的網路。部分工具需要先前的回執雜湊,check_price 會為付費工具回傳報價與結算網址。
安裝前請注意
多個工具透過 x402 結算收費,依報價操作可能產生支出;check_price 本身免費。各檢核器僅做結構檢查,明確不證明所有權、註冊狀態、銀行存在或無詐欺,制裁篩查回傳 null 狀態且不篩查名稱。擷取工具會存取任意公開網址,外匯表為靜態而非即時。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "code402": {
      "type": "http",
      "url": "https://rail.hcrb.in/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

24

crypto_ticker

Crypto ticker

Spot USD price for a crypto ticker or CoinGecko id from public price feeds, cached 60 s. Result carries a signed receipt.

輸入參數symbol必填

erc20_balance

ERC-20 Token Balance Snapshot

Raw and formatted ERC-20 balanceOf for an address on Base, with decimals read from the token. Result carries a signed receipt.

輸入參數address必填decimalstoken_address必填

fx_spot_price_oracle

FX spot price oracle

Reference fiat and stablecoin conversion rate from a static table, not a live feed. Returns rate and inverse; result carries a signed receipt.

輸入參數base必填quote必填

block_info

Base Block Header Info

Base block header: number, timestamp, transaction count and base fee for the latest or a given block. Result carries a signed receipt.

輸入參數block

tx_activity

Tx Activity & Contract Detection

Outbound transaction count (nonce) and contract-or-EOA check for an address on Base. Result carries a signed receipt.

輸入參數address必填

token_contract_risk

Token contract facts (Base)

Deterministic Base contract facts: ERC-20 metadata, proxy slots, owner(), privileged-function selectors and flags. Not a safety verdict. Result carries a signed receipt.

輸入參數chainaddress必填

clean_markdown_scraper

Clean markdown scraper

Fetch a public web page by URL (or take your HTML) and return Markdown plus headings. No JavaScript rendering. Result carries a signed receipt.

輸入參數urlhtml

context_distill

Context distill

Deterministic text digest: word count, top-5 most frequent meaningful words (stop words excluded), first sentence, and a keccak-256 content hash. Pure function — no external calls, no ML.

輸入參數text必填

instant_json_schema_verifier

Instant JSON schema verifier

Validate JSON data payloads against schema definitions. Preflighted for agent tool call pipelines.

輸入參數data必填schema必填

balance_check

Base Account Balance Snapshot

Native ETH and one ERC-20 balance (default USDC) for an address on Base, raw and formatted. Result carries a signed receipt.

輸入參數address必填token_address

calculate_fx_savings

Calculate cross-border FX savings

Arithmetic comparison of a USDC settlement against comparator percentages YOU supply (bank_fee_pct, custodial_fee_pct) across 14 global fiat currencies. The comparators are assumptions, not measurements of any bank or provider; no protocol fee is deducted on this rail.

輸入參數amountcurrencyamount_usdamount_usdc

iban_check

IBAN Structure and Checksum Check

Validate IBAN structure and MOD-97 checksum. Does not establish account ownership, beneficiary identity or absence of fraud.

輸入參數iban必填

lei_check

LEI Structure and Checksum Check

Validate a 20-character LEI and MOD-97 check digits. No registry lookup, active-registration check or legal-entity identity verification.

輸入參數lei必填

vat_mod97_check

Belgian VAT MOD-97 Check

Check the supported Belgian VAT format and MOD-97 checksum. BE only; not VIES, other EU VAT formats, registration status or tax compliance.

輸入參數vat_number必填

swift_bic_check

SWIFT/BIC Structure Check

Check SWIFT/BIC structure and country code. Does not establish bank existence, active routing or beneficiary identity.

輸入參數bic必填

batch_validate

Batch Identifier Checks (up to 50 items)

Run up to 50 supported {tool, value} checks in one request. Each result states its scope. Compare the current batch quote with individual quotes; savings depend on batch size.

輸入參數items必填

vendor_onboarding_pack

Vendor Identifier Check Pack

Check supplied IBAN, LEI, Belgian VAT and UK company-number fields in one result. Structural checks only; no ownership, registry or fraud clearance.

輸入參數leiibanvat_numbercompany_number

india_supplier_check

India Supplier Verification Pack

One call, one receipt: GSTIN + PAN + UPI VPA + IFSC for an Indian counterparty. Four deterministic structural checks, each stating its own scope. Built for cross-border procurement where the buyer is an agent that cannot open an INR account.

輸入參數panvpaifscgstin

pre_disbursement_guard

Counterparty Risk Indicators

Evaluate supplied identifiers, domain-age evidence and mismatch signals. Requires a preceding receipt hash. An advisory result is not verified identity, fraud clearance or authorization to release funds.

輸入參數leivat_numbervendor_domaincompany_numberrecipient_ibandeclared_countryphysical_addressprev_receipt_hashinvoice_amount_usd

gstin_check

GSTIN check (India)

Validate an Indian GSTIN by structure (2-digit state code + PAN + entity code + 'Z') and its mod-36 cross-sum checksum.

輸入參數gstin必填

ifsc_check

IFSC Format Check

Check the 11-character Indian IFSC format, including its fifth-character zero. No bank-branch registry lookup or account verification.

輸入參數ifsc必填

sanctions_address_screen

Address Snapshot & Operator Policy Comparison

Exact EVM-address comparison against the identified address snapshot and existing operator block policy. Current legal status is unknown; is_sanctioned is null. valid=false preserves a local block; valid=null never authorizes a transaction. Names are not screened. Missing, stale or incomplete evidence is explicit; no UN/EU coverage or sanctions clearance is provided.

輸入參數subject必填

check_price

Zero-cost price index and gasless x402 quote generator

Instant zero-cost pricing hook for code402 tools. Returns the live price, an opaque quote_id, TTL, and the settlement URL. Free forever — feeds the price index into an agent planner's context without creating any financial obligation. If the planner acts on the quote, it hits the settlement_url with an EIP-3009 signed voucher.

輸入參數tool必填amount

receipt_verify

Verify any XDR-1 receipt — free, stateless, any issuer

Verifies a signed XDR-1 receipt from ANY x402 service: recomputes the canonical digest and recovers the signer, then compares it to the declared signer. Free forever — no account, no quota, no storage (stateless). A valid receipt proves the signer signed that tool call at that timestamp; it does NOT prove funds moved or any business claim.

輸入參數receipt必填

版本歷史

2
  1. v1.0.1最新Sep 25, 2026
  2. v1.0.0Sep 16, 2026

評分

已滿足適用檢查項的 75%

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

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

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

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。