QuantAnalyticsMCP
Provides quantitative analytics and statistical inference for financial data, including Monte Carlo DCF valuation, risk metrics, and trend regression diagnostics, enabling natural language-driven financial analysis via Claude Desktop.
README
QuantAnalyticsMCP: Quant Engine & Statistical Inference
Overview
QuantAnalyticsMCP v3.0 bridges the gap between historical data and probabilistic valuation. By adding a Statistical Inference & Diagnostics layer, the engine determines whether historical trends are statistically significant noise or actionable signals, directly recommending how to feed those signals into Monte Carlo valuations. It is designed to run flawlessly via standard input/output (stdio) with Claude Desktop.
Architecture
- Tier 1 & 2 (Risk): Volatility, VaR, CVaR, Max Drawdown.
- Tier 3 (Corp Fin): Operating Leverage magnification effects.
- Tier 4 (Valuation): Monte Carlo DCF (with ASCII visualizations), DCF Sensitivity Matrices, Scenario Analysis.
- Tier 5 (Inference): OLS Trend Regression with p-values, and a
diagnose_financial_seriesorchestrator that interprets statistics and recommends next steps.
Installation
Using Python
# Clone the repository
git clone https://github.com/yourusername/QuantAnalyticsMCP.git
cd QuantAnalyticsMCP
# Create a virtual environment
python -m venv venv
# On Windows: venv\Scripts\activate
# On Mac/Linux: source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run the server
python mcpserver.py
Claude Desktop Integration
Add the following to your claude_desktop_config.json (adjust paths as necessary):
{
"mcpServers": {
"quant-analytics": {
"command": "C:\\path\\to\\venv\\Scripts\\python.exe",
"args": [
"C:\\path\\to\\mcpserver.py"
]
}
}
}
Usage Examples
Once connected to Claude Desktop, you can ask:
- "Use the simulate_monte_carlo_dcf tool with current_fcf 100, growth_mean 0.10, growth_std 0.03, wacc 0.12, terminal_growth 0.03 for 10000 simulations."
- "Use diagnose_financial_series to analyze this Revenue data: [100, 105, 110, 108, 120, 135]"
- "Use value_dcf_sensitivity with next_year_fcf 50, waccs [0.09, 0.10, 0.11], terminal_growth_rates [0.02, 0.03, 0.04]"
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.