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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。