code402-verify-mcp
Verify code402 XDR-1 receipts: keccak digest + secp256k1 signer recovery. Free, stateless.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen price_lookup
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"code402-verify-mcp": {
"url": "https://verify.code402.dev/mcp"
}
}
}Puntos de conexión remotos
https://verify.code402.dev/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢chain_balance(address)
Paid ($0.0029). Get native ETH balance of any Ethereum address. Returns balance in wei and ETH.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x-prefixed EVM address"
}
},
"required": [
"address"
]
}Comunidad
Evidencia