code402-verify-mcp
Verify code402 XDR-1 receipts: keccak digest + secp256k1 signer recovery. Free, stateless.
Should I use this
Quality & Safety
Findings (1)
- LOWin price_lookup
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"code402-verify-mcp": {
"url": "https://verify.code402.dev/mcp"
}
}
}Remote endpoints
https://verify.code402.dev/mcpstreamable-httpWhat it can do
Tool inventory
Tools (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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"type": "object",
"properties": {}
}🟢chain_balance(address)
Paid ($0.0029). Get native ETH balance of any Ethereum address. Returns balance in wei and ETH.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x-prefixed EVM address"
}
},
"required": [
"address"
]
}Community
Evidence