Skip to main content
Glama
QuantAnalyticsMCP

QuantAnalyticsMCP

by sathanandhh

QuantAnalyticsMCP: Quant Engine & Statistical Inference

Version Python License

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.

Related MCP server: trading-skills

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_series orchestrator 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]"

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables users to analyze local Excel and CSV files through natural language queries and a web dashboard while keeping data local. It supports saving specific analyses as reusable tools and building a custom analytics toolkit within Claude Desktop.
      10
      15 PyPI
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Provides 32 trading analysis tools for AI-powered market analysis, including real-time data, technical indicators, options Greeks, scanners, and Interactive Brokers portfolio management, all accessible via natural language in Claude Desktop.
      36
      406
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      AI financial co-pilot providing credit analysis, portfolio analysis, loan optimization, and financial planning through Claude Desktop and VS Code.
      5
      1
      MIT