Quant Finance, Portfolio Risk, Kelly & DCF Math Engine (MCP)
Pricing
from $5.00 / 1,000 calculation executeds
Quant Finance, Portfolio Risk, Kelly & DCF Math Engine (MCP)
Eliminate LLM math hallucinations. Deterministic quantitative finance API & MCP server computing portfolio Sharpe, Sortino, Max Drawdown, VaR/CVaR, Half-Kelly sizing, multi-stage DCF + 5x5 sensitivity, XIRR/IRR & Black-Scholes Greeks in <1s. Zero external APIs, 100% uptime.
Pricing
from $5.00 / 1,000 calculation executeds
Rating
0.0
(0)
Developer
Tao Zhu
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 hours ago
Last modified
Categories
Features
Share
Quant Finance, Portfolio Risk, Kelly & DCF Math Engine (MCP Server & API)
Eliminate LLM financial math hallucinations forever. Deterministic institutional-grade quantitative finance calculator API & hosted MCP server computing Portfolio Risk (Sharpe, Sortino, Calmar, Max Drawdown, Historical & Parametric VaR/CVaR), Multi-Stage DCF Valuation + 5×5 WACC/Growth Sensitivity Matrix, Half-Kelly & Stop-Loss Constrained Position Sizing, Exact Newton-Raphson IRR / XIRR / NPV & Loan Amortization, and Black-Scholes-Merton Option Pricing, Greeks & Implied Volatility.
Zero external APIs · Zero proxies · 100.00% uptime · Sub-second deterministic execution (<1s).
Why AI Agents & Finance Workflows Call This Tool
Large Language Models routinely hallucinate multi-period compounding, Newton-Raphson XIRR roots, standard normal CDF integrals (Black-Scholes), downside deviation (Sortino), and 25-cell DCF sensitivity tables. Connecting your Claude Desktop, Cursor, LangGraph, CrewAI, n8n, or autonomous finance agent to this hosted MCP engine guarantees auditable, exact IEEE-754 financial math on every call.
Mode (mode) | Institutional Outputs Returned | Core Use Cases |
|---|---|---|
portfolio_risk | CAGR, Annualized Vol, Sharpe, Sortino, Calmar, Peak-to-Trough Max Drawdown & Recovery Periods, 95%/99% Historical & Parametric VaR/CVaR, Win Rate, Profit Factor, Skewness, Excess Kurtosis | Backtest auditing, wealth management reviews, automated portfolio risk alerts |
dcf_valuation | Discounted FCF Schedule, Gordon Growth Terminal Value & Optional Exit Multiple cross-check, EV, Equity Value, Implied Share Price, Margin of Safety %, Bear/Base/Bull Scenarios, 5×5 WACC × Terminal Growth Matrix | AI equity research assistants, investment memo automation, CFO modeling |
kelly_position_sizing | Expectancy (R), Full/Half/Quarter Kelly %, Max Single Position Cap, Stop-Loss Risk Budget Max Shares, finalActionableShares, Max Dollar Loss at Stop | Systematic trading risk guardrails, automated trade pre-checks |
cashflow_irr_npv | Exact IRR & Dated XIRR, NPV, MOIC, Net Profit, Simple Payback Period, plus full Mortgage/Loan Amortization (monthlyPayment, totalInterestPaid) | Private equity / VC deal memos, capex evaluation, mortgage & refinancing agents |
option_greeks | Black-Scholes-Merton European Call/Put Price, Intrinsic/Time Value, Implied Volatility Solver, Delta, Gamma, Vega, Daily Theta, Rho, d1/d2, ITM/ATM/OTM | Options desk tooling, derivatives education, automated hedging calculators |
Live Verified Sample Outputs
| Calculation Task | Mode | Verdict | Headline Output |
|---|---|---|---|
| Multi-Stage Tech DCF Valuation | dcf_valuation | UNDERVALUED | $450.54 (+210.72%) with full 5×5 WACC × Terminal Growth grid |
| Monthly Equity Curve Risk Audit | portfolio_risk | INSTITUTIONAL_QUALITY | Sharpe 2.45 | MDD -3.85%, Sortino, Calmar, 95% HistVaR/CVaR |
| Half-Kelly Risk-Capped Sizing | kelly_position_sizing | STANDARD_POSITION | 16.00% (128 shares) auto-tightened by 2% portfolio stop-loss cap |
Connect to Claude Desktop, Cursor, or Any MCP Client
{"mcpServers": {"quant-finance-math-engine": {"url": "https://mcp.apify.com/?actors=durative_hairstreak/quant-portfolio-dcf-math-engine"}}}
Direct REST API Example (cURL / Python)
curl -X POST "https://api.apify.com/v2/acts/durative_hairstreak~quant-portfolio-dcf-math-engine/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"calculations": [{"label": "ATM Call Option + IV Check","mode": "option_greeks","params": {"spot": 100, "strike": 100, "timeToExpiryYears": 1,"riskFreeRate": 0.05, "volatility": 0.20, "optionType": "call"}}]}'
Frequently Asked Questions (FAQ)
Does this Actor depend on Yahoo Finance, Bloomberg, or any external scraper that can break? No. It is a 100% pure deterministic mathematical engine operating strictly on parameters passed in the request (by your user, SEC XBRL feed, brokerage CSV, or upstream AI agent). That means zero upstream rate limits, zero proxy costs, and sub-second execution.
Can I pass multiple calculations in a single API/MCP call?
Yes! Pass an array in calculations mixing any combination of dcf_valuation, portfolio_risk, kelly_position_sizing, cashflow_irr_npv, and option_greeks to return structured JSON records in a single run.
Is this investment advice? No. All outputs are strictly deterministic mathematical calculations derived from user-supplied assumptions and inputs. Nothing returned constitutes investment, financial, tax, or legal advice.
Companion RiskOps MCP Suite by durative_hairstreak
- SEC 8-K Risk Signals & Corporate Distress Monitor — Real-time US SEC Form 8-K cyber breaches (Item 1.05), restatements (Item 4.02), auditor exits (Item 4.01) & C-suite departures.
- SaaS & Cloud Status Page SLA Uptime Monitor — Live outages and merged-interval 30d/90d SLA % across 22+ AI & Cloud Statuspage APIs.
- B2B Vendor Security Posture & Trust Signal Auditor — Zero-WAF DNS CNAME fingerprinting for Vanta/SafeBase/Drata Trust Centers, DMARC/SPF/MX & TLS posture.
- Open-Source Supply-Chain & CVE Risk Auditor — Pre-install
BLOCK/WARN/ALLOWgatekeeper for Claude Code & Cursor via OSV.dev, CISA KEV & OpenSSF Scorecard.