SuperAPIAI Directory

mcp-server

github.com · AI developer platforms

QuantConnect API access: create projects, backtest strategies, manage collaborators and deploy live trading.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

QuantConnect MCP Server is the official QuantConnect implementation of an MCP (Model Context Protocol) server, serving as a bridge between AI and the QuantConnect cloud platform. With this MCP equipped, AI can perform tasks on behalf of the user through the QuantConnect API, such as updating projects, writing strategies, backtesting, and deploying strategies to production live trading. The official recommendation is to use the official version to ensure the security of code and API tokens.

Purpose: This server is mainly used to allow local MCP clients (such as Claude Desktop) to connect to the QuantConnect platform, enabling AI to automatically manage quantitative trading projects, execute backtests, and perform live operations.

Main capabilities: The server provides 64 tools, covering the following categories:

  • Account: read organization account status (read_account).
  • Projects: create, read, list, update, delete projects, manage collaborators (add, list, update, delete, lock), read and update project nodes.
  • Compilation: create compilation tasks, read compilation results.
  • Files: create, read, rename, update content, apply patches, delete files.
  • Backtests: create, read, list, read charts/orders/insights, update, delete backtests.
  • Optimization: estimate optimization time, create, read, list, update, abort, delete optimizations.
  • Live: authorize connections, create/read/list live algorithms, read charts/logs/portfolio/orders/insights, stop, liquidate, send commands, broadcast commands.
  • Object storage: upload, read properties, create download tasks, get download URLs, list, delete objects.
  • LEAN versions: read the list of LEAN versions.
  • Code assistance: check initialization errors, code completion, enhance error messages, update code to PEP8, check syntax, search QuantConnect.
  • Version: read the current and latest MCP server versions.

How to use:

  1. Install and open Docker Desktop.
  2. Install and open Claude Desktop.
  3. In Claude Desktop, click File > Settings > Developer > Edit Config.
  4. Edit the claude_desktop_config.json file, adding QuantConnect configuration (you need to obtain a user ID and API token, see Request API Token).
  5. The server supports multiple platforms: linux/amd64 (Intel/AMD chips) and linux/arm64 (ARM chips, such as Apple M series).
  6. If multiple agents are running at the same time, set a unique AGENT_NAME environment variable for each agent to record the source of requests.
  7. Restart Claude Desktop, and it will automatically pull the MCP server from Docker Hub and connect.
  8. If you want to keep the Docker image up to date, you can pull the latest MCP server in the terminal; ARM chips need to add the --platform linux/arm64 option.

Building the Docker image from source: after cloning the repository, run docker build -t quantconnect/mcp-server . Logging: after importing sys, use print("Hello world", file=sys.stderr) to write to the mcp-server-quantconnect.log file. Starting the inspector: run npx @modelcontextprotocol/inspector uv run src/main.py. When passing a model to the inspector tool, use JSON (for example {"name":"My Project","language":"Py"}).

Applicable scenarios: Suitable for quantitative trading developers, researchers, or teams who want to use an AI assistant to automatically manage QuantConnect projects, execute backtests, optimize strategies, and deploy live trading.

Limitations: This repository is currently deprecated, and the official recommendation is to use the built-in MCP in VSCode (see https://www.quantconnect.com/docs/v2/ai-assistance/mcp-server/key-concepts)。使用前需获取 QuantConnect API token, and ensure the Docker environment is available. Some tools may modify the environment or perform destructive updates, so use them with caution.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools