QuantRisk
dev.quantrisk/mcp-server
MCP server OK 10 tools
Portfolio risk analytics — VaR, Monte Carlo, optimization, options Greeks, stress testing.
Technical sheet
- Author
- quantrisk.dev (registry namespace)
- Repository
- github.com/78degrees/mcp-server
- Site
- quantrisk.dev
- Version
- 1.0.2
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://quantrisk-mcp.quantrisk.workers.dev/mcp Streamable HTTP
- Packages
- @quantrisk/mcp-server 1.0.2 npm stdio
- Tools
- 10
- Categories
- —
- Last updated
- 9 May 2026
- Published
- 9 May 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/dev.quantrisk/mcp-server)<a href="https://latlas.dev/en/mcp/dev.quantrisk/mcp-server"><img src="https://latlas.dev/badge/fiche/dev.quantrisk/mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://quantrisk-mcp.quantrisk.workers.dev/mcp
- Last result
- OK 28 Nov 2026, 10:17
- Response time
- 671 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- quantrisk 1.0.0
- Tools
- 10
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:17 | OK | 671 ms | 10 |
Exposed tools (10, from tools/list, 28 Nov 2026)
analyze_risk
Calculate core risk metrics for a portfolio — Value at Risk (VaR), Conditional VaR (CVaR), volatility, beta, and max drawdown.
| Parameter | Type | Required | Description |
|---|---|---|---|
| positions | array<object> | yes | Array of portfolio positions. Each entry needs a ticker and quantity. Free tier: max 20 positions. Paid tier: up to 500. |
| confidence_level | number | no | VaR confidence level as a decimal, e.g. 0.95 = 95%. Range: 0.01-0.99. Default: 0.95. |
| horizon_days | integer | no | Risk horizon in trading days. 1 = overnight, 21 ≈ 1 month, 252 ≈ 1 year. Default: 1. |
| method | enum: "historical" | "parametric" | "cornish_fisher" | no | VaR calculation method. "historical" uses empirical return distribution, "parametric" assumes normality, "cornish_fisher" adjusts for skew and kurtosis. Default: "historical". |
| benchmark | string | no | Benchmark ticker for beta calculation, e.g. SPY or QQQ. Default: SPY. |
| lookback_days | integer | no | Number of historical trading days to use. 252 ≈ 1 year, 756 ≈ 3 years. Range: 30-1260. Default: 252. |
monte_carlo_simulation
Run Monte Carlo simulation on a portfolio to model the distribution of future returns, including percentile outcomes and probability of loss.
| Parameter | Type | Required | Description |
|---|---|---|---|
| positions | array<object> | yes | Array of portfolio positions. Free tier: max 20 positions. Paid tier: up to 500. |
| num_paths | integer | no | Number of simulation paths to run. More paths = more accurate but slower. Free tier: max 1,000. Paid tier: up to 100,000. Default: 10,000. |
| horizon_days | integer | no | Simulation horizon in trading days. 21 ≈ 1 month, 63 ≈ 1 quarter, 252 ≈ 1 year. Default: 21. |
| model | enum: "gbm" | "jump_diffusion" | no | Stochastic process model. "gbm" = Geometric Brownian Motion (standard), "jump_diffusion" = adds jump risk for fat-tail scenarios. Default: "gbm". |
| lookback_days | integer | no | Historical window used to estimate drift and volatility parameters. Range: 30-1260 trading days. Default: 252. |
| seed | integer | null | no | Random seed for reproducible results. Omit for a fresh random run each time. |
stress_test
Stress test a portfolio against historical crisis scenarios (GFC 2008, COVID 2020, etc.) or custom shocks (paid tier).
| Parameter | Type | Required | Description |
|---|---|---|---|
| positions | array<object> | yes | Array of portfolio positions. Free tier: max 20 positions and historical scenarios only. Paid tier: up to 500 positions plus custom shocks. |
| scenarios | array<enum: "gfc_2008" | "covid_2020" | "dot_com_2000" | "black_monday_1987" | "taper_tantrum_2013" | "rate_hike_2022" | "volmageddon_2018" | "euro_crisis_2011"> | no | Historical scenarios to run. Available values: gfc_2008, covid_2020, dot_com_2000, black_monday_1987, taper_tantrum_2013, rate_hike_2022, volmageddon_2018, euro_crisis_2011. Default: [gfc_2008, covid_2020]. |
| custom_shocks | array<object> | null | no | Custom shock definitions. PAID tier only. Each shock specifies ticker-level, sector-level, or market-wide price changes. |
optimize_portfolio
Find the optimal portfolio allocation using mean-variance optimization. Supports max Sharpe, min variance, and target return objectives. Paid tier only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tickers | array<string> | yes | Universe of tickers to optimize across. Must be 2-50 tickers. The optimizer will determine the best weights within this set. |
| objective | enum: "max_sharpe" | "min_variance" | "target_return" | no | Optimization objective. "max_sharpe" = maximize risk-adjusted return, "min_variance" = minimize portfolio volatility, "target_return" = hit a specific return with minimum risk. Default: "max_sharpe". |
| target_return | number | null | no | Required when objective is "target_return". Annualized return as a decimal, e.g. 0.12 = 12% annual return target. |
| constraints | object | no | Optional weight constraints. See ConstraintsInput for details. |
| risk_free_rate | number | no | Annualized risk-free rate as a decimal, e.g. 0.05 = 5%. Used in Sharpe ratio calculation. Default: 0.05. |
| lookback_days | integer | no | Historical window for estimating return and covariance. 252 = 1 year, 756 = 3 years, 1260 = 5 years. Range: 252-1260. Default: 756. |
correlation_matrix
Compute the pairwise correlation matrix for a set of assets. Identifies highly correlated pairs and diversification opportunities.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tickers | array<string> | yes | Tickers to include in the correlation matrix. Minimum 2, maximum 50. Free tier: max 10 tickers. Paid tier: up to 50. |
| lookback_days | integer | no | Historical window for computing correlations in trading days. 30 = ~6 weeks, 252 = ~1 year. Range: 30-1260. Default: 252. |
| method | enum: "pearson" | "spearman" | "kendall" | no | Correlation method. "pearson" = linear correlation (standard), "spearman" = rank-based (robust to outliers), "kendall" = concordance-based. Default: "pearson". |
performance_attribution
Break down portfolio performance into factor exposures, sector allocation, and position contributions. Computes Sharpe, Sortino, Treynor, Calmar, and Information ratios.
| Parameter | Type | Required | Description |
|---|---|---|---|
| positions | array<object> | yes | Array of portfolio positions. Free tier: max 20 positions (basic ratios only). Paid tier: up to 500 positions with full factor attribution. |
| period_days | integer | no | Measurement period in trading days. 252 = ~1 year. Range: 30-1260. Default: 252. |
| benchmark | string | no | Benchmark ticker for relative performance metrics (Information Ratio, Tracking Error, Beta). Default: SPY. |
| risk_free_rate | number | no | Annualized risk-free rate as a decimal, e.g. 0.05 = 5%. Used in Sharpe, Sortino, and Treynor ratios. Default: 0.05. |
sector_exposure
Break down portfolio exposure by GICS sector, market cap, and asset class. Returns concentration metrics including the Herfindahl-Hirschman Index.
| Parameter | Type | Required | Description |
|---|---|---|---|
| positions | array<object> | yes | Array of portfolio positions to analyze. Returns GICS sector weights, market cap breakdown, and concentration metrics. |
price_history
Fetch historical OHLCV price data for one or more tickers. Free tier: 1 ticker, 252 days. Paid tier: up to 20 tickers, 1260 days.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tickers | array<string> | yes | Ticker symbols to fetch price history for. Free tier: max 1 ticker. Paid tier: up to 20 tickers. |
| days | integer | no | Number of historical trading days to return. Free tier: max 252 days (~1 year). Paid tier: up to 1260 days (~5 years). Default: 252. |
| interval | enum: "daily" | "weekly" | "monthly" | no | Price interval. "daily" returns one OHLCV row per trading day, "weekly" aggregates to weekly bars, "monthly" aggregates to monthly bars. Default: "daily". |
compare_portfolios
Compare two or more portfolio allocations head-to-head across all key risk and return metrics. Paid tier only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| portfolios | array<object> | yes | Two to five named portfolios to compare head-to-head. Each needs a unique name and a list of positions. Min: 2, max: 5. |
| period_days | integer | no | Lookback period in trading days used for return and risk calculations. 252 = ~1 year. Range: 30-1260. Default: 252. |
| confidence_level | number | no | VaR confidence level as a decimal, e.g. 0.95 = 95%. Range: 0.01-0.99. Default: 0.95. |
calculate_greeks
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| options | array<object> | yes | Array of option positions to calculate Greeks for. 1-100 options. Results include per-option Greeks and aggregated portfolio Greeks. |
| risk_free_rate | number | no | Annualized risk-free rate as a decimal, e.g. 0.05 = 5%. Used in Black-Scholes and binomial pricing models. Default: 0.05. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://quantrisk-mcp.quantrisk.workers.dev/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http quantrisk https://quantrisk-mcp.quantrisk.workers.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : quantrisk ; URL : https://quantrisk-mcp.quantrisk.workers.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : quantrisk ; Server URL : https://quantrisk-mcp.quantrisk.workers.dev/mcp ; Create as a plugin{
"mcpServers": {
"quantrisk": {
"url": "https://quantrisk-mcp.quantrisk.workers.dev/mcp"
}
}
}{
"mcpServers": {
"quantrisk": {
"type": "http",
"url": "https://quantrisk-mcp.quantrisk.workers.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"quantrisk": {
"url": "https://quantrisk-mcp.quantrisk.workers.dev/mcp"
}
}
}{
"mcpServers": {
"quantrisk": {
"httpUrl": "https://quantrisk-mcp.quantrisk.workers.dev/mcp"
}
}
}[mcp_servers.quantrisk]
url = "https://quantrisk-mcp.quantrisk.workers.dev/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
QuantRisk · L’Atlas · Tested on
[QuantRisk — L’Atlas](https://latlas.dev/en/mcp/dev.quantrisk/mcp-server)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.