QuantConnect

by quantconnect

Not rated
GitHub

About

Dockerized Python MCP server that lets LLMs like Claude or OpenAI o3 Pro autonomously create projects, backtest strategies, and deploy live-trading workflows via the QuantConnect API.

Details

Author
quantconnect
Categories
Developer Tools, Finance, Other, API

Setup

Install QuantConnect in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/quantconnect/mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

Seehttps://www.quantconnect.com/docs/v2/ai-assistance/mcp-server/key-concepts

The QuantConnect MCP Server is a bridge for AIs (such as Claude and OpenAI o3 Pro) to interact with our cloud platform. When equipped with our MCP, the AI can perform tasks on your behalf through our API such as updating projects, writing strategies, backtesting, and deploying strategies to production live-trading.

This is the OFFICIAL implementation of QuantConnect's MCP, maintained by the QuantConnect team. We recommend using the official version to ensure security of your code and API tokens. Our implementation is tested and dockerized for easy cross-platform deployment.

To connect local MCP clients (like Claude Desktop) to the QC MCP Server, follow these steps:
- Install and open
Docker Desktop.
- Install and open
Claude Desktop.
- In Claude Desktop, clickFile > Settings > Developer > Edit Config.
- Edit theclaude_desktop_config.jsonfile to include the followingquantconnectconfiguration:

{ "mcpServers": { "quantconnect": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "QUANTCONNECT_USER_ID", "-e", "QUANTCONNECT_API_TOKEN", "-e", "AGENT_NAME", "--platform", "<your_platform>", "quantconnect/mcp-server" ], "env": { "QUANTCONNECT_USER_ID": "<your_user_id>", "QUANTCONNECT_API_TOKEN": "<your_api_token>", "AGENT_NAME": "MCP Server" } } } }

To get your user Id and API token, seeRequest API Token.

Our MCP server is multi-platform capable. The options arelinux/amd64for Intel/AMD chips andlinux/arm64for ARM chips (for example, Apple's M-series chips).

If you simultaneously run multiple agents, set a unique value for theAGENT_NAMEenvironment variable for each agent to keep record of the request source.

Claude Desktop automatically pulls our MCP server from Docker Hub and connects to it.

To view all the MCP clients and the features they support, see theFeature Support Matrixin the MCP documentation.

To keep the Docker image up-to-date, pull the latest MCP server from Docker Hub in the terminal.

If you have an ARM chip, add the--platform linux/arm64option.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.

Create a new project in your default organization.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.

List the details of a project or a set of recent projects.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.

Update a project's name or description.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.

Update collaborator information in a project.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.

Read the available and selected nodes of a project.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.

Update the active state of the given nodes to true.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.

Asynchronously create a compile job request for a project.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.

Read a file from a project, or all files in the project if no file name is provided.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.