{"$schema":"https://static.modelcontextprotocol.io/schemas/v1/server-card.schema.json","name":"xyz.marketwizardry/otc-rates-xva","version":"0.2.0","title":"Market Wizardry — OTC Rates (IRS, CCS) & XVA Engine","description":"Deterministic multi-curve OIS yield curve bootstrapping (SOFR, ESTR, SONIA, SORA, TONA), Interest Rate Swap & Cross-Currency Swap valuation, seeded Hull-White 1F + FX Monte Carlo exposure simulation (EE, EPE, PFE), and 5-component ISDA/CSA XVA waterfalls (CVA, DVA, FVA, COLVA, MVA).","websiteUrl":"https://marketwizardry.xyz/pages/otc-mcp","repository":{"url":"https://github.com/marketwizardry/otc-rates-xva-mcp","source":"github"},"icons":[{"src":"https://marketwizardry.xyz/cdn/shop/files/mw-icon-512.png","mimeType":"image/png","sizes":["512x512"]}],"packages":[{"registryType":"npm","identifier":"marketwizardry-mcp","version":"0.2.0","transport":{"type":"stdio"}}],"remotes":[{"type":"streamable-http","url":"https://mcp.marketwizardry.xyz/mcp","headers":[{"name":"Authorization","description":"Optional for Free Starter (domestic OIS, Vanilla IRS, Day-Count, Structurer Audit). Provide 'Bearer mw_live_...' for Pro (CCS basis, 4 crisis regimes, Hull-White exposure & XVA waterfall).","isRequired":false,"isSecret":true}]}],"tools":[{"name":"compute_daycount_and_conventions","title":"OTC Day-Count & RFR OIS Convention Calculator","description":"Use whenever calculating accrual year fractions (ACT/360, ACT/365F, 30/360, ACT/ACT) or looking up overnight RFR OIS market conventions (SOFR, ESTR, SONIA, SORA, TONA payment lags, lookbacks, day counts).","tier":"starter+pro","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"bootstrap_curves","title":"Bootstrap Multi-Curve RFR OIS & Cross-Currency Basis Curves","description":"Use whenever bootstrapping yield curves, stripping OIS discount factors, zero rates, or implied forward rates for USD SOFR, EUR ESTR, GBP SONIA, SGD SORA, or JPY TONA—or stripping USD-CSA cross-currency basis discount curves across 2020/2022/2023/2026 market regimes.","tier":"starter+pro","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"price_swap","title":"Price Vanilla IRS, Constant-Notional CCS & MTM-Resetting CCS","description":"Use whenever valuing an Interest Rate Swap (IRS), Constant-Notional Cross-Currency Swap (CCS), or MTM-Resetting CCS; solving for par swap rate or par cross-currency basis spread; or computing Net PV, key-rate PV01/DV01 ladders, and FX basis sensitivity.","tier":"starter+pro","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"simulate_exposure_profile","title":"Simulate OTC Counterparty Credit Exposure Profile (EE, EPE, ENE, PFE)","description":"Use whenever computing OTC counterparty credit risk profiles (EE, EPE, Effective EPE, ENE, PFE 95%/99%, peak exposure timing) for an IRS or CCS, or comparing mid-life humped IRS exposure vs maturity-peaking CCS notional re-exchange exposure.","tier":"pro","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"compute_xva_waterfall","title":"Compute CVA, DVA, FVA, COLVA & MVA Waterfall Under ISDA/CSA Terms","description":"Use whenever calculating CVA, DVA, FVA, COLVA, or MVA (in dollars and running bps), quoting an all-in XVA-adjusted client swap rate, or quantifying XVA savings across ISDA CSA terms (Uncollateralized, 1-Way/2-Way VM, Thresholds, MTA, MPOR, Initial Margin/SIMM).","tier":"pro","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"audit_swap_mechanics","title":"Senior OTC Structurer Convention & CSA Audit","description":"Use whenever reviewing or structuring an OTC IRS/CCS trade or ISDA CSA term sheet to catch institutional structuring traps: RFR day-count mismatches, missing CCS principal exchanges, CSA collateral currency discounting switches, 1-way CSA FVA bleed, and Wrong-Way Risk.","tier":"starter+pro","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}],"resources":[{"name":"RFR OIS Day-Count, Fixing & Settlement Conventions","uri":"mw://conventions/rfr-ois-daycounts","mimeType":"text/markdown","description":"Institutional conventions for SOFR, ESTR, SONIA, SORA, and TONA OIS swaps: day-counts, lookbacks vs. observation shifts, payment delays, spot lags, and stub rules."},{"name":"Cross-Currency Basis & MTM Notional Resets Playbook","uri":"mw://playbooks/ccs-basis-and-mtm-resets","mimeType":"text/markdown","description":"Mechanics of initial/final principal exchange, CIP basis drivers, Constant-Notional maturity-peaking exposure vs. MTM-Resetting interbank CCS, and DCM corporate hedge trade-offs."},{"name":"ISDA CSA Parameters & XVA Waterfall Decision Tree","uri":"mw://playbooks/isda-csa-xva-decision-tree","mimeType":"text/markdown","description":"Decision tree mapping ISDA Netting, CSA Thresholds (H), MTA, MPOR, Collateral Currency (CTD), and SIMM Initial Margin to CVA, DVA, FVA, COLVA, and MVA."},{"name":"Historical OTC Curve, Basis & Credit Regime Catalog","uri":"mw://snapshots/historical-regimes","mimeType":"application/json","description":"Deterministic catalog of the 4 pre-built multi-currency OIS, FX spot/vol, cross-currency basis, and CDS/funding market regimes available in bootstrap_curves, price_swap, and compute_xva_waterfall."},{"name":"Market Wizardry Institutional OTC Rates, FX & XVA Desk Glossary","uri":"mw://glossary/otc-desk-terminology","mimeType":"text/markdown","description":"Curated OTC desk terminology distilled from Market Wizardry legacy glossaries and elevated to post-2008 OIS multi-curve, CCS basis, and ISDA CSA XVA precision."}],"prompts":[{"name":"corporate-ccs-issuance-hedge","title":"Cross-Border DCM Corporate Issuance CCS Hedge","description":"Multi-stage Socratic structuring simulation: advise a EUR or SGD corporate Treasurer swapping USD Eurobond proceeds via Constant-Notional vs. MTM-Resetting CCS across tranquil and stressed basis regimes."},{"name":"ois-multi-curve-bootstrapping-lab","title":"Post-GFC Multi-Curve OIS & Basis Bootstrapping Lab","description":"Interactive Socratic quant lab stripping OIS discount factors, ranking Par/Zero/Forward curves across inverted vs. normal regimes, and verifying CSA collateralized cross-currency discounting."},{"name":"csa-negotiation-xva-pricing","title":"Corporate CSA Negotiation & All-In XVA Pricing Desk","description":"Live three-way pricing negotiation between Derivatives Sales, Corporate Treasury, and the XVA Desk quantifying CVA, DVA, FVA, COLVA, and MVA across Uncollateralized, Threshold VM, and SIMM IM CSAs."}]}