
QuantRisk
Plugs institutional risk analytics directly into Claude via the Model Context Protocol. Exposes 10 tools including VaR calculation, Monte Carlo simulation with configurable paths, historical stress testing, portfolio optimization, and options Greeks. Free tier gets you 7 tools and 20 positions per portfolio. Pro unlocks mean-variance optimization, 500-position portfolios, and 100k simulation paths. Runs as a local stdio process that talks to a Cloudflare Workers backend, which pulls real market data from Yahoo Finance and runs the math server-side. Useful when you need actual calculated risk metrics instead of LLM estimates, or when you're building portfolio analysis workflows that need to ground decisions in real numbers.
- tools
- 10
- auth
- Secret needed
- transport
- STDIO, HTTP
- env var
- 1
- last updated
- May 9, 2026
Install
From registry metadata$ npx add-mcp https://quantrisk-mcp.quantrisk.workers.dev/mcp --name 78degreesRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http 78degrees https://quantrisk-mcp.quantrisk.workers.dev/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 10 toolsVerified live against the running server on Nov 6, 2026.
analyze_riskCalculate core risk metrics for a portfolio — Value at Risk (VaR), Conditional VaR (CVaR), volatility, beta, and max drawdown.6 params
Calculate core risk metrics for a portfolio — Value at Risk (VaR), Conditional VaR (CVaR), volatility, beta, and max drawdown.
benchmarkstringconfidence_levelnumberhorizon_daysintegerlookback_daysintegermethodstringhistorical · parametric · cornish_fisherdefault: historicalpositions*arraymonte_carlo_simulationRun Monte Carlo simulation on a portfolio to model the distribution of future returns, including percentile outcomes and probability of loss.6 params
Run Monte Carlo simulation on a portfolio to model the distribution of future returns, including percentile outcomes and probability of loss.
horizon_daysintegerlookback_daysintegermodelstringgbm · jump_diffusiondefault: gbmnum_pathsintegerpositions*arrayseedvaluestress_testStress test a portfolio against historical crisis scenarios (GFC 2008, COVID 2020, etc.) or custom shocks (paid tier).3 params
Stress test a portfolio against historical crisis scenarios (GFC 2008, COVID 2020, etc.) or custom shocks (paid tier).
custom_shocksvaluepositions*arrayscenariosarrayoptimize_portfolioFind the optimal portfolio allocation using mean-variance optimization. Supports max Sharpe, min variance, and target return objectives. Paid tier only.6 params
Find the optimal portfolio allocation using mean-variance optimization. Supports max Sharpe, min variance, and target return objectives. Paid tier only.
constraintsobjectlookback_daysintegerobjectivestringmax_sharpe · min_variance · target_returndefault: max_sharperisk_free_ratenumbertarget_returnvaluetickers*arraycorrelation_matrixCompute the pairwise correlation matrix for a set of assets. Identifies highly correlated pairs and diversification opportunities.3 params
Compute the pairwise correlation matrix for a set of assets. Identifies highly correlated pairs and diversification opportunities.
lookback_daysintegermethodstringpearson · spearman · kendalldefault: pearsontickers*arrayperformance_attributionBreak down portfolio performance into factor exposures, sector allocation, and position contributions. Computes Sharpe, Sortino, Treynor, Calmar, and Information ratios.4 params
Break down portfolio performance into factor exposures, sector allocation, and position contributions. Computes Sharpe, Sortino, Treynor, Calmar, and Information ratios.
benchmarkstringperiod_daysintegerpositions*arrayrisk_free_ratenumbersector_exposureBreak down portfolio exposure by GICS sector, market cap, and asset class. Returns concentration metrics including the Herfindahl-Hirschman Index.1 params
Break down portfolio exposure by GICS sector, market cap, and asset class. Returns concentration metrics including the Herfindahl-Hirschman Index.
positions*arrayprice_historyFetch historical OHLCV price data for one or more tickers. Free tier: 1 ticker, 252 days. Paid tier: up to 20 tickers, 1260 days.3 params
Fetch historical OHLCV price data for one or more tickers. Free tier: 1 ticker, 252 days. Paid tier: up to 20 tickers, 1260 days.
daysintegerintervalstringdaily · weekly · monthlydefault: dailytickers*arraycompare_portfoliosCompare two or more portfolio allocations head-to-head across all key risk and return metrics. Paid tier only.3 params
Compare two or more portfolio allocations head-to-head across all key risk and return metrics. Paid tier only.
confidence_levelnumberperiod_daysintegerportfolios*arraycalculate_greeksCalculate option Greeks (delta, gamma, theta, vega, rho) for individual options or an options portfolio. Uses Black-Scholes for European, binomial for American style. Paid tier only.2 params
Calculate option Greeks (delta, gamma, theta, vega, rho) for individual options or an options portfolio. Uses Black-Scholes for European, binomial for American style. Paid tier only.
options*arrayrisk_free_ratenumberSponsors
Configuration
QUANTRISK_API_KEYsecretAPI key from https://quantrisk.dev/upgrade. Optional — without one, requests run on the free tier (limited tools and call quotas).
Readme
QuantRisk
Institutional-grade portfolio risk analytics for Claude and any MCP client.
VaR / Monte Carlo / Stress Testing / Portfolio Optimization / Greeks / Correlation Matrices
Real market data. Real math. Not hallucinated numbers.
Quick Start
1. Install
npm install -g @quantrisk/mcp-server
2. Configure (Claude Desktop — see below for Cursor)
Add to your claude_desktop_config.json:
Details
- Repository
- github.com/78degrees/mcp-server
- Website
- quantrisk.dev
- Category
- Monitoring & Observability
- Package
@quantrisk/mcp-server- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026