Futu Stock MCP Server logo

Futu Stock MCP Server

by shuizhengqi1

This server provides a Futu Securities market and trading interface based on the Model Context Protocol (MCP). It offers Futu OpenAPI functionality to AI models using a standardized MCP protocol, supporting features like market data subscription and data querying.

View on GitHub

Last updated: N/A

What is Futu Stock MCP Server?

The Futu Stock MCP Server is a Python-based server that exposes the Futu Securities OpenAPI through the Model Context Protocol (MCP). This allows AI models to easily access and utilize real-time market data, historical data, and trading functionalities offered by Futu Securities.

How to use Futu Stock MCP Server?

To use the server, you need a Futu Securities account with OpenAPI access, the Futu OpenD gateway running, and the server installed and configured. After installing the server and its dependencies, you can start it and connect to it using an MCP client. The client can then call various tools to retrieve market data, subscribe to real-time updates, and perform other actions.

Key features of Futu Stock MCP Server

  • Standard MCP 2.0 protocol compliance

  • Comprehensive Futu API coverage

  • Real-time data subscription support

  • Market data access (HK, US, A shares)

  • Account query capabilities

  • Resource-based data access

  • Interactive prompts for analysis

Use cases of Futu Stock MCP Server

  • AI-powered trading strategies

  • Real-time market analysis dashboards

  • Automated stock screening and filtering

  • Integration with large language models for financial insights

FAQ from Futu Stock MCP Server

What is the Model Context Protocol (MCP)?

MCP is a standardized protocol for communication between AI models and external tools or services.

What is Futu OpenAPI?

Futu OpenAPI is an interface provided by Futu Securities that allows developers to access market data and trading functionalities.

What markets are supported?

The server supports Hong Kong (HK), US, and China A-shares markets.

What data types are available?

The server provides access to real-time quotes, historical K-line data, order book information, and more.

Is the server secure?

The server uses secure WebSocket connections and authenticates API calls through the Futu OpenAPI. It is important to protect your API credentials and follow security best practices.