quanttogo-mcp-servers
MCP servers for quantitative trading: live trading signals, market data, NAV history, portfolio management with dual-track (AUTO/MANUAL) performance comparison. Supports both stdio and Streamable HTTP transport.
README
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-servers
Or clone and build:
git clone https://github.com/michaeljiangmingfeng-debug/quanttogo-mcp-servers.git
cd quanttogo-mcp-servers
npm install
npm run build
Configuration
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 ID
Usage 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/mcp
Available Tools
Signals Server (quanttogo-signals)
| Tool | Description |
|---|---|
get_trading_signals |
Get latest BUY/SELL signals with strategy, symbol, quantity, price |
confirm_signal |
Execute or skip a pending signal |
get_signal_stats |
Signal performance metrics and win rate |
Market Data Server (quanttogo-market-data)
| Tool | Description |
|---|---|
get_products |
List all quantitative trading products |
get_product_detail |
Detailed product info with parameters |
get_nav_history |
Historical NAV data with daily returns |
get_backtest_report |
Strategy backtest with Sharpe ratio, drawdown |
search_products |
Search by risk level, currency, strategy type |
Portfolio Server (quanttogo-portfolio)
| Tool | Description |
|---|---|
get_portfolio |
Complete portfolio overview |
get_dual_track_comparison |
AUTO vs MANUAL track performance comparison |
get_positions |
Current open positions across strategies |
get_trade_history |
Historical trade records |
get_subscriptions |
User subscription status |
get_performance_metrics |
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.md
Key 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 build
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.