{
 "type": "mcp",
 "name": "code402",
 "registry_name": "io.github.89rat/code402",
 "also_published_as": [],
 "description": "Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial.",
 "url": "https://rail.hcrb.in/mcp",
 "transport": "streamable-http",
 "website": "https://code402.dev",
 "repo": "https://github.com/89rat/m2m-exchange",
 "ours": false,
 "publisher": "io.github.89rat",
 "categories": [
  "agent-infra",
  "api-gateways",
  "payments"
 ],
 "tests": {
  "tested_at": "2026-11-24T21:38:23.737Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 58,
  "latency_ms": 391,
  "tools_list_ms": 58,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "code402",
   "version": "1.3.0"
  },
  "error": null
 },
 "signals": {
  "github_stars": null,
  "license": null,
  "repo_pushed_at": null,
  "repo_archived": null,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-09-25T04:19:19.494642Z",
  "registry_published_at": "2026-09-25T04:19:19.494642Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 96.6,
  "tool_docs": 100,
  "breadth": 100,
  "freshness": 75,
  "license": "missing",
  "adoption": "missing",
  "protocol": 100
 },
 "score": 55.7,
 "missing": [
  "license",
  "adoption"
 ],
 "tools": [
  "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",
  "lei_live_lookup",
  "vat_vies_live_lookup",
  "uk_company_live_lookup",
  "iso20022_cbpr_cure",
  "iban_check",
  "lei_check",
  "vat_mod97_check",
  "swift_bic_check",
  "batch_validate",
  "vendor_onboarding_pack",
  "india_supplier_check",
  "pre_disbursement_guard",
  "gstin_check",
  "ifsc_check",
  "sanctions_address_screen",
  "company_number_format",
  "aba_routing_check",
  "ein_format_check",
  "abn_check",
  "cnpj_check",
  "uscc_check",
  "japan_corp_check",
  "kra_pin_check",
  "rfc_check",
  "upi_vpa_check",
  "uae_trn_check",
  "china_supplier_check",
  "japan_supplier_check",
  "latam_supplier_check",
  "gulf_supplier_check",
  "africa_supplier_check",
  "rent_deposit_guard",
  "rental_listing_risk",
  "rental_verdict",
  "reconcile",
  "create_b2b_invoice",
  "get_b2b_invoice",
  "simulate_spend_sentinel",
  "aci_trust_lookup",
  "csp_commitment_create",
  "iso20022_validate",
  "iso20022_to_x402_intent",
  "syntax_preflight",
  "counterparty_passport_verify",
  "check_price",
  "receipt_verify"
 ],
 "tool_docs": [
  {
   "n": "crypto_ticker",
   "d": "Spot USD price for a crypto ticker or CoinGecko id from public price feeds, cached 60 s. Result carries a signed receipt."
  },
  {
   "n": "erc20_balance",
   "d": "Raw and formatted ERC-20 balanceOf for an address on Base, with decimals read from the token. Result carries a signed receipt."
  },
  {
   "n": "fx_spot_price_oracle",
   "d": "Reference fiat and stablecoin conversion rate from a static table, not a live feed. Returns rate and inverse; result carries a signed receipt."
  },
  {
   "n": "block_info",
   "d": "Base chain (8453) block header data: block number, timestamp, transaction count and base fee for any block. Result carries a signed receipt."
  },
  {
   "n": "tx_activity",
   "d": "Outbound transaction count (nonce) and contract-or-EOA check for an address on Base. Result carries a signed receipt."
  },
  {
   "n": "token_contract_risk",
   "d": "Deterministic Base contract facts: ERC-20 metadata, proxy slots, owner(), privileged-function selectors and flags. Not a safety verdict. Result carries a signed"
  },
  {
   "n": "clean_markdown_scraper",
   "d": "Fetch a public web page by URL (or take your HTML) and return Markdown plus headings. No JavaScript rendering. Result carries a signed receipt."
  },
  {
   "n": "context_distill",
   "d": "Deterministic text digest: word count, top-5 most frequent meaningful words (stop words excluded), first sentence, and a keccak-256 content hash. Pure function "
  },
  {
   "n": "instant_json_schema_verifier",
   "d": "Validate JSON data payloads against schema definitions. Preflighted for agent tool call pipelines."
  },
  {
   "n": "balance_check",
   "d": "Native ETH and one ERC-20 balance (default USDC) for an address on Base, raw and formatted. Result carries a signed receipt."
  },
  {
   "n": "calculate_fx_savings",
   "d": "Arithmetic comparison of a USDC settlement against comparator percentages YOU supply (bank_fee_pct, custodial_fee_pct) across 14 global fiat currencies. The com"
  },
  {
   "n": "counterparty_live_dossier",
   "d": "Unified pre-wire proof combining IBAN/BIC syntax, live registry lookup, retained exact-match sanctions snapshot, legal-name token match, country consistency, an"
  },
  {
   "n": "lei_live_lookup",
   "d": "Live GLEIF v1 API lookup returning entity status, legal address, LOU registration, direct/ultimate parent relationships, SHA-256 payload digest, and signed rece"
  },
  {
   "n": "vat_vies_live_lookup",
   "d": "Live European Commission VIES lookup for EU intra-Community transactions returning active registration status, trader name/address, requestIdentifier, SHA-256 d"
  },
  {
   "n": "uk_company_live_lookup",
   "d": "Live UK corporate lookup returning company status, registered office structured into ISO 20022 <PstlAdr> XML, PO Box check, SHA-256 payload digest, and signed r"
  },
  {
   "n": "iso20022_cbpr_cure",
   "d": "Resolves live statutory registries (GLEIF, UK Companies House, Norway Brreg) into schema-bounded ISO 20022 Structured/Hybrid <PstlAdr> and pain.001 XML with sig"
  },
  {
   "n": "iban_check",
   "d": "Validate IBAN structure and MOD-97 checksum. Does not establish account ownership, beneficiary identity or absence of fraud."
  },
  {
   "n": "lei_check",
   "d": "Validate a 20-character LEI and MOD-97 check digits. No registry lookup, active-registration check or legal-entity identity verification."
  },
  {
   "n": "vat_mod97_check",
   "d": "Check the supported Belgian VAT format and MOD-97 checksum. BE only; not VIES, other EU VAT formats, registration status or tax compliance."
  },
  {
   "n": "swift_bic_check",
   "d": "Check SWIFT/BIC structure and country code. Does not establish bank existence, active routing or beneficiary identity."
  },
  {
   "n": "batch_validate",
   "d": "Validate 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 Luh"
  },
  {
   "n": "vendor_onboarding_pack",
   "d": "Check supplied IBAN, LEI, Belgian VAT and UK company-number fields in one result. Structural checks only; no ownership, registry or fraud clearance."
  },
  {
   "n": "india_supplier_check",
   "d": "One call, one receipt: GSTIN + PAN + UPI VPA + IFSC for an Indian counterparty. Four deterministic structural checks, each stating its own scope. Built for cros"
  },
  {
   "n": "pre_disbursement_guard",
   "d": "Check supplier tax and bank identifiers (IBAN, LEI, EU VAT, UK company number), domain-age evidence and country mismatch signals before vendor payment. Requires"
  },
  {
   "n": "gstin_check",
   "d": "Validate an Indian GSTIN by structure (2-digit state code + PAN + entity code + 'Z') and its mod-36 cross-sum checksum."
  },
  {
   "n": "ifsc_check",
   "d": "Check the 11-character Indian IFSC format, including its fifth-character zero. No bank-branch registry lookup or account verification."
  },
  {
   "n": "sanctions_address_screen",
   "d": "Screen an EVM wallet address or ISO country code by exact comparison against the identified sanctions address snapshot and existing operator block policy. Curre"
  },
  {
   "n": "company_number_format",
   "d": "Check supported UK company-number syntax. No Companies House lookup, entity-existence check or active-registration verification."
  },
  {
   "n": "aba_routing_check",
   "d": "Validate 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"
  },
  {
   "n": "ein_format_check",
   "d": "Validate US Employer Identification Number FORMAT (NN-NNNNNNN). Use during US business counterparty KYB verification. Returns signed XDR-1 receipt."
  },
  {
   "n": "abn_check",
   "d": "Validate an Australian Business Number by its mod-89 checksum (11 digits). Required before invoice payment to Australian contractors. Returns signed XDR-1 recei"
  },
  {
   "n": "cnpj_check",
   "d": "Validate Brazilian corporate tax ID (CNPJ) with official dual mod-11 check digits. Required for Brazilian B2B payments, PIX verification, and vendor due diligen"
  },
  {
   "n": "uscc_check",
   "d": "Validate 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 Chines"
  },
  {
   "n": "japan_corp_check",
   "d": "Validate 13-digit Japanese Corporate Number assigned by the National Tax Agency using Mod-9 check digit algorithm. Required for Japanese B2B SaaS and enterprise"
  },
  {
   "n": "kra_pin_check",
   "d": "Validate Kenyan Revenue Authority Tax PIN structure (A/P followed by 9 digits and checksum character). Required for M-Pesa B2B disbursement and Kenyan remote ag"
  },
  {
   "n": "rfc_check",
   "d": "Validate Mexican SAT RFC corporate (12-char) or individual (13-char) tax code and homoclave. Required for Mexican contractor invoicing and SPEI cross-border set"
  },
  {
   "n": "upi_vpa_check",
   "d": "Deterministic structural validation of an Indian UPI Virtual Payment Address (VPA / handle): local-part syntax, handle against a LOCAL list of accredited PSP ha"
  },
  {
   "n": "uae_trn_check",
   "d": "Deterministic validation of UAE 15-digit Tax Registration Number (TRN) issued by the Federal Tax Authority (FTA) for VAT purposes."
  },
  {
   "n": "china_supplier_check",
   "d": "One call, one receipt: USCC + settlement IBAN + SWIFT/BIC for a Chinese counterparty. Deterministic structure and checksum validation with explicit scope per id"
  },
  {
   "n": "japan_supplier_check",
   "d": "One call, one receipt: 13-digit Corporate Number + settlement IBAN for a Japanese counterparty. Deterministic check digits, explicit scope."
  },
  {
   "n": "latam_supplier_check",
   "d": "One call, one receipt: Brazilian CNPJ + Mexican RFC + settlement IBAN. Deterministic checks for the two largest LatAm corridors in one paid call."
  },
  {
   "n": "gulf_supplier_check",
   "d": "One call, one receipt: UAE TRN + settlement IBAN + SWIFT/BIC. Deterministic structure validation for Gulf trade corridors, scope stated per identifier."
  },
  {
   "n": "africa_supplier_check",
   "d": "One call, one receipt: Kenya KRA PIN + settlement IBAN + SWIFT/BIC. Deterministic structural checks for East African trade corridors."
  },
  {
   "n": "rent_deposit_guard",
   "d": "Check deposit IBAN checksum and supplied country/viewing indicators. Rule-based risk signals only; no ownership verification, escrow protection or guarantee aga"
  },
  {
   "n": "rental_listing_risk",
   "d": "Explainable tenancy fraud risk score evaluated across irreversible payment demands, off-platform pressure, stolen photos, and advance wire signals. Deterministi"
  },
  {
   "n": "rental_verdict",
   "d": "Combine deposit identifier checks with supplied country, viewing and listing indicators. Does not verify landlord identity, property ownership or safety of paym"
  },
  {
   "n": "reconcile",
   "d": "Deterministic reconciliation verdicts: pain.001/pacs.008 instructions vs camt.053 statements or NACHA ACH files, matched by end-to-end id and BigInt-exact amoun"
  },
  {
   "n": "create_b2b_invoice",
   "d": "Create a merchant-direct Base token invoice. New automated payments require a durable EOA authorization journal and a configured provider. No active protocol fe"
  },
  {
   "n": "get_b2b_invoice",
   "d": "Read public recorded invoice status and held-operation next action. Private records and credentials require a separate fresh read-only signature from the durabl"
  },
  {
   "n": "simulate_spend_sentinel",
   "d": "Run synthetic prompt-injection halts, malformed-delivery rejection, and bounded-spend eligibility examples under AP2 envelopes. No live escrow, refund, facilita"
  },
  {
   "n": "aci_trust_lookup",
   "d": "Deterministic agent trust scoring and non-custodial unsettled exposure advisory evaluation (ACI-1). Quantifies counterparty grade (T0-T3), historical success ra"
  },
  {
   "n": "csp_commitment_create",
   "d": "Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements (CSP-1) for invoice-scale B2B payments on Ba"
  },
  {
   "n": "iso20022_validate",
   "d": "Deterministic validation for institutional ISO 20022 XML/JSON payment messages (pain.001 credit transfer, pacs.008 customer credit, camt.053 bank statement) wit"
  },
  {
   "n": "iso20022_to_x402_intent",
   "d": "Translates validated ISO 20022 payment instructions (pain.001 / pacs.008) into deterministic EIP-712 payment-intent templates for autonomous x402 Base L2 USDC s"
  },
  {
   "n": "syntax_preflight",
   "d": "Free offline mathematical checksum and format preflight across IBAN, BIC, LEI, EU VAT, and UK CRN, with live registry upgrade pointers and a signed receipt."
  },
  {
   "n": "counterparty_passport_verify",
   "d": "Free bilateral verifier checking a counterparty's XDR-1 receipt signature, published signer, live-registry SKU tier, and timestamp age, returning a signed recei"
  },
  {
   "n": "check_price",
   "d": "Instant zero-cost pricing hook for code402 tools. Returns the live price, an opaque quote_id, TTL, and the settlement URL. Free forever — feeds the price index "
  },
  {
   "n": "receipt_verify",
   "d": "Verifies a signed XDR-1 receipt from ANY x402 service: recomputes the canonical digest and recovers the signer, then compares it to the declared signer. Free fo"
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.583,
 "category_source": "hand",
 "category_scores": {
  "engineering": 2,
  "payments": 1.99,
  "accounting": 0.97,
  "crypto": 0.63
 },
 "subcategory": "other",
 "id": "io-github-89rat-code402",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2",
 "override": {
  "category": "agent-infra",
  "note": "hand label round 2"
 }
}