analyze_riskLABSCO SUMMARY
"Real math, not hallucinated numbers" is the entire argument, and it is the right one.
Ask a model for a portfolio's value at risk and it will produce a confident, plausible, wrong number — the arithmetic is the part language models are worst at, and risk figures are exactly where a plausible wrong answer does damage. Moving the computation to actual code against actual market data is the only way this belongs anywhere near a decision. Check what the free tier covers before depending on it; market data is the expensive input here.
What it is
A quantitative risk server that computes portfolio analytics against real market data rather than having a model estimate them.
What you get
- Value at risk and Monte Carlo simulation
- Stress testing and portfolio optimisation
- Option Greeks and correlation matrices
Requirements
Node, from npm. MIT licensed, with a free tier and a paid plan.
Setup effort
One command plus a key — npm install -g @quantrisk/mcp-server, then supply credentials
USE CASES
Sizing the downside
Value at risk and Monte Carlo, computed rather than guessed.
Testing a bad day
Stress scenarios against the real book.
Options exposure
Greeks and correlations.
10 tools
Listed in project docs. Your client may show a different list.
monte_carlo_simulationstress_testprice_historysector_exposureperformance_attributioncorrelation_matrixoptimize_portfoliocompare_portfolioscalculate_greeksBEFORE YOU INSTALL
What to know first
Tools you get
10 tools named in the project's documentation.
Requires
- quantrisk-mcp-server on PATH
- QUANTRISK_API_KEY in your environment
INSTALLATION
Connect your client
Server setup
npm install -g @quantrisk/mcp-serverMCP Clients
Claude Desktop, Cursor
{
"mcpServers": {
"quantrisk": {
"command": "quantrisk-mcp-server",
"env": {
"QUANTRISK_API_KEY": "<YOUR_QUANTRISK_API_KEY>"
}
}
}
}Any MCP client
quantrisk-mcp-server