OpenChainGraph Suite · OCG v0.8.0 · Bank Capital & Credit Risk

Commercial Loan Underwriting Check

Note (dated 2026-08-04): a chain composes independent computations performed in an analytical order. No step's output is carried into the next step by the execution model; each step computes from its own declared inputs. This is true of every chain on this site, including chains whose per-step copy below reads as a data handoff.

Three-step chain. Step 1 rebuilds the borrower debt-service coverage and interest-coverage ratios and tests them against the five-category lender matrix. Step 2 prices the loan on a risk-adjusted return-on-capital basis and reports the spread needed to clear the hurdle rate. Step 1 totals are cited for manual comparison against the disclosed figures.

OpenChainGraph · 3 Steps compliance mandate · Reg Z 1026.46-48 Hash-Anchored §4 chain_depth:3 Client-Side · Zero PII
🔒 All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data — use synthetic or anonymised inputs only.
Commercial loan math only. Not a credit decision. Outputs are computed from your inputs and standard formulas. Consult qualified counsel before relying on any result.
Chain Topology (linear): Coverage Ratios → Risk-Adjusted Pricing → Session Receipt
§4 Execution Hash · Chain Definition Anchor
execution_hash:computing…
Chain Stages · 3 Steps · Linear
1 ROOT node
Produces basic/cash/FCF DSCR, FCCR, EBIT- and EBITDA-basis ICR, and leverage in x EBITDA, with a pass/fail assessment against the five-category lender matrix; the run's execution_hash anchors this stage.
MCP Call · compute_dscr
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "compute_dscr",
    "arguments": {
      "policy_parameters": {
        "ebitda_musd": 18,
        "ebit_musd": 13,
        "interest_musd": 5.5,
        "principal_musd": 6,
        "leases_musd": 1.5,
        "capex_musd": 4,
        "taxes_musd": 3.5,
        "working_capital_change_musd": 1,
        "amortization_musd": 4,
        "total_debt_musd": 65,
        "cash_musd": 8
      }
    }
  },
  "id": 1
}
↓
2 NODE · D1 node
RAROC Loan Pricer art-362-compute-raroc-loan-price
Produces RAROC, the hurdle-rate verdict, break-even spread and gap in bps, and economic capital; step-1 ratios and execution_hash are cited for manual comparison against the pricing inputs (the pricer takes user-supplied inputs and does not read the borrower books). RAROC is a simplified public approximation of the Basel IRB formula, not a substitute for an internally approved IRB model.
MCP Call · compute_raroc_loan_price
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "compute_raroc_loan_price",
    "arguments": {
      "policy_parameters": {
        "ead_musd": 50,
        "tenor_years": 5,
        "margin_bps": 175,
        "benchmark_rate_pct": 4.25,
        "utilization_pct": 85,
        "pd_pct": 1.2,
        "lgd_pct": 45,
        "hurdle_rate_pct": 12,
        "cost_of_funds_pct": 4.8,
        "arrangement_fee_bps": 50,
        "commitment_fee_bps": 30,
        "operating_cost_kusd": 100,
        "tax_rate_pct": 25,
        "capital_buffer_bps": 300,
        "capital_approach": "airb"
      }
    }
  },
  "id": 2
}
↓
3 TERMINAL · D2 node
Agent-Action Audit-Trail Aggregator cry-05-agent-action-audit-trail-aggregator
Produces session_receipt_root, the Merkle root over the run's execution_hashes (final stage)
MCP Call · aggregate_execution_receipts
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "aggregate_execution_receipts",
    "arguments": {}
  },
  "id": 3
}
Chain Notes
Coverage vs pricing. Step 1 tests whether the borrower can service the debt; step 2 tests whether the loan, as priced, clears the hurdle rate. A borrower can clear every coverage threshold and still fail pricing, which is reported as a break-even spread gap in basis points. Borrowers can use step 1 alone to check their own coverage before applying.
Independent runs, manual comparison. Each step computes from its own inputs; no step output is carried into the next step. Step-1 ratios and execution hash are cited for manual comparison against the pricing inputs. The pricer takes user-supplied inputs and does not read the borrower books.
Scope. Debt-service coverage and interest-coverage ratios plus risk-adjusted loan pricing for commercial loans. Consumer lending, regulatory capital reporting, and approved IRB models are out of scope in v1. Commercial loan math only. Consumer lending, regulatory capital reporting, and approved IRB models are out of scope in v1. RAROC is a simplified public approximation of the Basel IRB formula, not a substitute for an internally approved IRB model. Not a credit decision.
Export Chain Artifact
Download the §4 chain definition artifact (hash-anchored JSON). Available after hash computation.

Ask your agent

Copy this paragraph into Claude, OpenClaw, or any MCP-aware agent to run this whole workflow on the server and check one field that answers a real question.

Question: Does a $50M five-year commercial loan at 175bps over benchmark clear a 12% hurdle rate, and how does RAROC move if the spread is 275bps?
Run the AINumbers MCP tool `run_chain` with {"chain":"commercial-loan-underwriting-check"} and read `art-362-compute-raroc-loan-price.raroc_pct`.
Re-run with `inputs` for `art-362-compute-raroc-loan-price`, reusing the values that result echoed, with `margin_bps` set to 275. Compare the same field.
Verify: call `verify_execution_hash` (https://mcp.ainumbers.co/mcp) with `claimed_hash` set to `composite_execution_hash` and the full `composite_artifact`.
Ledger, for a human re-check: https://ledger.ainumbers.co/
PII rule: send synthetic or anonymised inputs only. The MCP server runs these kernels and logs no payloads.
Chain page: https://ainumbers.co/chaingraph/chains/commercial-loan-underwriting-check.html