L'Atlas / MCP servers / code402

code402

io.github.89rat/code402

MCP server OK

Get a review See pricing

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

Technical sheet

Author
89rat (registry namespace)
Repository
github.com/89rat/m2m-exchange
Site
code402.dev
Version
1.0.1
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://rail.hcrb.in/mcp Streamable HTTP
Tools
58
Categories
Finance and payments
Last updated
25 Sept 2026
Published
25 Sept 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.89rat/code402.svg?lang=en)](https://latlas.dev/en/mcp/io.github.89rat/code402)
HTML
<a href="https://latlas.dev/en/mcp/io.github.89rat/code402"><img src="https://latlas.dev/badge/fiche/io.github.89rat/code402.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://rail.hcrb.in/mcp
Last result
OK 28 Nov 2026, 10:02
Response time
1,043 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
code402 1.3.0
Tools
58

History

DateResultResponseTools
28 Nov 2026, 10:02OK1,043 ms58

Exposed tools (58, from tools/list, 28 Nov 2026)

crypto_ticker

Crypto ticker

Spot USD price for a crypto ticker or CoinGecko id from public price feeds, cached 60 s. Result carries a signed receipt.

ParameterTypeRequiredDescription
symbolstringyesTicker symbol (btc, eth, sol, …) or a CoinGecko asset id (bitcoin, ethereum, …).

erc20_balance

ERC-20 Token Balance Snapshot

Raw and formatted ERC-20 balanceOf for an address on Base, with decimals read from the token. Result carries a signed receipt.

ParameterTypeRequiredDescription
addressstringyesHolder EVM address, 0x-prefixed.
token_addressstringyesERC-20 token contract address, 0x-prefixed.
decimalsnumbernoToken decimals override (optional).

fx_spot_price_oracle

FX spot price oracle

Reference fiat and stablecoin conversion rate from a static table, not a live feed. Returns rate and inverse; result carries a signed receipt.

ParameterTypeRequiredDescription
basestringyesBase currency symbol (e.g. USDC, EUR, GBP, JPY).
quotestringyesQuote currency symbol (e.g. USD, EUR, JPY).

block_info

Base Block Header Info

Base chain (8453) block header data: block number, timestamp, transaction count and base fee for any block. Result carries a signed receipt.

ParameterTypeRequiredDescription
blockstringnoBlock number as hex (0x…) or decimal, or a tag (latest/earliest/pending/finalized/safe); defaults to latest.

tx_activity

Tx Activity & Contract Detection

Outbound transaction count (nonce) and contract-or-EOA check for an address on Base. Result carries a signed receipt.

ParameterTypeRequiredDescription
addressstringyesEVM address, 0x-prefixed.

token_contract_risk

Token contract facts (Base)

Deterministic Base contract facts: ERC-20 metadata, proxy slots, owner(), privileged-function selectors and flags. Not a safety verdict. Result carries a signed receipt.

ParameterTypeRequiredDescription
addressstringyesContract address on Base, 0x + 40 hex.
chainenum: "base"noOptional. Only 'base' (Base mainnet) is supported.

clean_markdown_scraper

Clean markdown scraper

Fetch a public web page by URL (or take your HTML) and return Markdown plus headings. No JavaScript rendering. Result carries a signed receipt.

ParameterTypeRequiredDescription
urlstringnoPublic http(s) page to fetch (ports 80/443 only). Provide exactly one of url or html.
htmlstringnoRaw HTML string to convert instead of fetching a URL (max 1 MiB). Provide exactly one of url or html.

context_distill

Context distill

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

ParameterTypeRequiredDescription
textstringyesArbitrary text to distill (any length; hashing is over the exact input).

instant_json_schema_verifier

Instant JSON schema verifier

Validate JSON data payloads against schema definitions. Preflighted for agent tool call pipelines.

ParameterTypeRequiredDescription
dataobjectyesThe JSON data object to validate against the schema.
schemaobjectyesThe JSON schema object with expected properties and types.

balance_check

Base Account Balance Snapshot

Native ETH and one ERC-20 balance (default USDC) for an address on Base, raw and formatted. Result carries a signed receipt.

ParameterTypeRequiredDescription
addressstringyesEVM address, 0x-prefixed.
token_addressstringnoERC-20 token contract address (optional; defaults to USDC on Base).

calculate_fx_savings

Calculate cross-border FX savings

Arithmetic 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 provider; no protocol fee is deducted on this rail.

ParameterTypeRequiredDescription
amount_usdcnumbernoGross invoice settlement volume in USD/USDC.
amount_usdnumbernoGross invoice settlement volume in USD/USDC (alias).
amountnumbernoGross invoice settlement volume in USD/USDC (alias).
currencystringnoTarget currency for local comparison (e.g. EUR, GBP, BRL, INR, ARS, PHP, NGN, SGD).

counterparty_live_dossier

Counterparty Pre-Wire Live Proof Dossier

Unified pre-wire proof combining IBAN/BIC syntax, live registry lookup, retained exact-match sanctions snapshot, legal-name token match, country consistency, and signed receipt.

ParameterTypeRequiredDescription
leistringno20-character LEI for live GLEIF observation
uk_crnstringnoUK company number for live corporate observation
no_orgnrstringno9-digit Norwegian organization number for live Brreg observation
vat_numberstringnoEU VAT number for live VIES observation (requires vat_purpose='eu_intra_community_transaction')
vat_country_codestringnoOptional 2-letter EU/XI VAT prefix
vat_purposeenum: "eu_intra_community_transaction"noRequired when vat_number is supplied
ibanstringnoOptional beneficiary IBAN for ISO 7064 MOD-97 check and country alignment
bicstringnoOptional beneficiary SWIFT BIC for ISO 9362 check and country alignment
evm_addressstringnoOptional counterparty 0x wallet for retained exact-match sanctions snapshot screen
expected_namestringnoOptional expected counterparty legal name to compare against live registry name

lei_live_lookup

Live GLEIF LEI & Parent Consolidation Lookup

Live GLEIF v1 API lookup returning entity status, legal address, LOU registration, direct/ultimate parent relationships, SHA-256 payload digest, and signed receipt.

ParameterTypeRequiredDescription
leistringyes20-character ISO 17442 Legal Entity Identifier

vat_vies_live_lookup

Live EU VIES VAT Registration Lookup

Live European Commission VIES lookup for EU intra-Community transactions returning active registration status, trader name/address, requestIdentifier, SHA-256 digest, and signed receipt.

ParameterTypeRequiredDescription
country_codestringno2-letter EU/XI member-state prefix (optional if prefixed in vat_number)
vat_numberstringyesEU VAT number (with or without member-state prefix)
purposeenum: "eu_intra_community_transaction"yesRequired VIES terms declaration: eu_intra_community_transaction
requester_country_codestringnoOptional requester member-state code for VIES consultation identifier
requester_vat_numberstringnoOptional requester VAT number for VIES consultation identifier

uk_company_live_lookup

Live UK Corporate Existence & ISO 20022 Office Lookup

Live UK corporate lookup returning company status, registered office structured into ISO 20022 XML, PO Box check, SHA-256 payload digest, and signed receipt.

ParameterTypeRequiredDescription
company_numberstringyesUK Companies House registration number (e.g. 14043409 or SC123456)

iso20022_cbpr_cure

ISO 20022 Structured & Hybrid <PstlAdr> Registry Cure

Resolves live statutory registries (GLEIF, UK Companies House, Norway Brreg) into schema-bounded ISO 20022 Structured/Hybrid and pain.001 XML with signed receipt.

ParameterTypeRequiredDescription
leistringno20-character LEI to resolve via GLEIF
uk_crnstringnoUK company registration number
no_orgnrstringno9-digit Norwegian organization number
xmlstringnoOptional raw ISO 20022 pain.001 XML to cure unstructured blocks
target_modeenum: "STRUCTURED" | "HYBRID"noTarget ISO 20022 address output mode (default STRUCTURED)
allow_heuristic_fallbackbooleannoAllow caller-supplied address fallback when live registry lookup fails

iban_check

IBAN Structure and Checksum Check

Validate IBAN structure and MOD-97 checksum. Does not establish account ownership, beneficiary identity or absence of fraud.

ParameterTypeRequiredDescription
ibanstringyesIBAN to validate; spaces allowed.

lei_check

LEI Structure and Checksum Check

Validate a 20-character LEI and MOD-97 check digits. No registry lookup, active-registration check or legal-entity identity verification.

ParameterTypeRequiredDescription
leistringyes20-character Legal Entity Identifier.

vat_mod97_check

Belgian VAT MOD-97 Check

Check the supported Belgian VAT format and MOD-97 checksum. BE only; not VIES, other EU VAT formats, registration status or tax compliance.

ParameterTypeRequiredDescription
vat_numberstringyesBelgian VAT id in the supported BE mod-97 format (BE prefix optional); not a VIES lookup.

swift_bic_check

SWIFT/BIC Structure Check

Check SWIFT/BIC structure and country code. Does not establish bank existence, active routing or beneficiary identity.

ParameterTypeRequiredDescription
bicstringyesSWIFT/BIC code, 8 or 11 characters; spaces/dashes allowed.

batch_validate

Batch Identifier Checks (up to 50 items)

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 Luhn checks) in one batch request. Each result states its scope. Compare the current batch quote with individual quotes; savings depend on batch size.

ParameterTypeRequiredDescription
itemsarray<object>yesList of {tool, value} checks (max 50).

vendor_onboarding_pack

Vendor Identifier Check Pack

Check supplied IBAN, LEI, Belgian VAT and UK company-number fields in one result. Structural checks only; no ownership, registry or fraud clearance.

ParameterTypeRequiredDescription
ibanstringnoVendor IBAN (optional).
leistringnoVendor LEI (optional).
vat_numberstringnoVendor VAT number, BE mod-97 (optional).
company_numberstringnoVendor UK company number (optional).

india_supplier_check

India Supplier Verification Pack

One 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 open an INR account.

ParameterTypeRequiredDescription
gstinstringnoGSTIN (15 chars, optional)
panstringnoPAN (10 chars, optional)
vpastringnoUPI VPA handle (optional)
ifscstringnoIFSC bank code (optional)

pre_disbursement_guard

Counterparty Risk Indicators

Check 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 verified identity, fraud clearance or authorization to release funds.

ParameterTypeRequiredDescription
recipient_ibanstringnoRecipient bank IBAN (optional).
vendor_domainstringnoVendor website domain or invoicing email address (optional).
declared_countrystringno2-letter ISO country code where vendor claims to be registered (optional, e.g. 'GB', 'US', 'DE').
company_numberstringnoOfficial corporate registration number, e.g. UK Companies House 8 digits/chars (optional).
leistringnoISO 17442 Legal Entity Identifier (optional).
vat_numberstringnoEU VAT number (optional).
physical_addressstringnoVendor physical office address (optional).
invoice_amount_usdnumbernoDisbursement transaction amount in USD (optional).
prev_receipt_hashstringnoPreceding verification receipt hash (may also be passed via X-PREV-RECEIPT-HASH header).

gstin_check

GSTIN check (India)

Validate an Indian GSTIN by structure (2-digit state code + PAN + entity code + 'Z') and its mod-36 cross-sum checksum.

ParameterTypeRequiredDescription
gstinstringyes15-character Indian Goods and Services Tax Identification Number.

ifsc_check

IFSC Format Check

Check the 11-character Indian IFSC format, including its fifth-character zero. No bank-branch registry lookup or account verification.

ParameterTypeRequiredDescription
ifscstringyes11-character Indian Financial System Code.

sanctions_address_screen

Address Snapshot & Operator Policy Comparison

Screen 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=false preserves a local block; valid=null never authorizes a transaction. Names are not screened. Missing, stale or incomplete evidence is explicit; no UN/EU coverage or sanctions clearance is provided.

ParameterTypeRequiredDescription
subjectstringyesEVM address (0x...) or ISO 3166-1 country code / jurisdiction name

company_number_format

UK Company Number Format Check

Check supported UK company-number syntax. No Companies House lookup, entity-existence check or active-registration verification.

ParameterTypeRequiredDescription
company_numberstringyes8 digits, or 2 letters + 6 digits.

aba_routing_check

ABA Routing Number Check (US Fedwire/ACH)

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 transfer reversals or establish the recipient. Returns signed XDR-1 receipt.

ParameterTypeRequiredDescription
aba_routingstringno9-digit US bank routing number.
routingstringno9-digit US bank routing number (alias).

ein_format_check

EIN Format Check (US)

Validate US Employer Identification Number FORMAT (NN-NNNNNNN). Use during US business counterparty KYB verification. Returns signed XDR-1 receipt.

ParameterTypeRequiredDescription
einstringyesUS EIN, 9 digits; dashes/spaces allowed.

abn_check

ABN Check (Australia)

Validate an Australian Business Number by its mod-89 checksum (11 digits). Required before invoice payment to Australian contractors. Returns signed XDR-1 receipt.

ParameterTypeRequiredDescription
abnstringyes11-digit Australian Business Number; spaces allowed.

cnpj_check

Brazil CNPJ Check (Cadastro Nacional da Pessoa Jurídica)

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

ParameterTypeRequiredDescription
cnpjstringyes14-digit Brazilian CNPJ; punctuation allowed (e.g. 00.000.000/0001-91).

uscc_check

China USCC Check (Unified Social Credit Code / 统一社会信用代码)

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 Chinese manufacturers. Returns signed XDR-1 receipt.

ParameterTypeRequiredDescription
usccstringyes18-character Chinese Unified Social Credit Code (e.g. 91330100799655058B).

japan_corp_check

Japan Corporate Number Check (法人番号 - Houjin Bangou)

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 billing. Returns signed XDR-1 receipt.

ParameterTypeRequiredDescription
numberstringyes13-digit Japanese Corporate Number (e.g. 1180301018771).

kra_pin_check

Kenya KRA PIN Check (Kenya Revenue Authority)

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 agency invoicing. Returns signed XDR-1 receipt.

ParameterTypeRequiredDescription
pinstringyes11-character KRA PIN (e.g. P051112223Z).

rfc_check

Mexico RFC Check (Registro Federal de Contribuyentes)

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

ParameterTypeRequiredDescription
rfcstringyes12 or 13 character Mexican RFC (e.g. BBA830831LJ2).

upi_vpa_check

India UPI Virtual Payment Address (VPA) Validator

Deterministic 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 length rules. It is NOT a live registry lookup: no request leaves this worker, and an unlisted handle is reported as unrecognised rather than nonexistent. This does not establish that the VPA is registered, reachable or owned by anyone.

ParameterTypeRequiredDescription
vpastringyesUPI Virtual Payment Address (e.g. 'merchant@okhdfcbank', '9876543210@paytm')

uae_trn_check

UAE Tax Registration Number (TRN) Format Validator

Deterministic validation of UAE 15-digit Tax Registration Number (TRN) issued by the Federal Tax Authority (FTA) for VAT purposes.

ParameterTypeRequiredDescription
trnstringyes15-digit UAE TRN string (starts with 100)

china_supplier_check

China Supplier Verification Pack

One call, one receipt: USCC + settlement IBAN + SWIFT/BIC for a Chinese counterparty. Deterministic structure and checksum validation with explicit scope per identifier.

ParameterTypeRequiredDescription
usccstringnoUnified Social Credit Code (optional)
ibanstringnoSettlement IBAN (optional)
swiftstringnoSWIFT/BIC (optional)

japan_supplier_check

Japan Supplier Verification Pack

One call, one receipt: 13-digit Corporate Number + settlement IBAN for a Japanese counterparty. Deterministic check digits, explicit scope.

ParameterTypeRequiredDescription
corporate_numberstringno13-digit Corporate Number (optional)
ibanstringnoSettlement IBAN (optional)

latam_supplier_check

LatAm Supplier Verification Pack

One call, one receipt: Brazilian CNPJ + Mexican RFC + settlement IBAN. Deterministic checks for the two largest LatAm corridors in one paid call.

ParameterTypeRequiredDescription
cnpjstringnoBrazilian CNPJ (optional)
rfcstringnoMexican RFC (optional)
ibanstringnoSettlement IBAN (optional)

gulf_supplier_check

Gulf Supplier Verification Pack

One call, one receipt: UAE TRN + settlement IBAN + SWIFT/BIC. Deterministic structure validation for Gulf trade corridors, scope stated per identifier.

ParameterTypeRequiredDescription
trnstringnoUAE TRN (15 digits, optional)
ibanstringnoSettlement IBAN (optional)
swiftstringnoSWIFT/BIC (optional)

africa_supplier_check

Africa Supplier Verification Pack

One call, one receipt: Kenya KRA PIN + settlement IBAN + SWIFT/BIC. Deterministic structural checks for East African trade corridors.

ParameterTypeRequiredDescription
kra_pinstringnoKRA PIN (optional)
ibanstringnoSettlement IBAN (optional)
swiftstringnoSWIFT/BIC (optional)

rent_deposit_guard

Rental Deposit Risk Indicators

Check deposit IBAN checksum and supplied country/viewing indicators. Rule-based risk signals only; no ownership verification, escrow protection or guarantee against theft.

ParameterTypeRequiredDescription
deposit_ibanstringyesIBAN the deposit would be paid to.
property_countrystringnoISO 3166-1 alpha-2 country of the property, e.g. DE.
deposit_before_viewingbooleannoTrue if a deposit is demanded before any viewing.

rental_listing_risk

Rental Listing Risk & Fraud Engine

Explainable tenancy fraud risk score evaluated across irreversible payment demands, off-platform pressure, stolen photos, and advance wire signals. Deterministic rule engine.

ParameterTypeRequiredDescription
payment_irreversiblebooleannoPaid via crypto/gift-card/wire-only.
contact_moves_offplatformbooleannoPushed off the listing platform.
landlord_abroad_cannot_meetbooleannoLandlord 'abroad', can't meet in person.
no_in_person_viewingbooleannoNo viewing before payment.
urgency_pressurebooleannoPressure to secure today.
photos_reverse_image_hitbooleannoListing photos found elsewhere (stolen).
identity_docs_requested_upfrontbooleannoFull ID/bank docs demanded upfront.
price_below_market_pctnumbernoHow far below local market the rent is asked, in percent.

rental_verdict

Rental Risk Summary

Combine deposit identifier checks with supplied country, viewing and listing indicators. Does not verify landlord identity, property ownership or safety of payment.

ParameterTypeRequiredDescription
deposit_ibanstringyesDeposit IBAN.
property_countrystringnoProperty country, ISO alpha-2.
deposit_before_viewingbooleannoTrue if a deposit is demanded before any viewing.
landlord_leistringnoLandlord LEI (optional).
landlord_company_nostringnoLandlord UK company number (optional).
payment_irreversiblebooleannoPayment demanded via crypto/gift-card/wire-only.
contact_moves_offplatformbooleannoContact pushed off the listing platform.
no_in_person_viewingbooleannoNo in-person or video viewing before payment.
urgency_pressurebooleannoPressure to secure the property today.
price_below_market_pctnumbernoHow far below local market the rent is asked, in percent.

reconcile

Settlement Reconciliation (ISO 20022 + NACHA)

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 amounts. Verdicts: SETTLED, UNPAID, AMOUNT_MISMATCH, DUPLICATE_PAYMENT, plus unmatched statement entries. Facts computed from the documents only — never inferred, never guessed. Returns signed XDR-1 receipt.

ParameterTypeRequiredDescription
pain001_xmlstringnopain.001 instructions (or use pacs008_xml)
pacs008_xmlstringnopacs.008/PIX instructions (or use pain001_xml)
camt053_xmlstringnocamt.053 statement (or use nacha_ach)
nacha_achstringnoNACHA ACH text (94-char records) instead of camt053_xml

create_b2b_invoice

Create B2B contractor invoice

Create a merchant-direct Base token invoice. New automated payments require a durable EOA authorization journal and a configured provider. No active protocol fee; no generic bank-wire authority, independent delivery or contract-wallet guarantee.

ParameterTypeRequiredDescription
amount_usdcnumberyesInvoice total in USDC (e.g. 50000).
merchantstringyesBeneficiary contractor Base EVM wallet address (0x...).
client_namestringnoClient enterprise organization name (optional).
memostringnoEngagement scope / milestone description (optional).
referrerstringnoOptional attribution reference. Referral payouts and protocol fees are not active.

get_b2b_invoice

Get B2B invoice status

Read public recorded invoice status and held-operation next action. Private records and credentials require a separate fresh read-only signature from the durably confirmed original payer; URLs and payment vouchers grant no read authority.

ParameterTypeRequiredDescription
invoice_idstringyesUnique invoice identifier, e.g. inv_a1b2c3d4e5f6.

simulate_spend_sentinel

Simulate Spend Sentinel policy defense and delivery predicates

Run synthetic prompt-injection halts, malformed-delivery rejection, and bounded-spend eligibility examples under AP2 envelopes. No live escrow, refund, facilitator or chain action occurs.

ParameterTypeRequiredDescription
scenariostringnoSimulation scenario: 'injection' (prompt attack), 'garbage' (bad subagent output), or 'provable' (verified settlement). Default 'injection'.

aci_trust_lookup

ACI-1 Agent Credit & Trust Rating Lookup

Deterministic agent trust scoring and non-custodial unsettled exposure advisory evaluation (ACI-1). Quantifies counterparty grade (T0-T3), historical success rate, and maximum suggested settlement exposure without uncollateralized lending or float.

ParameterTypeRequiredDescription
subjectstringyesAgent wallet address (0x...) or canonical ANS identifier (c402:...) to evaluate
rolestringnoAgent role: 'payer' or 'seller' (default 'payer')
settled_calls_90dnumbernoNumber of settled transactions in the past 90 days
settlement_success_ratenumbernoHistorical settlement success rate 0.0 to 1.0
dispute_loss_ratenumbernoHistorical dispute loss rate 0.0 to 1.0
first_seen_daysnumbernoDays since first active on-chain settlement
sponsor_attestationsarray<any>noArray of signed sponsorship edges

csp_commitment_create

CSP-1 Confidential Terms Commitment & Stealth Announce

Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements (CSP-1) for invoice-scale B2B payments on Base L2.

ParameterTypeRequiredDescription
invoice_objectobjectyesStructured invoice or commercial agreement object to commit to
salt_hexstringnoOptional 32-byte salt (0x...). If omitted, cryptographically derived
stealth_recipientstringnoOptional Base L2 stealth recipient address for announcement
ephemeral_pubkeystringnoOptional ephemeral public key for ERC-5564 announcement
view_tagstringnoOptional 1-byte hex view tag (0xNN)

iso20022_validate

BAP-1 ISO 20022 Banking Message Validator

Deterministic validation for institutional ISO 20022 XML/JSON payment messages (pain.001 credit transfer, pacs.008 customer credit, camt.053 bank statement) with XML DOCTYPE security guards, BigInt CtrlSum decimal sums, and ISO 13616 / 9362 / 17442 checksums (BAP-1).

ParameterTypeRequiredDescription
raw_payloadstringyesRaw ISO 20022 XML or JSON message text
formatstringno'xml' or 'json' (default auto-detected)
namespacestringnoExpected ISO 20022 schema namespace (e.g. 'pain.001.001.09')
transactionsarray<any>noStructured transactions array for JSON validation

iso20022_to_x402_intent

BAP-1 ISO 20022 to x402 Intent Mapper

Translates validated ISO 20022 payment instructions (pain.001 / pacs.008) into deterministic EIP-712 payment-intent templates for autonomous x402 Base L2 USDC settlement (BAP-1). Zero custody, no fiat leg.

ParameterTypeRequiredDescription
instructionobjectyesValidated BAP-1 payment instruction object
counterparty_wallet_directoryobjectnoEnterprise IBAN -> 0x Base L2 wallet address map
seller_pay_to_addressstringnoFallback recipient Base L2 address
chain_idnumbernoTarget chain ID (default 8453 for Base)

syntax_preflight

Multi-Identifier Syntax & Checksum Preflight (Free)

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.

ParameterTypeRequiredDescription
ibanstringnoOptional IBAN to test via ISO 7064 MOD 97-10
bicstringnoOptional 8/11-char SWIFT BIC to test via ISO 9362
leistringnoOptional 20-char LEI to test via ISO 17442 MOD 97-10
country_codestringnoOptional 2-letter EU/XI VAT member-state prefix
vat_numberstringnoOptional EU VAT number
company_numberstringnoOptional UK Companies House number

counterparty_passport_verify

Counterparty XDR-1 Passport Verifier (Free)

Free bilateral verifier checking a counterparty's XDR-1 receipt signature, published signer, live-registry SKU tier, and timestamp age, returning a signed receipt.

ParameterTypeRequiredDescription
receiptobjectyesSigned XDR-1 receipt object presented by a counterparty
max_age_secondsnumbernoMaximum acceptable receipt age in seconds (default 86400)

check_price

Zero-cost price index and gasless x402 quote generator

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 into an agent planner's context without creating any financial obligation. If the planner acts on the quote, it hits the settlement_url with an EIP-3009 signed voucher.

ParameterTypeRequiredDescription
toolstringyesTarget tool name (e.g. 'iban-check', 'vendor-onboarding-pack')
amountnumbernoOptional batch count or volume units (default 1)

receipt_verify

Verify any XDR-1 receipt — free, stateless, any issuer

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 forever — no account, no quota, no storage (stateless). A valid receipt proves the signer signed that tool call at that timestamp; it does NOT prove funds moved or any business claim.

ParameterTypeRequiredDescription
receiptstringyesThe full XDR-1 receipt object: v, tool, tool_version, input_hash, output_hash, payer, recipient, amount, nonce, ts, tier, signer, signature (optional successor/stream_state).

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://rail.hcrb.in/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http code402 https://rail.hcrb.in/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : code402 ; URL : https://rail.hcrb.in/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : code402 ; Server URL : https://rail.hcrb.in/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "code402": {
      "url": "https://rail.hcrb.in/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "code402": {
      "type": "http",
      "url": "https://rail.hcrb.in/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "code402": {
      "url": "https://rail.hcrb.in/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "code402": {
      "httpUrl": "https://rail.hcrb.in/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.code402]
url = "https://rail.hcrb.in/mcp"

Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.