MCPサーバー

openfang-rail

io.github.89rat/openfang-rail

このMCPでできること

Performs deterministic business, banking, tax, payment, and identifier validation, provides counterparty and trust checks, and supports Base-based invoices, receipts, disputes, and settlement workflows.

batch_validate
Batch Identifier Pipeline (up to 50 checks, 1 payment)
HIGH-THROUGHPUT DETERMINISTIC PIPELINE: Run up to 50 business identifier checks (IBAN / LEI / VAT / UK company / SWIFT / ABA / EIN / IFSC / ABN / Luhn / ISBN / E.164 / SEDOL / ISIN / EAN-13 / GSTIN / context-distill) in ONE paid call: one voucher, one settlement, one signed XDR-1 receipt covering the whole batch. 10x cheaper per item; essential for autonomous batch invoice processing.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'items': [{'tool': 'iban-check', 'value': 'GB82 WEST 1234 5698 7654 32'}, {'tool': 'lei-check', 'value': '529900T8BM49AURSDO55'}, {'tool': 'vat-mod97-check', 'value': 'BE0417497106'}]}], 'required': ['items'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['tool', 'value'], 'properties': {'tool': {'enum': ['iban-check', 'lei-check', 'vat-mod97-check', 'company-number-format', 'swift-bic-check', 'aba-routing-check', 'ein-format-check', 'ifsc-check', 'abn-check', 'luhn-check', 'isbn-check', 'e164-check', 'sedol-check', 'isin-check', 'ean13-check', 'gstin-check', 'context-distill'], 'type': 'string', 'description': 'which validator to run'}, 'value': {'type': 'string', 'description': 'the identifier (or text, for context-distill) to check'}}}, 'maxItems': 50, 'minItems': 1, 'description': 'List of {tool, value} checks (max 50).'}}}
出力スキーマ
{'type': 'object', 'required': ['count', 'results'], 'properties': {'tool': {'type': 'string'}, 'count': {'type': 'number'}, 'scope': {'type': 'string'}, 'results': {'type': 'array'}, 'valid_count': {'type': 'number'}, 'invalid_count': {'type': 'number'}}}
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.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'tool': 'iban-check', 'amount': 1}], 'required': ['tool'], 'properties': {'tool': {'type': 'string', 'description': "Target tool name (e.g. 'iban-check', 'vendor-onboarding-pack')"}, 'amount': {'type': 'number', 'description': 'Optional batch count or volume units (default 1)'}}}
出力スキーマ
{'type': 'object', 'required': ['tool', 'valid', 'price', 'quote_id', 'settlement_url'], 'properties': {'tool': {'type': 'string'}, 'price': {'type': 'number'}, 'scope': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'ttl_ms': {'type': 'number'}, 'currency': {'type': 'string'}, 'quote_id': {'type': 'string'}, 'settlement_url': {'type': 'string'}}}
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.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'gstin': '27AAPFU0939F1ZV'}], 'required': ['gstin'], 'properties': {'gstin': {'type': 'string', 'description': '15-character Indian Goods and Services Tax Identification Number.'}}}
出力スキーマ
{'type': 'object', 'required': ['valid', 'reason'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'country': {'type': 'string'}, 'normalized': {'type': 'string'}}}
iban_check
IBAN Check & Wire Fraud Shield
Deterministically validates international bank accounts (ISO 13616) using MOD-97-10 checksums: structure and checksum only. Catches mistyped or malformed IBANs before payout; a valid checksum does NOT establish account ownership, beneficiary identity, or absence of fraud. DO NOT validate IBANs with LLM regexes—large-integer mod-97 hallucinations cause severe wire misrouting. Returns offline-verifiable signed XDR-1 receipt.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'iban': 'GB82 WEST 1234 5698 7654 32'}], 'required': ['iban'], 'properties': {'iban': {'type': 'string', 'description': 'IBAN to validate; spaces allowed.'}}}
出力スキーマ
{'type': 'object', 'required': ['valid', 'reason'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'country': {'type': 'string'}, 'normalized': {'type': 'string'}}}
ifsc_check
IFSC Check (India NEFT/RTGS)
Validate an Indian IFSC by RBI structure (BBBB0NNNNNN; 5th character always 0). Required for India bank payouts. Returns signed XDR-1 receipt.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'ifsc': 'HDFC0000123'}], 'required': ['ifsc'], 'properties': {'ifsc': {'type': 'string', 'description': '11-character Indian Financial System Code.'}}}
出力スキーマ
{'type': 'object', 'required': ['valid', 'reason'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'country': {'type': 'string'}, 'normalized': {'type': 'string'}}}
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.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'pan': 'AAACP1234M', 'vpa': 'merchant@okhdfcbank', 'ifsc': 'HDFC0001234', 'gstin': '27AAPFU0939F1ZV'}], 'required': [], 'properties': {'pan': {'type': 'string', 'description': 'PAN (10 chars, optional)'}, 'vpa': {'type': 'string', 'description': 'UPI VPA handle (optional)'}, 'ifsc': {'type': 'string', 'description': 'IFSC bank code (optional)'}, 'gstin': {'type': 'string', 'description': 'GSTIN (15 chars, optional)'}}}
出力スキーマ
{'type': 'object', 'required': ['checked_count', 'all_valid'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'results': {'type': 'array'}, 'verdict': {'type': 'string'}, 'corridor': {'type': 'string'}, 'all_valid': {'type': 'boolean'}, 'next_steps': {'type': 'string'}, 'checked_count': {'type': 'number'}}}
lei_check
Legal Entity Identifier (LEI) KYB Check
CRITICAL B2B KYB CHECK: Deterministically validates Legal Entity Identifiers (ISO 17442) with ISO 7064 MOD-97-10 check digits for institutional entities. Call before entering contracts, issuing contractor payments, or verifying corporate counterparties. Returns signed XDR-1 receipt.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'lei': '529900T8BM49AURSDO55'}], 'required': ['lei'], 'properties': {'lei': {'type': 'string', 'description': '20-character Legal Entity Identifier.'}}}
出力スキーマ
{'type': 'object', 'required': ['valid', 'reason'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'country': {'type': 'string'}, 'normalized': {'type': 'string'}}}
pre_disbursement_guard
Pre-Disbursement Due Diligence Guard (Check Before You Send)
MANDATORY COUNTERPARTY DUE DILIGENCE: Verifies counterparty before releasing invoice payments, contractor payouts, or wires. Screens ISO 13616 IBAN checksum, RDAP domain age (<30d = scam), disposable email domains, UK CRN/LEI format, and BEC cross-jurisdiction mismatches. Produces signed XDR-1 receipt for compliance.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'vendor_domain': 'billing@acme-consulting.co.uk', 'company_number': '01234567', 'recipient_iban': 'GB82WEST12345698765432', 'declared_country': 'GB', 'invoice_amount_usd': 4500}], 'required': [], 'properties': {'lei': {'type': 'string', 'description': 'ISO 17442 Legal Entity Identifier (optional).'}, 'vat_number': {'type': 'string', 'description': 'EU VAT number (optional).'}, 'vendor_domain': {'type': 'string', 'description': 'Vendor website domain or invoicing email address (optional).'}, 'company_number': {'type': 'string', 'description': 'Official corporate registration number, e.g. UK Companies House 8 digits/chars (optional).'}, 'recipient_iban': {'type': 'string', 'description': 'Recipient bank IBAN (optional).'}, 'declared_country': {'type': 'string', 'description': "2-letter ISO country code where vendor claims to be registered (optional, e.g. 'GB', 'US', 'DE')."}, 'physical_address': {'type': 'string', 'description': 'Vendor physical office address (optional).'}, 'invoice_amount_usd': {'type': 'number', 'description': 'Disbursement transaction amount in USD (optional).'}}}
出力スキーマ
{'type': 'object', 'required': ['clear_to_disburse', 'risk_level', 'risk_score', 'decision'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'checks': {'type': 'object'}, 'summary': {'type': 'string'}, 'decision': {'type': 'string'}, 'risk_level': {'type': 'string'}, 'risk_score': {'type': 'number'}, 'flags_triggered': {'type': 'array'}, 'recommendations': {'type': 'array'}, 'clear_to_disburse': {'type': 'boolean'}, 'inspected_counterparty': {'type': 'object'}}}
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.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'receipt': {'v': 'XDR-1', 'ts': 0, 'tier': 'free', 'tool': 'iban-check', 'nonce': '0x…', 'payer': '0xc59c85e661d34084a7769f955d17fd38254a6235', 'amount': '0', 'signer': '0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8', 'recipient': '0xc59c85e661d34084a7769f955d17fd38254a6235', 'signature': '0x…', 'input_hash': '0x…', 'output_hash': '0x…', 'tool_version': '1'}}], 'required': ['receipt'], 'properties': {'receipt': {'type': 'string', 'description': 'The 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).'}}}
出力スキーマ
{'type': 'object', 'properties': {'scope': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'digest': {'type': 'string'}, 'canonical': {'type': 'string'}, 'declared_signer': {'type': 'string'}, 'signer_recovered': {'type': 'string'}}}
sanctions_address_screen
OFAC SDN & Sanctions List Edge Screener
Deterministic screen of EVM addresses and jurisdictions against a curated local blocklist of sanctioned addresses and prohibited jurisdictions. Address- and jurisdiction-level only — this is NOT name-based screening and NOT a complete OFAC SDN check. Absence of a match is not a sanctions clearance; use as one informational input alongside your own compliance process.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'subject': '0x7f367cc41522ce07553e823bf3be79a889debe1b'}], 'required': ['subject'], 'properties': {'subject': {'type': 'string', 'description': 'EVM address (0x...) or ISO 3166-1 country code / jurisdiction name'}}}
出力スキーマ
{'type': 'object', 'required': ['tool', 'valid', 'is_sanctioned'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'subject': {'type': 'string'}, 'match_type': {'type': 'string'}, 'is_sanctioned': {'type': 'boolean'}, 'sanction_program': {'type': 'string'}}}
swift_bic_check
SWIFT/BIC Structure & Country Code Check
Validate a SWIFT/BIC code by ISO 9362 structure (bank code, ISO country, location, optional branch). Run before foreign wire transfer dispatch to prevent routing rejection. Returns signed XDR-1 receipt.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'bic': 'DEUTDEFF500'}], 'required': ['bic'], 'properties': {'bic': {'type': 'string', 'description': 'SWIFT/BIC code, 8 or 11 characters; spaces/dashes allowed.'}}}
出力スキーマ
{'type': 'object', 'required': ['valid', 'reason'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'country': {'type': 'string'}, 'normalized': {'type': 'string'}}}
vat_mod97_check
VAT Check & Tax Invoicing Shield
CRITICAL TAX COMPLIANCE CHECK: Deterministically validates EU/BE VAT identifiers with MOD-97 checksums. Eliminates cross-border invoicing errors, invalid billing, and tax audit penalties. Returns signed XDR-1 receipt for accounting defense.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'vat_number': 'BE0417497106'}], 'required': ['vat_number'], 'properties': {'vat_number': {'type': 'string', 'description': 'EU VAT id; BE mod-97 checksum (BE prefix optional).'}}}
出力スキーマ
{'type': 'object', 'required': ['valid', 'reason'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'country': {'type': 'string'}, 'normalized': {'type': 'string'}}}
vendor_onboarding_pack
All-in-One Vendor Onboarding & Clearing Shield
INSTITUTIONAL COUNTERPARTY CLEARING: Screens vendor IBAN + LEI + VAT + UK company number in ONE signed call. Saves 50% vs individual checks. Produces an audit-ready compliance report and signed XDR-1 receipt to defend against invoice fraud before funds move.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'examples': [{'lei': '529900T8BM49AURSDO55', 'iban': 'GB82 WEST 1234 5698 7654 32', 'vat_number': 'BE0417497106', 'company_number': '12345678'}], 'required': [], 'properties': {'lei': {'type': 'string', 'description': 'Vendor LEI (optional).'}, 'iban': {'type': 'string', 'description': 'Vendor IBAN (optional).'}, 'vat_number': {'type': 'string', 'description': 'Vendor VAT number, BE mod-97 (optional).'}, 'company_number': {'type': 'string', 'description': 'Vendor UK company number (optional).'}}}
出力スキーマ
{'type': 'object', 'required': ['checked_count', 'all_valid'], 'properties': {'tool': {'type': 'string'}, 'scope': {'type': 'string'}, 'results': {'type': 'array'}, 'verdict': {'type': 'string'}, 'all_valid': {'type': 'boolean'}, 'checked_count': {'type': 'number'}}}
追加
check_price
2026年10月1日2:44
変更
receipt_verify
2026年9月29日2:51
変更
sanctions_address_screen
2026年9月29日2:51
変更
swift_bic_check
2026年9月29日2:51
変更
ifsc_check
2026年9月29日2:51
変更
gstin_check
2026年9月29日2:51
変更
vat_mod97_check
2026年9月29日2:51
変更
lei_check
2026年9月29日2:51
変更
iban_check
2026年9月29日2:51
変更
batch_validate
2026年9月29日2:51
変更
pre_disbursement_guard
2026年9月29日2:51
変更
india_supplier_check
2026年9月29日2:51
変更
vendor_onboarding_pack
2026年9月29日2:51
変更
india_supplier_check
2026年9月25日2:50
削除
uscc_check
2026年9月23日2:42
削除
upi_vpa_check
2026年9月23日2:42
削除
uae_trn_check
2026年9月23日2:42
削除
tx_activity
2026年9月23日2:42
削除
simulate_spend_sentinel
2026年9月23日2:42
削除
settlement_history_check
2026年9月23日2:42
削除
sedol_check
2026年9月23日2:42
削除
rfc_check
2026年9月23日2:42
削除
rent_deposit_guard
2026年9月23日2:42
削除
rental_verdict
2026年9月23日2:42
削除
rental_listing_risk
2026年9月23日2:42
削除
quote_3rd_party_insurance
2026年9月23日2:42
削除
pod_verify_delivery
2026年9月23日2:42
削除
pan_format_check
2026年9月23日2:42
削除
ofac_sdn_check
2026年9月23日2:42
削除
luhn_check
2026年9月23日2:42