MCP.so
Sign In

Universal Quant Tournament MCP ServerVerifiedFeatured

@Pyrochem

Basic information

Category

Data & Analytics

Last updated

License

MIT

Author

Pyrochem

Submitted by

Pyrochem

About Universal Quant Tournament MCP Server

Quant trading MCP server for Claude Desktop & AI agents. Features an 8-strategy walk-forward tournament, HTF regime & ForexFactory macro calendar filters, a 1k path Bayesian Monte Carlo risk gate, auto order generation.

Universal Quant Tournament MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "universal-quant-tournament": {
      "command": "npx",
      "args": [
        "-y",
        "universal-quant-tournament-mcp"
      ],
      "env": {
        "RAPIDAPI_KEY": "YOUR_RAPIDAPI_KEY",
        "RAPIDAPI_HOST": "universal-quant-strategy-tournament.p.rapidapi.com",
        "ALPACA_KEY_ID": "PK_YOUR_ALPACA_PAPER_KEY_ID",
        "ALPACA_SECRET_KEY": "YOUR_ALPACA_PAPER_SECRET_KEY",
        "ALPACA_PAPER": "true"
      }
    }
  }
}

Universal Quant Tournament MCP Server tools

5

Performs a top-down institutional market evaluation: (1) Pulls live ForexFactory high/medium impact macro events (forex_factory_macro_calendar) and checks forexfactory.com/calendar for scheduled news risk, (2) Classifies Higher-Timeframe (HTF) structure and market regime, (3) Filters historical and live signals by user-definable session liquidity hours using bar timestamps, (4) Requires price-action candle confirmation (Engulfing, Rejection Pinbar, or Displacement close) on the entry bar, and (5) Evaluates 8 quantitative strategies via a two-stage Out-of-Sample walk-forward backtest.

Runs a 1,000-path Bayesian Out-of-Sample Monte Carlo simulation and Half-Kelly risk assessment on a strategy's entry, stop-loss, take-profit, and validated win rate.

Generates risk-sized, leverage-aware bracket order payloads for Alpaca (Equities/Crypto), MetaTrader 5 (Forex/CFD/Metals with 100 oz Gold lot sizing and USD/JPY cross-rate conversion), and Tradovate/TradingView Webhooks (Futures).

Connects directly to the user's open Windows MetaTrader 5 desktop terminal to either (1) pull live broker OHLCV candles and account equity/leverage, or (2) execute an approved mt5_mql5_order_send bracket order after explicit user confirmation.

Directly connects to Alpaca Paper or Live Trading REST API v2 to (1) sync live account equity, buying power, open positions, and open orders, (2) execute a confirmed alpaca_bracket_order payload generated by build_universal_bracket_order, or (3) cancel an open order.

Overview

What is Universal Quant Tournament?

Universal Quant Tournament (universal-quant-tournament-mcp) is an institutional-grade quantitative trading and execution MCP server for Claude Desktop, Cursor, and MCP-compatible AI agents. Instead of letting an LLM guess entries or hallucinate position sizes, it enforces a strict, multi-stage quantitative pipeline:

  1. Macro & Market Structure Filtering: Pulls live ForexFactory high/medium-impact calendar events, classifies Higher-Timeframe (HTF) market regime, filters by session liquidity hours, and requires price-action candle confirmation (Engulfing, Rejection Pinbar, or Displacement close).
  2. Anti-Overfitting Strategy Selection: Evaluates 8 quantitative strategies through a two-stage Out-of-Sample (OOS) walk-forward tournament.
  3. Probabilistic Risk Gating: Stress-tests the winning setup through a 1,000-path Bayesian Monte Carlo simulation and Half-Kelly risk assessment.
  4. Human-in-the-Loop Multi-Broker Execution: Builds leverage-aware, risk-sized bracket orders (with mandatory Stop Loss and Take Profit) and executes directly on MetaTrader 5 (local Windows IPC bridge) or Alpaca (Paper/Live REST API v2) only after explicit user confirmation.

How to use Universal Quant Tournament?

  1. Get a RapidAPI Key: Subscribe to the Universal Quant Strategy Tournament API on RapidAPI to obtain your RAPIDAPI_KEY.
  2. Add the MCP Server to Your Client Config (Claude Desktop claude_desktop_config.json, Cursor mcp.json, etc.):
{
  "mcpServers": {
    "universal-quant-tournament": {
      "command": "npx",
      "args": ["-y", "universal-quant-tournament-mcp"],
      "env": {
        "RAPIDAPI_KEY": "YOUR_RAPIDAPI_KEY",
        "ALPACA_KEY_ID": "OPTIONAL_ALPACA_KEY_ID",
        "ALPACA_SECRET_KEY": "OPTIONAL_ALPACA_SECRET_KEY",
        "ALPACA_PAPER": "true"
      }
    }
  }
}

Comments

More Data & Analytics MCP servers