QuantRisk MCP server
✓ 인증됨VaR, Monte Carlo 시뮬레이션, 스트레스 테스트 및 포트폴리오 최적화를 포함한 기관급 포트폴리오 리스크 분석 기능을 제공합니다.
다른 이름 78degrees/mcp-server, @quantrisk/mcp-server
- 스타
- 2
- Tools
- 10
- 다운로드, 30일
- —
- 최신 버전
- 1.0.3
- 마지막 커밋
- 2026년 5월 26일
- 라이선스
- MIT
QuantRisk MCP란?
QuantRisk은(는) MCP server입니다. VaR, Monte Carlo 시뮬레이션, 스트레스 테스트 및 포트폴리오 최적화를 포함한 기관급 포트폴리오 리스크 분석 기능을 제공합니다. 10개 도구를 제공합니다. 예: analyze_risk, monte_carlo_simulation, stress_test.
프로젝트 README에서 생성된 요약
QuantRisk MCP server 정보
QuantRisk는 Claude Desktop, Cursor 및 기타 Model Context Protocol 클라이언트 사용자를 위한 기관급 금융 분석 기능을 제공합니다. 개발자와 투자자는 AI 인터페이스를 통해 시장 데이터에 대한 복잡한 수학적 연산을 직접 수행할 수 있습니다. 이 MCP server는 stdio를 사용하는 로컬 프로세스로 실행되며, 원격 리스크 엔진과 인증하기 위해 환경 변수로 제공되는 QUANTRISK_API_KEY가 필요합니다.
사용자는 VaR 및 샤프 지수 계산을 위한 analyze_risk, 미래 수익률 예측을 위한 monte_carlo_simulation, 과거 시나리오 분석을 위한 stress_test 등 다양한 도구를 사용할 수 있습니다. 무료 티어는 7개의 도구와 최대 20개의 포지션을 지원하며, Pro 티어에서는 포트폴리오 최적화, 포트폴리오 비교 분석, 옵션 그리스(Greeks) 계산 기능이 추가됩니다. 시스템은 실제 시장 데이터를 위해 Yahoo Finance를 활용하므로, 생성된 숫자가 아닌 실제 가격을 기반으로 계산을 수행합니다.
활용 사례
- 1포트폴리오 리스크 지표 계산AI에게 특정 자산 집합에 대한 Value at Risk를 결정하도록 요청합니다.
- 2미래 시장 결과 시뮬레이션Monte Carlo 시뮬레이션을 실행하여 보유 자산에 대한 잠재적 백분위 결과를 확인합니다.
- 3과거 스트레스 시나리오 분석특정 자산 배분이 2008년 금융 위기 동안 어떻게 성과를 냈을지 테스트합니다.
- 4고급 포트폴리오 최적화 수행Pro 기능을 사용하여 다수의 포지션에 대해 최적의 평균-분산 또는 리스크 패리티 배분을 찾습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
QuantRisk MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 QuantRisk MCP 설치
$ claude mcp add --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quantrisk -- npx -y @quantrisk/mcp-serverCursor에 QuantRisk MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"quantrisk": {
"command": "npx",
"args": [
"-y",
"@quantrisk/mcp-server"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}VS Code에 QuantRisk MCP 설치
.vscode/mcp.json
{
"servers": {
"quantrisk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@quantrisk/mcp-server"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}VS Code CLI에 QuantRisk MCP 설치
$ code --add-mcp '{"name":"quantrisk","type":"stdio","command":"npx","args":["-y","@quantrisk/mcp-server"],"env":{"YOUR_API_KEY":"<YOUR_YOUR_API_KEY>"}}'Claude Desktop에 QuantRisk MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"quantrisk": {
"command": "npx",
"args": [
"-y",
"@quantrisk/mcp-server"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Codex에 QuantRisk MCP 설치
$ codex mcp add quantrisk --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' -- npx -y @quantrisk/mcp-serverCodex config.toml에 QuantRisk MCP 설치
~/.codex/config.toml
[mcp_servers.quantrisk] command = "npx" args = ["-y", "@quantrisk/mcp-server"] [mcp_servers.quantrisk.env] YOUR_API_KEY = "<YOUR_YOUR_API_KEY>"
Gemini CLI에 QuantRisk MCP 설치
$ gemini mcp add -s user -e 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quantrisk npx -- -y @quantrisk/mcp-serverGemini settings.json에 QuantRisk MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"quantrisk": {
"command": "npx",
"args": [
"-y",
"@quantrisk/mcp-server"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}QuantRisk MCP 도구 10
README에서 감지됨analyze_riskmonte_carlo_simulationstress_testprice_historysector_exposureperformance_attributioncorrelation_matrixoptimize_portfoliocompare_portfolioscalculate_greeks
| analyze_risk | — | |
| monte_carlo_simulation | — | |
| stress_test | — | |
| price_history | — | |
| sector_exposure | — | |
| performance_attribution | — | |
| correlation_matrix | — | |
| optimize_portfolio | — | |
| compare_portfolios | — | |
| calculate_greeks | — |
구성
YOUR_API_KEY필수비밀Your API key for the service
QUANTRISK_API_KEY
| 이름 | 설명 | 유형 |
|---|---|---|
| YOUR_API_KEY | Your API key for the service | 필수비밀 |
| QUANTRISK_API_KEY | — |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능78degrees/mcp-server is public and reachablegithub.com/78degrees/mcp-server ↗통과
- 패키지가 이 저장소를 소스로 명시@quantrisk/mcp-server names git+https://github.com/quantrisk/mcp-server.git as its sourcenpmjs.com/package/@quantrisk/mcp-server ↗결함 발견
- 빌드 출처(Sigstore 증명)No build attestation published for this release검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-05-27github.com/78degrees/mcp-server ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from @quantrisk/mcp-server통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음138 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음10 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨No tool named like delete, drop or exec통과
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기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.
Website · Get Pro · Documentation
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:
{
"mcpServers": {
"quantrisk": {
"command": "quantrisk-mcp-server",
"env": {
"QUANTRISK_API_KEY": "your-api-key"
}
}
}
}
Get your free API key at quantrisk.dev/signup.
3. Ask Claude
"What's the Value at Risk on a portfolio of 60% SPY, 25% TLT, and 15% GLD?"
That's it. Claude now has access to institutional-grade risk analytics.
Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"quantrisk": {
"command": "quantrisk-mcp-server",
"env": {
"QUANTRISK_API_KEY": "your-api-key"
}
}
}
}
Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"quantrisk": {
"command": "quantrisk-mcp-server",
"env": {
"QUANTRISK_API_KEY": "your-api-key"
}
}
}
}
Any MCP Client
QuantRisk works with any client that supports the Model Context Protocol. Point it at the quantrisk-mcp-server binary with your API key in the environment.
Tools
| Tool | Description | Tier |
|---|---|---|
analyze_risk |
VaR, CVaR, volatility, Sharpe ratio, max drawdown | Free |
monte_carlo_simulation |
Forward-looking return simulations with configurable paths | Free |
stress_test |
Portfolio impact under historical and hypothetical scenarios | Free |
price_history |
Historical price and return data for any supported ticker | Free |
sector_exposure |
Sector and industry breakdown across holdings | Free |
performance_attribution |
Return attribution by asset, sector, and factor | Free |
correlation_matrix |
Cross-asset correlation analysis | Free |
optimize_portfolio |
Mean-variance and risk-parity optimization | Pro |
compare_portfolios |
Side-by-side risk/return comparison of multiple portfolios | Pro |
calculate_greeks |
Options Greeks — delta, gamma, theta, vega, rho | Pro |
Example Queries
Once configured, ask Claude questions like these:
- "Run a Monte Carlo simulation on my portfolio: 50% AAPL, 30% MSFT, 20% NVDA. Show me the 5th percentile outcome."
- "Stress test 70% VTI / 30% BND against the 2008 financial crisis and a hypothetical 300bp rate shock."
- "What's my sector exposure if I hold equal weights in AMZN, JPM, JNJ, XOM, and NEE?"
- "Show me the correlation matrix for SPY, GLD, TLT, and BTC-USD over the last 2 years."
- "Compare the risk-adjusted returns of a 60/40 portfolio vs. an all-weather portfolio." (Pro)
- "Calculate the Greeks for a SPY 550 call expiring in 30 days." (Pro)
Why Pro?
The free tier covers core risk analytics for small portfolios. Pro unlocks the tools and scale that serious analysis demands.
| Free | Pro ($29/mo) | |
|---|---|---|
| Positions | 20 | 500 |
| API calls | 50/day | Unlimited |
| Tools | 7 | All 10 |
| Monte Carlo paths | 1,000 | 100,000 |
| Portfolio optimization | — | Mean-variance, risk-parity, min-volatility |
| Portfolio comparison | — | Side-by-side multi-portfolio analysis |
| Options Greeks | — | Full Greeks surface |
What that means in practice:
- Free: "What's the VaR on my 10-stock portfolio?" — works great.
- Pro: "Optimize my 200-position portfolio for maximum Sharpe, then stress test it against 5 scenarios and compare it to my current allocation." — you need Pro for that.
How It Works
Claude / MCP Client
|
MCP Protocol
|
QuantRisk MCP Server (local process)
|
QuantRisk API (Cloudflare Workers)
|
Yahoo Finance (market data) + risk engine (math)
- MCP Server runs locally as a stdio process — your API key never leaves your machine except to authenticate with the QuantRisk API.
- Risk Engine runs on Cloudflare Workers. All calculations — VaR, Monte Carlo, optimization — happen server-side with real math on real market data.
- Market Data sourced from Yahoo Finance. Prices, fundamentals, and options chains are fetched in real time.
- Reports generated with pdf-lib when applicable.
No data is stored. No portfolio information is retained after a request completes.
Contributing
Contributions are welcome. Please open an issue first to discuss what you'd like to change.
git clone https://github.com/78degrees/mcp-server.git
cd mcp-server
npm install
npm test
See CONTRIBUTING.md for guidelines.
License
Built by the team at quantrisk.dev
Contact: hello@quantrisk.dev
QuantRisk MCP 질문
QuantRisk MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quantrisk -- npx -y @quantrisk/mcp-server를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
QuantRisk MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
QuantRisk MCP는 어떤 도구를 제공하나요?
10개 도구를 제공합니다. 예: analyze_risk, monte_carlo_simulation, stress_test, price_history, sector_exposure.
포트폴리오 데이터가 서버에 저장되나요?
아니요, 이 서비스는 요청이 완료된 후 데이터를 저장하거나 포트폴리오 정보를 보유하지 않습니다.