Universal Quant Tournament MCP
MCP server for quant strategy backtesting, Monte Carlo risk checks and broker order
- Pricing
- Open source
- Platforms
- CLI, API, Windows
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 1 day ago
Similar MCP servers
About Universal Quant Tournament MCP
Universal Quant Tournament MCP is an open-source MCP server for trading analysis. It runs locally on your machine and is started by your AI client.
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.
Install
Run in a 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-mcpAdd to claude_desktop_config.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>"
}
}
}
}Add to ~/.cursor/mcp.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>"
}
}
}
}Add to .vscode/mcp.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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.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>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"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>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
RAPIDAPI_KEYRapidAPI Key for Universal Quant Strategy Tournament (Free Tier: 9 calls/mo at https://rapidapi.com/infio-infio-default/api/universal-quant-strategy-tournament). Omit for Zero-Key Sandbox Preview.RAPIDAPI_HOSTRapidAPI Host header (defaults to universal-quant-strategy-tournament.p.rapidapi.com).ALPACA_KEY_IDOptional Alpaca API Key ID (starts with PK for Paper or AK for Live) for direct US Equity & Crypto execution.ALPACA_SECRET_KEYOptional Alpaca API Secret Key for direct US Equity & Crypto execution.ALPACA_PAPERSet to 'true' for Alpaca Paper Trading (default) or 'false' for Live Trading.
What it does
- 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
Pricing
Open source
Free npm package; RapidAPI hosted API has a free tier of 9 calls per month
Universal Quant Tournament MCP 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.