Code402 Verify Mcp

io.github.89ratPublished by GitHub account 89ratv0.2.0Updated Oct 25, 2026

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

VerifiedStreamable HTTPWeb executableDatabasesFinanceSecurity & Monitoring

Overview

AI-generated overview

A remote MCP server for verifying signed XDR-1 receipts and running paid compliance and Ethereum chain checks, including IBAN, sanctions and address validation.

What you can do
Verify XDR-1 signed receipts offline, singly or in batch, with signer recovery and integrity digest, and look up code402 tool pricing and availability for free. Validate identifiers: IBAN, LEI, Luhn card numbers, Mod 97-10 remainders and EVM address checksums. Screen Ethereum addresses and entity names against OFAC, UN and EU sanctions lists. Run combined compliance bundles that return gate results plus a signed receipt. Query Ethereum mainnet: block number, ETH and ERC-20 balances, nonce, gas price, transaction details and receipts, deployed bytecode, and ENS name resolution.
When to use it
Useful when an assistant needs to check the authenticity of code402 receipts, validate financial identifiers or screen parties against sanctions lists, or read basic Ethereum mainnet state without running a node.
Requirements
A remote streamable HTTP endpoint; no package, account, API key or header is declared. Most tools are paid per call, so a working x402 payment setup is needed for anything beyond receipt verification and price lookup. Network access to the endpoint and to Ethereum data is required.
Before you install
Most tools cost money per call, from about $0.0029 up to $0.50 for bundles, so automated use can spend funds. Identifier and address values, including entity names, are sent to a third-party service for validation and screening. Results are validation and screening signals, not authoritative compliance or legal determinations.

Installation

In SourceWeft

  1. Open Code402 Verify Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.89rat%2Fcode402-verify-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

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

Tools

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.

Parametersraw_receiptrequiredsettlement_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.

Parametersurltool_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.

Parametersibanrequired

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.

Parametersnamesaddresses

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.

Parametersaddressrequired

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.

Parametersleirequired

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.

Parametersnumberrequired

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.

Parametersinputrequired

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.

Parametersibantiersanctionsonchain_address

chain_block_number

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

Takes no parameters.

chain_balance

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

Parametersaddressrequired

chain_erc20_balance

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

Parameterstokenrequiredaddressrequired

chain_nonce

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

Parametersaddressrequired

chain_tx

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

Parametershashrequired

chain_ens_resolve

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

Parametersnamerequired

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.

Takes no parameters.

chain_tx_receipt

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

Parametershashrequired

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.

Parametersaddressrequired

Version history

1
  1. v0.2.0LatestOct 25, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.