Portfolio risk analytics
inside Claude.

VaR, Monte Carlo simulations, stress testing, and portfolio optimization — all from a natural language conversation. Install in 30 seconds.

npm install -g @quantrisk/mcp-server Click to copy

See it work.

Real output from real market data. Not mockups.

Claude Desktop
Analyze the risk of my portfolio: 100 NVDA, 150 AAPL, 80 GOOGL, 60 TSLA, 120 MSFT. Show me the 1-month VaR at 95% confidence.
Portfolio Value
$173,097
Value at Risk (95%)
-$15,162
Expected Shortfall
-$18,886
Annual Volatility
19.18%
Beta vs S&P 500
1.28
Max Drawdown
-18.68%

Your $173K portfolio has a 95% 1-month VaR of $15,162 — meaning there's a 5% chance of losing more than 8.76% in any given month. The beta of 1.28 means you're amplifying market moves by about 28%.

Claude Desktop
Run a Monte Carlo simulation on the same portfolio. 1,000 paths over one quarter. What's the probability I lose money?
Probability of Loss
17%
Median Outcome
$190,118
Worst Path
$141,373
Best Path
$277,527
P5
$161,065
P25
$178,390
P50
$190,118
P75
$203,676
P95
$225,634

Across 1,000 GBM simulations over 63 trading days, your portfolio has an 83% chance of being in the green. The median outcome is +9.8% — but the tail risk is real: in the worst 5% of paths, you're down $19K+.

Claude Desktop
Stress test this portfolio against the 2008 financial crisis, COVID crash, Black Monday, and the 2022 rate hikes. How bad does it get?
Here's how your $173K portfolio would have fared in each crisis:
2008 Financial Crisis (GFC) -$93,029 (-53.7%)
2022 Rate Hike Cycle -$65,267 (-37.7%)
COVID-19 Crash (2020) -$45,719 (-26.4%)
Black Monday (1987) -$36,030 (-20.8%)

A GFC-level event would cut your portfolio in half. Your heaviest exposure — MSFT at $49.8K — takes the biggest absolute hit in every scenario. Consider hedging or rebalancing if a >50% drawdown isn't within your risk tolerance.

10 tools. One install.

Everything a quant needs, accessible through natural conversation.

analyze_risk

VaR, CVaR, volatility, beta, max drawdown. Historical, parametric, or Cornish-Fisher.

Free

monte_carlo_simulation

GBM or jump-diffusion paths. Percentile outcomes, probability of loss, expected shortfall.

Free

stress_test

8 historical crisis scenarios: GFC, COVID, Black Monday, dot-com, and more.

Free

correlation_matrix

Pairwise correlation and covariance between all positions. Spot concentration risk.

Free

price_history

Daily OHLCV data for any ticker. Adjusted close, volume, splits accounted for.

Free

sector_exposure

Portfolio allocation by GICS sector. See where your concentration risk lives.

Free

performance_attribution

Break down returns by position. See what's driving gains and dragging performance.

Free

optimize_portfolio

Mean-variance optimization. Max Sharpe, min variance, or target return with constraints.

Pro

compare_portfolios

Side-by-side risk comparison of two portfolios. See which one is more efficient.

Pro

calculate_greeks

Black-Scholes Greeks for options positions: delta, gamma, theta, vega, rho.

Pro

Start free. Upgrade when you need more.

No credit card required. Install and start analyzing immediately.

Free
$0
  • Up to 20 positions
  • 50 API calls per day
  • 7 tools included
  • Historical & parametric VaR
  • 8 stress test scenarios
  • 1,000 Monte Carlo paths
  • Portfolio optimization
  • Options Greeks
Install Free
Pro
$29/mo
  • Up to 500 positions
  • Unlimited API calls
  • All 10 tools
  • Historical, parametric & Cornish-Fisher VaR
  • 8 scenarios + custom shocks
  • 100,000 Monte Carlo paths
  • Portfolio optimization
  • Options Greeks
Upgrade to Pro