# Universal Quant Tournament MCP

> Universal Quant Tournament MCP is an open-source MCP server for trading analysis. MCP server for quant strategy backtesting, Monte Carlo risk checks and broker order. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Windows
- **Repository:** https://github.com/pyrochem/universal-quant-tournament-mcp
- **MCP Registry name:** io.github.Pyrochem/universal-quant-tournament-mcp
- **Categories:** [trading analysis](https://ai-powered.com/categories/trading-analysis)
- **Listing updated:** 2026-11-19

## About

The README describes this as a trading analysis engine wrapped in an MCP server, so Claude Desktop and other MCP clients can call it directly. It runs eight quantitative strategies through an out-of-sample walk-forward test, then ranks them. A 1,000-path Monte Carlo stage stress-tests the leading setup, and the output includes Kelly-based sizing figures and a pass or reject verdict.

The package also builds broker-ready order payloads. The README lists direct execution paths for MetaTrader 5 on a local Windows terminal and for Alpaca paper or live accounts, with TradingView and Tradovate webhook payloads marked as beta. A ForexFactory calendar filter can block signals close to high-impact releases.

The README is aimed at traders and quant developers who want an automated pre-trade check. It carries a strong disclaimer that output is for research and education only, and that the user is responsible for verifying orders before execution.

## Features

- **Eight-strategy tournament ranking:** Backtests eight named strategies on a 65/35 in-sample and out-of-sample split and ranks them by expectancy and regime fit.
- **Monte Carlo risk gate:** Simulates 1,000 trade paths with win-rate dispersion, loss correlation, slippage and gap shocks before approving a setup.
- **Regime and session filters:** Classifies market regime and restricts signals to configurable UTC liquidity windows and candle confirmation rules.
- **Macro calendar blocking:** Pulls the ForexFactory weekly calendar and blocks live signals within 60 minutes of a high-impact release for monitored currencies.
- **MT5 and Alpaca order payloads:** Sizes positions against a dollar risk budget and outputs MT5 order_send and Alpaca bracket order payloads, with optional direct execution.
- **Asset class coverage:** Covers US equities and ETFs, 28 forex pairs, metals and oil, CME micro and mini futures, and selected crypto pairs.

## Good for

- Pre-screen a forex or gold trade idea against backtested strategy rankings before placing it
- Stress-test a planned entry, stop and target with Monte Carlo paths and Kelly sizing
- Size a position from a fixed dollar risk budget for MetaTrader 5 or Alpaca
- Generate bracket order payloads for TradingView or Tradovate webhook relays
- Run paper trades on Alpaca from an AI assistant before considering live accounts

## Install

### Claude Code (Terminal)

```sh
claude mcp add universal-quant-tournament-mcp --env RAPIDAPI_KEY='<RAPIDAPI_KEY>' --env ALPACA_KEY_ID='<ALPACA_KEY_ID>' --env ALPACA_SECRET_KEY='<ALPACA_SECRET_KEY>' -- npx -y universal-quant-tournament-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "universal-quant-tournament-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "universal-quant-tournament-mcp"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
        "ALPACA_KEY_ID": "<ALPACA_KEY_ID>",
        "ALPACA_SECRET_KEY": "<ALPACA_SECRET_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "universal-quant-tournament-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "universal-quant-tournament-mcp"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
        "ALPACA_KEY_ID": "<ALPACA_KEY_ID>",
        "ALPACA_SECRET_KEY": "<ALPACA_SECRET_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "universal-quant-tournament-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "universal-quant-tournament-mcp"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
        "ALPACA_KEY_ID": "<ALPACA_KEY_ID>",
        "ALPACA_SECRET_KEY": "<ALPACA_SECRET_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "universal-quant-tournament-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "universal-quant-tournament-mcp"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
        "ALPACA_KEY_ID": "<ALPACA_KEY_ID>",
        "ALPACA_SECRET_KEY": "<ALPACA_SECRET_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "universal-quant-tournament-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "universal-quant-tournament-mcp"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
        "ALPACA_KEY_ID": "<ALPACA_KEY_ID>",
        "ALPACA_SECRET_KEY": "<ALPACA_SECRET_KEY>"
      }
    }
  }
}
```

## FAQ

### How do I install it?

The registry entry lists an npm package, universal-quant-tournament-mcp, run over stdio. The README gives a Claude Desktop configuration that launches it with npx.

### Does it need an API key?

A RapidAPI key is needed for the hosted tournament API. The registry says it can be omitted to use a zero-key sandbox preview. Alpaca keys are optional and only needed for direct execution.

### Which brokers can it execute on directly?

The README lists MetaTrader 5 through a local Windows terminal and Alpaca paper or live accounts as production-ready. Tradovate direct OAuth2 and TradeLocker are listed as roadmap items for v1.1.

### Is the Alpaca integration paper trading by default?

Yes. The ALPACA_PAPER variable defaults to paper trading, and it must be set to false for live trading.

### Is Universal Quant Tournament MCP free?

Yes. Universal Quant Tournament MCP is open source, so you can use and self-host it for free.

### How do I add Universal Quant Tournament MCP to Claude Code?

Run this command in your terminal: claude mcp add universal-quant-tournament-mcp --env RAPIDAPI_KEY='<RAPIDAPI_KEY>' --env ALPACA_KEY_ID='<ALPACA_KEY_ID>' --env ALPACA_SECRET_KEY='<ALPACA_SECRET_KEY>' -- npx -y universal-quant-tournament-mcp

### What are the best alternatives to Universal Quant Tournament MCP?

The closest alternatives to Universal Quant Tournament MCP are Onv MCP, Tactfolio, AStock Quant Toolkit, AlgoRover Research and XTester Studio.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Onv MCP](https://ai-powered.com/mcp/onv-mcp): Onv MCP is a freemium MCP server for crypto and web3.
- [Tactfolio](https://ai-powered.com/mcp/tactfolio): Tactfolio is a freemium MCP server for trading analysis.
- [AStock Quant Toolkit](https://ai-powered.com/mcp/astock-quant-toolkit): AStock Quant Toolkit is an open-source MCP server for trading analysis.
- [AlgoRover Research](https://ai-powered.com/mcp/algorover-research): AlgoRover Research is an MCP server for trading analysis.
- [XTester Studio](https://ai-powered.com/mcp/xtester-studio): XTester Studio is an MCP server for trading analysis.
- [TradeOS (test)](https://ai-powered.com/mcp/tradeos-test): TradeOS (test) is an MCP server for sports data.
- [PatternsWizard pattern statistics](https://ai-powered.com/mcp/patternswizard-pattern-statistics): PatternsWizard pattern statistics is a free MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/universal-quant-tournament-mcp
