code402-verify-mcp

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

我该使用它吗

质量与安全性

A
描述质量
91%
模式完整度
91%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(1)

  • LOWTool 'price_lookup' description lacks action verb在 price_lookup 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,729token 数(工具定义)
~481 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.35%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

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

远程端点

https://verify.code402.dev/mcpstreamable-http

它能做什么

工具清单

工具(18)

🟢 只读🟡 写入🔴 删除⚪ 未知
⚪x402_verify(raw_receipt, settlement_asset)

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.

输入模式

{
  "type": "object",
  "properties": {
    "raw_receipt": {
      "type": "string",
      "description": "Full signed receipt JSON (single object or JSON array for batch)"
    },
    "settlement_asset": {
      "type": "string",
      "description": "Default USDC"
    }
  },
  "required": [
    "raw_receipt"
  ]
}
⚪price_lookup(tool_name, url)

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.

输入模式

{
  "type": "object",
  "properties": {
    "tool_name": {
      "type": "string",
      "description": "Tool name (e.g. iban_check, bundle_verify, chain_block_number)"
    },
    "url": {
      "type": "string",
      "description": "Full endpoint URL to look up pricing for"
    }
  }
}
🟢iban_check(iban)

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.

输入模式

{
  "type": "object",
  "properties": {
    "iban": {
      "type": "string",
      "description": "IBAN to validate (e.g. GB29NWBK60161331926819, spaces allowed)"
    }
  },
  "required": [
    "iban"
  ]
}
🟢sanctions_check(addresses, names)

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.

输入模式

{
  "type": "object",
  "properties": {
    "addresses": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "EVM addresses to screen (0x-prefixed)"
    },
    "names": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Entity names to screen"
    }
  }
}
🟢onchain_address_check(address)

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

输入模式

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed EVM address to validate (e.g. 0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18)"
    }
  },
  "required": [
    "address"
  ]
}
🟢lei_check(lei)

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.

输入模式

{
  "type": "object",
  "properties": {
    "lei": {
      "type": "string",
      "description": "20-character LEI (e.g. 5493001KJTIIGC8Y1R12)"
    }
  },
  "required": [
    "lei"
  ]
}
🟢luhn_check(number)

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.

输入模式

{
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "description": "Card or account number (12-19 digits, spaces allowed)"
    }
  },
  "required": [
    "number"
  ]
}
🟢mod97_check(input)

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.

输入模式

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "Alphanumeric string to compute Mod 97-10 on"
    }
  },
  "required": [
    "input"
  ]
}
⚪bundle_verify(iban, sanctions, onchain_address, tier)

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.

输入模式

{
  "type": "object",
  "properties": {
    "iban": {
      "type": "string",
      "description": "IBAN to validate"
    },
    "sanctions": {
      "type": "object",
      "description": "Sanctions screening: { addresses: string[], names: string[] }"
    },
    "onchain_address": {
      "type": "string",
      "description": "EVM address to validate"
    },
    "tier": {
      "type": "string",
      "enum": [
        "economy",
        "standard",
        "premium"
      ],
      "description": "Pricing tier (auto-detected if omitted)"
    }
  }
}
🟢chain_block_number

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

输入模式

{
  "type": "object",
  "properties": {}
}
🟢chain_balance(address)

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

输入模式

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed EVM address"
    }
  },
  "required": [
    "address"
  ]
}
🟢chain_erc20_balance(token, address)

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

输入模式

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "0x-prefixed ERC-20 token contract address"
    },
    "address": {
      "type": "string",
      "description": "0x-prefixed wallet address"
    }
  },
  "required": [
    "token",
    "address"
  ]
}
🟢chain_nonce(address)

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

输入模式

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed EVM address"
    }
  },
  "required": [
    "address"
  ]
}
🟢chain_tx(hash)

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

输入模式

{
  "type": "object",
  "properties": {
    "hash": {
      "type": "string",
      "description": "0x-prefixed 64-hex transaction hash"
    }
  },
  "required": [
    "hash"
  ]
}
⚪chain_ens_resolve(name)

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

输入模式

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "ENS name (e.g. vitalik.eth)"
    }
  },
  "required": [
    "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.

输入模式

{
  "type": "object",
  "properties": {}
}
🟢chain_tx_receipt(hash)

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

输入模式

{
  "type": "object",
  "properties": {
    "hash": {
      "type": "string",
      "description": "0x-prefixed 64-hex transaction hash"
    }
  },
  "required": [
    "hash"
  ]
}
🟢chain_code(address)

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

输入模式

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed EVM address"
    }
  },
  "required": [
    "address"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本18 个工具