quanttogo-mcp-servers
Provides access to quantitative trading signals and performance metrics for US market strategies originating from the QuantConnect platform.
QuantToGo MCP Servers
MCP (Model Context Protocol) servers for QuantToGo - a quantitative trading platform providing live trading signals, market data, and portfolio management through AI-native interfaces.
Overview
This repository contains three MCP servers that expose QuantToGo's quantitative trading capabilities:
Server | Description | Tools |
quanttogo-signals | Real-time trading signals from live quant strategies | 3 tools |
quanttogo-market-data | Product catalog, NAV history, backtest reports | 5 tools |
quanttogo-portfolio | Portfolio positions, dual-track performance, trade history | 6 tools |
Plus an HTTP server for remote access (MCP Connector mode).
Quick Start
Installation
npm install quanttogo-mcp-serversOr clone and build:
git clone https://github.com/michaeljiangmingfeng-debug/quanttogo-mcp-servers.git
cd quanttogo-mcp-servers
npm install
npm run buildConfiguration
Set environment variables:
export QUANTTOGO_API_BASE="https://www.quanttogo.com" # API endpoint
export QUANTTOGO_API_KEY="your-api-key" # API authentication key
export QUANTTOGO_USER_ID="your-user-id" # Your user IDUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"quanttogo-signals": {
"command": "npx",
"args": ["tsx", "src/signals-server.ts"],
"cwd": "/path/to/quanttogo-mcp-servers",
"env": {
"QUANTTOGO_API_KEY": "your-api-key",
"QUANTTOGO_USER_ID": "your-user-id"
}
},
"quanttogo-market-data": {
"command": "npx",
"args": ["tsx", "src/market-data-server.ts"],
"cwd": "/path/to/quanttogo-mcp-servers",
"env": {
"QUANTTOGO_API_KEY": "your-api-key"
}
},
"quanttogo-portfolio": {
"command": "npx",
"args": ["tsx", "src/portfolio-server.ts"],
"cwd": "/path/to/quanttogo-mcp-servers",
"env": {
"QUANTTOGO_API_KEY": "your-api-key",
"QUANTTOGO_USER_ID": "your-user-id"
}
}
}
}Remote HTTP Mode (Connector)
For remote access via Streamable HTTP:
npm run serve
# Server starts at http://localhost:3000/mcpAvailable Tools
Signals Server (quanttogo-signals)
Tool | Description |
| Get latest BUY/SELL signals with strategy, symbol, quantity, price |
| Execute or skip a pending signal |
| Signal performance metrics and win rate |
Market Data Server (quanttogo-market-data)
Tool | Description |
| List all quantitative trading products |
| Detailed product info with parameters |
| Historical NAV data with daily returns |
| Strategy backtest with Sharpe ratio, drawdown |
| Search by risk level, currency, strategy type |
Portfolio Server (quanttogo-portfolio)
Tool | Description |
| Complete portfolio overview |
| AUTO vs MANUAL track performance comparison |
| Current open positions across strategies |
| Historical trade records |
| User subscription status |
| Return, drawdown, Sharpe ratio, win rate |
Architecture
quanttogo-mcp-servers/
├── src/
│ ├── common/
│ │ ├── client.ts # QuantToGo API client
│ │ └── types.ts # Shared TypeScript types
│ ├── signals-server.ts # Signals MCP Server (stdio)
│ ├── market-data-server.ts # Market Data MCP Server (stdio)
│ ├── portfolio-server.ts # Portfolio MCP Server (stdio)
│ └── http-server.ts # Combined HTTP server (Connector mode)
├── package.json
├── tsconfig.json
├── glama.json
├── LICENSE
└── README.mdKey Concepts
Dual-Track System
QuantToGo uses a unique dual-track system:
AUTO track: All signals are automatically executed (virtual trading)
MANUAL track: Only user-confirmed signals are executed
This allows users to compare their decision-making against the algorithm's full execution.
Signal Sources
Signals come from two quantitative platforms:
QC (QuantConnect): US market strategies
JQ (JoinQuant): China market strategies
Development
# Run individual servers in dev mode
npm run dev:signals
npm run dev:market-data
npm run dev:portfolio
# Run HTTP server
npm run serve
# Build for production
npm run buildLicense
MIT
Available Tools
3 toolsconfirm_signalB
Confirm or skip a pending trading signal. EXECUTE will trigger virtual trade execution, SKIP will mark it as skipped.
Inputs: signalId (required), decision (required).
get_signal_statsC
Get signal statistics and performance metrics for a strategy, including win rate, total trades, and P&L.
Inputs: strategyId, period.
get_trading_signalsB
Get latest trading signals from live quantitative strategies. Returns real-time BUY/SELL signals with symbol, quantity, price, and strategy info.
Inputs: strategyId, limit, status.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: confirm_signal handles pending signal actions, get_signal_stats provides performance metrics, and get_trading_signals fetches real-time signals. There is no overlap in functionality, making tool selection unambiguous for an agent.
All tool names follow a consistent verb_noun pattern (confirm_signal, get_signal_stats, get_trading_signals), using snake_case and starting with clear action verbs. This predictability aids in understanding and usage.
With only 3 tools, the set feels thin for a trading signal domain, as it lacks operations like creating, updating, or deleting signals, or managing strategies. While core functions are covered, the scope could be expanded for better completeness.
The tools cover key aspects: retrieving signals, confirming them, and viewing stats. However, there are notable gaps such as no ability to create or modify signals, manage strategies, or handle trade execution beyond virtual actions, which limits full lifecycle coverage.
Related MCP Connectors
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
Research-only MCP server: your AI as a quant research desk. 90 tools, no trades, no brokers.
MCP server for Financial Modeling Prep API with 250+ financial data tools
This MCP server enables users to perform scientific computations regarding linear algebra and vect…