QuantRisk MCP sunucusu
✓ DoğrulandıVaR, Monte Carlo simülasyonları, stres testi ve portföy optimizasyonu dahil olmak üzere kurumsal düzeyde portföy risk analitiği sağlar.
Ayrıca bilinen adı 78degrees/mcp-server, @quantrisk/mcp-server
- Yıldızlar
- 2
- Araçlar
- 10
- İndirmeler, 30 gün
- —
- En son sürüm
- 1.0.3
- Son commit
- 26 May 2026
- Lisans
- MIT
QuantRisk MCP nedir?
QuantRisk bir MCP sunucusudur. VaR, Monte Carlo simülasyonları, stres testi ve portföy optimizasyonu dahil olmak üzere kurumsal düzeyde portföy risk analitiği sağlar. 10 araç sunar; örneğin analyze_risk, monte_carlo_simulation, stress_test.
Özet, projenin README dosyasından oluşturuldu
QuantRisk MCP sunucusu hakkında
QuantRisk; Claude Desktop, Cursor ve diğer Model Context Protocol istemcilerini kullananlar için kurumsal düzeyde finansal analitik sağlar. Geliştiricilerin ve yatırımcıların piyasa verileri üzerinde karmaşık matematiksel işlemleri doğrudan bir yapay zeka arayüzü üzerinden gerçekleştirmesine olanak tanır. Sunucu, stdio kullanarak yerel bir işlem olarak çalışır ve uzak risk motoruyla kimlik doğrulaması yapmak için ortam değişkenleri (environment variables) aracılığıyla sağlanan bir QUANTRISK_API_KEY gerektirir.
Kullanıcılar; VaR ve Sharpe oranlarını hesaplamak için analyze_risk, geleceğe dönük getiriler için monte_carlo_simulation ve geçmiş senaryo analizleri için stress_test dahil olmak üzere çeşitli araçlara erişebilirler. Ücretsiz katman yedi araç içerir ve 20 pozisyona kadar destek verirken, Pro katmanı portföy optimizasyonu, yan yana portföy karşılaştırması ve opsiyon Yunan harfleri (Greeks) hesaplaması gibi yetenekleri de kapsayacak şekilde kapasiteyi genişletir. Sistem, hesaplamaların üretilmiş sayılar yerine gerçek fiyatlara dayanmasını sağlamak için gerçek piyasa verileri için Yahoo Finance kullanır.
Neler yapabilirsiniz
- 1Portföy risk metriklerini hesaplayınBelirli bir varlık koleksiyonu için Value at Risk (VaR) değerini belirlemesi için yapay zekadan talepte bulunun.
- 2Gelecekteki piyasa sonuçlarını simüle edinBir grup varlık için potansiyel yüzdelik dilim sonuçlarını görmek amacıyla bir Monte Carlo simülasyonu çalıştırın.
- 3Geçmiş stres senaryolarını analiz edinBelirli bir varlık tahsisinin 2008 finansal krizi sırasında nasıl performans göstereceğini test edin.
- 4Gelişmiş portföy optimizasyonu gerçekleştirinÇok sayıda pozisyon için en iyi ortalama-varyans veya risk-parite tahsisini bulmak için Pro özelliklerini kullanın.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
QuantRisk MCP nasıl yüklenir
Biçimler 10 Kas 2026 tarihinde doğrulandıCursor'a ekleGoose'a ekleQuantRisk MCP'yi Claude Code içine yükleyin
$ claude mcp add --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quantrisk -- npx -y @quantrisk/mcp-serverQuantRisk MCP'yi Cursor içine yükleyin
~/.cursor/mcp.json
{
"mcpServers": {
"quantrisk": {
"command": "npx",
"args": [
"-y",
"@quantrisk/mcp-server"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}QuantRisk MCP'yi VS Code içine yükleyin
.vscode/mcp.json
{
"servers": {
"quantrisk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@quantrisk/mcp-server"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}QuantRisk MCP'yi VS Code CLI içine yükleyin
$ code --add-mcp '{"name":"quantrisk","type":"stdio","command":"npx","args":["-y","@quantrisk/mcp-server"],"env":{"YOUR_API_KEY":"<YOUR_YOUR_API_KEY>"}}'QuantRisk MCP'yi Claude Desktop içine yükleyin
claude_desktop_config.json
{
"mcpServers": {
"quantrisk": {
"command": "npx",
"args": [
"-y",
"@quantrisk/mcp-server"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}QuantRisk MCP'yi Codex içine yükleyin
$ codex mcp add quantrisk --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' -- npx -y @quantrisk/mcp-serverQuantRisk MCP'yi Codex config.toml içine yükleyin
~/.codex/config.toml
[mcp_servers.quantrisk] command = "npx" args = ["-y", "@quantrisk/mcp-server"] [mcp_servers.quantrisk.env] YOUR_API_KEY = "<YOUR_YOUR_API_KEY>"
QuantRisk MCP'yi Gemini CLI içine yükleyin
$ gemini mcp add -s user -e 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quantrisk npx -- -y @quantrisk/mcp-serverQuantRisk MCP'yi Gemini settings.json içine yükleyin
~/.gemini/settings.json
{
"mcpServers": {
"quantrisk": {
"command": "npx",
"args": [
"-y",
"@quantrisk/mcp-server"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}QuantRisk MCP araçları 10
README dosyasından algılandı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 | — |
Yapılandırma
YOUR_API_KEYGerekliGizliYour API key for the service
QUANTRISK_API_KEY
| Ad | Açıklama | Sunucu |
|---|---|---|
| YOUR_API_KEY | Your API key for the service | GerekliGizli |
| QUANTRISK_API_KEY | — |
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Otomatik kontrollerimizden geçti. Bu bir güvenlik denetimi değildir: kodu okuyun ve sunucuya ihtiyaç duyduğu en dar erişimi verin. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilir78degrees/mcp-server is public and reachablegithub.com/78degrees/mcp-server ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyor@quantrisk/mcp-server names git+https://github.com/quantrisk/mcp-server.git as its sourcenpmjs.com/package/@quantrisk/mcp-server ↗Bulgu
- Derleme kökeni (Sigstore onayı)No build attestation published for this releaseKontrol edilmedi
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-05-27github.com/78degrees/mcp-server ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilNo popular package one edit away from @quantrisk/mcp-serverGeçti
- Pakette veya bağımlılıklarında kritik uyarı yok138 resolved dependencies checked; no critical advisoryosv.dev ↗Geçti
- Modele yönelik gizli talimat yok10 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişNo tool named like delete, drop or execGeçti
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
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 soruları
QuantRisk MCP'yi Claude Code'a nasıl eklerim?
Terminalinizde claude mcp add --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quantrisk -- npx -y @quantrisk/mcp-server komutunu çalıştırın. Her projede kullanılabilir olması için --scope user ekleyin.
QuantRisk MCP'yi Cursor'a nasıl eklerim?
~/.cursor/mcp.json dosyasını açın ve yukarıdaki yükleme bölümünde gösterilen Cursor yapılandırmasını kullanarak sunucuyu mcpServers altına ekleyin.
QuantRisk MCP hangi araçları sunar?
10 araç sunar; bunlar arasında analyze_risk, monte_carlo_simulation, stress_test, price_history, sector_exposure yer alır.
Portföy verilerim sunucu tarafından saklanıyor mu?
Hayır, servis bir istek tamamlandıktan sonra verileri saklamaz veya portföy bilgilerini tutmaz.