
taylorwilsdon/quantconnect-mcp 是从 https://github.com/taylorwilsdon/quantconnect-mcp. 导入的 MCP 服务器候选。
概览
taylorwilsdon/quantconnect-mcp 是从 https://github.com/taylorwilsdon/quantconnect-mcp. 导入的 MCP 服务器候选。
概述(AI 翻译)
QuantConnect 算法交易平台的生产准备模型上下文协议服务器
将QuantConnect的研究环境、统计分析和投资组合优化整合到您的AI工作流程中。本地托管,安全且具备显著提升生产力的能力
♬ 快速入门 • ♬ 文档 • ♬ 建筑 • ♫ 贡献
演示 – Claude
◈ 这是不是疯狂?
也许吧?无论如何,世界正在改变,这就是我们现在的处境。 开箱即用,QuantConnect MCP为您提供:
- 完整项目生命周期:
Create、read、update、compile],并以程序化管理QuantConnect项目和文件。 - 端到端回测:
Compile项目、create backtests、read detailed results,并分析charts、orders和insights。 - 实时交易管理:
Deploy、monitor、liquidate和control,具有全面的运行统计和日志记录的实时算法。 - 历史数据访问:全面的数据检索功能,用于历史和
alternative data分析。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
◈ What it does
61 tools that cover the QuantConnect REST API v2:
- Research loop: create projects and files, check syntax, compile (the tool waits for the build), backtest, and read statistics, orders, insights, charts, and full reports.
- Optimization: estimate cost, then run grid-search parameter sweeps on typed parameter ranges and constraints.
- Live trading: deploy, monitor portfolio, orders, logs, and charts, send commands, liquidate, and stop.
- Object Store: list, inspect, upload, download, and delete organization data.
- LEAN coding help: QuantConnect’s AI tools for syntax checks, error explanations, documentation search, and code completion.
Every request is validated in CI against QuantConnect’s published OpenAPI spec.
◈ Quick start
You need uv (it fetches Python 3.12+ and the server for you) and a QuantConnect account.
- Get your User ID and API token from quantconnect.com/settings.
- Add the server to your MCP client. For Claude Desktop, Claude Code, Cursor, and most clients:
{
"mcpServers": {
"quantconnect": {
"command": "uvx",
"args": ["quantconnect-mcp"],
"env": {
"QUANTCONNECT_USER_ID": "123456",
"QUANTCONNECT_API_TOKEN": "your-api-token"
}
}
}
}
With Claude Code you can run claude mcp add quantconnect -e QUANTCONNECT_USER_ID=123456 -e QUANTCONNECT_API_TOKEN=your-api-token -- uvx quantconnect-mcp.
- Ask for something: “Create a Python project with an EMA crossover on SPY, backtest it over 2020 to 2024, and summarize the Sharpe ratio and drawdown.”
Claude Desktop extension
The 1.0 release does not ship a prebuilt .dxt, and the bundles attached to 0.x releases contain the old server, so build it from a checkout:
git clone https://github.com/taylorwilsdon/quantconnect-mcp && cd quantconnect-mcp
npx @anthropic-ai/dxt pack . quantconnect-mcp.dxt
安装
uvx quantconnect-mcp配置
{
"mcpServers": {
"quantconnect": {
"command": "uvx",
"args": ["quantconnect-mcp"],
"env": {
"QUANTCONNECT_USER_ID": "123456",
"QUANTCONNECT_API_TOKEN": "your-api-token"
}
}
}
}