Agents Index

Code402

Online

Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial.

Visit publisherConnectJSON

What it can do: 58 tools

  • crypto_ticker read-onlySpot USD price for a crypto ticker or CoinGecko id from public price feeds, cached 60 s. Result carries a signed receipt.
  • erc20_balance read-onlyRaw and formatted ERC-20 balanceOf for an address on Base, with decimals read from the token. Result carries a signed receipt.
  • fx_spot_price_oracle read-onlyReference fiat and stablecoin conversion rate from a static table, not a live feed. Returns rate and inverse; result carries a signed receipt.
  • block_info read-onlyBase chain (8453) block header data: block number, timestamp, transaction count and base fee for any block. Result carries a signed receipt.
  • tx_activity read-onlyOutbound transaction count (nonce) and contract-or-EOA check for an address on Base. Result carries a signed receipt.
  • token_contract_risk read-onlyDeterministic Base contract facts: ERC-20 metadata, proxy slots, owner(), privileged-function selectors and flags. Not a safety verdict. Result carries a signed receipt.
  • clean_markdown_scraper read-onlyFetch a public web page by URL (or take your HTML) and return Markdown plus headings. No JavaScript rendering. Result carries a signed receipt.
  • context_distill read-onlyDeterministic text digest: word count, top-5 most frequent meaningful words (stop words excluded), first sentence, and a keccak-256 content hash. Pure function — no external calls, no ML.
  • instant_json_schema_verifier read-onlyValidate JSON data payloads against schema definitions. Preflighted for agent tool call pipelines.
  • balance_check read-onlyNative ETH and one ERC-20 balance (default USDC) for an address on Base, raw and formatted. Result carries a signed receipt.
  • calculate_fx_savings read-onlyArithmetic comparison of a USDC settlement against comparator percentages YOU supply (bank_fee_pct, custodial_fee_pct) across 14 global fiat currencies. The comparators are assumptions, not measurements of any bank or pr
  • counterparty_live_dossier read-onlyUnified pre-wire proof combining IBAN/BIC syntax, live registry lookup, retained exact-match sanctions snapshot, legal-name token match, country consistency, and signed receipt.
  • lei_live_lookup read-onlyLive GLEIF v1 API lookup returning entity status, legal address, LOU registration, direct/ultimate parent relationships, SHA-256 payload digest, and signed receipt.
  • vat_vies_live_lookup read-onlyLive European Commission VIES lookup for EU intra-Community transactions returning active registration status, trader name/address, requestIdentifier, SHA-256 digest, and signed receipt.
  • uk_company_live_lookup read-onlyLive UK corporate lookup returning company status, registered office structured into ISO 20022 <PstlAdr> XML, PO Box check, SHA-256 payload digest, and signed receipt.
  • iso20022_cbpr_cure read-onlyResolves live statutory registries (GLEIF, UK Companies House, Norway Brreg) into schema-bounded ISO 20022 Structured/Hybrid <PstlAdr> and pain.001 XML with signed receipt.
  • iban_check read-onlyValidate IBAN structure and MOD-97 checksum. Does not establish account ownership, beneficiary identity or absence of fraud.
  • lei_check read-onlyValidate a 20-character LEI and MOD-97 check digits. No registry lookup, active-registration check or legal-entity identity verification.
  • vat_mod97_check read-onlyCheck the supported Belgian VAT format and MOD-97 checksum. BE only; not VIES, other EU VAT formats, registration status or tax compliance.
  • swift_bic_check read-onlyCheck SWIFT/BIC structure and country code. Does not establish bank existence, active routing or beneficiary identity.
  • batch_validate read-onlyValidate up to 50 tax, bank and legal-entity identifiers (IBAN, LEI, VAT, SWIFT/BIC, ABA routing, EIN, IFSC, ABN, GSTIN, ISIN, SEDOL, EAN-13, ISBN, E.164 or Luhn checks) in one batch request. Each result states its scope
  • vendor_onboarding_pack read-onlyCheck supplied IBAN, LEI, Belgian VAT and UK company-number fields in one result. Structural checks only; no ownership, registry or fraud clearance.
  • india_supplier_check read-onlyOne call, one receipt: GSTIN + PAN + UPI VPA + IFSC for an Indian counterparty. Four deterministic structural checks, each stating its own scope. Built for cross-border procurement where the buyer is an agent that cannot
  • pre_disbursement_guard read-onlyCheck supplier tax and bank identifiers (IBAN, LEI, EU VAT, UK company number), domain-age evidence and country mismatch signals before vendor payment. Requires a preceding receipt hash. An advisory result is not verifie
  • gstin_check read-onlyValidate an Indian GSTIN by structure (2-digit state code + PAN + entity code + 'Z') and its mod-36 cross-sum checksum.
  • ifsc_check read-onlyCheck the 11-character Indian IFSC format, including its fifth-character zero. No bank-branch registry lookup or account verification.
  • sanctions_address_screen read-onlyScreen an EVM wallet address or ISO country code by exact comparison against the identified sanctions address snapshot and existing operator block policy. Current legal status is unknown; is_sanctioned is null. valid=fal
  • company_number_format read-onlyCheck supported UK company-number syntax. No Companies House lookup, entity-existence check or active-registration verification.
  • aba_routing_check read-onlyValidate a US ABA routing number by its (3,7,1)-weight mod-10 Fedwire/ACH checksum. Catches mistyped or invalid routing numbers before payment; does NOT prevent transfer reversals or establish the recipient. Returns sign
  • ein_format_check read-onlyValidate US Employer Identification Number FORMAT (NN-NNNNNNN). Use during US business counterparty KYB verification. Returns signed XDR-1 receipt.
  • abn_check read-onlyValidate an Australian Business Number by its mod-89 checksum (11 digits). Required before invoice payment to Australian contractors. Returns signed XDR-1 receipt.
  • cnpj_check read-onlyValidate Brazilian corporate tax ID (CNPJ) with official dual mod-11 check digits. Required for Brazilian B2B payments, PIX verification, and vendor due diligence. Returns signed XDR-1 receipt.
  • uscc_check read-onlyValidate 18-character Chinese business registration and tax code using GB 32100-2015 ISO 7064 Mod-31-3 checksum. Required for B2B supply chain trade with Chinese manufacturers. Returns signed XDR-1 receipt.
  • japan_corp_check read-onlyValidate 13-digit Japanese Corporate Number assigned by the National Tax Agency using Mod-9 check digit algorithm. Required for Japanese B2B SaaS and enterprise billing. Returns signed XDR-1 receipt.
  • kra_pin_check read-onlyValidate Kenyan Revenue Authority Tax PIN structure (A/P followed by 9 digits and checksum character). Required for M-Pesa B2B disbursement and Kenyan remote agency invoicing. Returns signed XDR-1 receipt.
  • rfc_check read-onlyValidate Mexican SAT RFC corporate (12-char) or individual (13-char) tax code and homoclave. Required for Mexican contractor invoicing and SPEI cross-border settlements. Returns signed XDR-1 receipt.
  • upi_vpa_check read-onlyDeterministic structural validation of an Indian UPI Virtual Payment Address (VPA / handle): local-part syntax, handle against a LOCAL list of accredited PSP handles (okhdfcbank, okaxis, paytm, ybl and others), and lengt
  • uae_trn_check read-onlyDeterministic validation of UAE 15-digit Tax Registration Number (TRN) issued by the Federal Tax Authority (FTA) for VAT purposes.
  • china_supplier_check read-onlyOne call, one receipt: USCC + settlement IBAN + SWIFT/BIC for a Chinese counterparty. Deterministic structure and checksum validation with explicit scope per identifier.
  • japan_supplier_check read-onlyOne call, one receipt: 13-digit Corporate Number + settlement IBAN for a Japanese counterparty. Deterministic check digits, explicit scope.

…and 18 more.

Connect it

Claude Code
claude mcp add --transport http code402 https://rail.hcrb.in/mcp
Claude.ai / ChatGPT
Settings → Connectors → Add custom connector
URL: https://rail.hcrb.in/mcp
Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "code402": {
      "url": "https://rail.hcrb.in/mcp"
    }
  }
}
VS Code (.vscode/mcp.json)
{
  "servers": {
    "code402": {
      "type": "http",
      "url": "https://rail.hcrb.in/mcp"
    }
  }
}

Questions

What does Code402 do?

Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial. It exposes 58 tools to AI assistants.

What tools does Code402 provide?

58 tools, including crypto_ticker, erc20_balance, fx_spot_price_oracle, block_info, tx_activity, token_contract_risk, clean_markdown_scraper, context_distill, instant_json_schema_verifier, balance_check, calculate_fx_savings, counterparty_live_dossier….

How do I connect Code402 to Claude, ChatGPT or Cursor?

Add the remote MCP endpoint https://rail.hcrb.in/mcp as a custom connector or MCP server. Copy-paste setup is on this page.

Does Code402 require an account or API key?

No sign-in was needed to list its tools. Individual tools may still need an account or API key.

Is Code402 online?

As of 2026-11-19 our probe found it online. It answered 100% of our last 3 checks.

Who publishes Code402?

@89rat on GitHub. The official MCP Registry verified that the publisher controls this GitHub account before accepting the listing.

Similar in Crypto & Web3