Futu Stock
mcp server for futuniuniu stock
What is Futu Stock?
Futu Stock is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for futuniuniu stock
mcp server for futuniuniu stock
This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- mcp server for futuniuniu stock
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx futu-stockConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Futu Stock
The Futu Stock MCP Server connects AI assistants directly to the Futu OpenD gateway, enabling real-time access to Hong Kong and US stock market data, order book information, K-line history, and optional order placement through natural language. It works alongside the Futu OpenD desktop client which must be running locally, acting as a bridge between MCP-enabled AI tools and Futu's institutional-grade market data feed. Traders and quantitative analysts use it to query live quotes, analyze options chains, and monitor portfolio positions without leaving their AI workflow.
Prerequisites
- Python 3.10 or later installed
- An active Futu NiuNiu account with OpenAPI permissions enabled (apply in the Futu app settings)
- Futu OpenD desktop client installed and running (provides the local API gateway at 127.0.0.1:11111 by default)
- An MCP-compatible client such as Claude Desktop or Cursor
Enable OpenAPI in your Futu account
In the Futu NiuNiu mobile or desktop app, go to Settings > OpenAPI and apply for API access. Once approved, download and install the OpenD client from Futu's developer portal.
Start Futu OpenD
Launch the Futu OpenD application. It listens on 127.0.0.1:11111 by default and must be running before the MCP server can connect.
Install the MCP server
Install the futu-stock-mcp-server package using pipx for an isolated installation that puts the futu-mcp-server binary on your PATH.
pipx install futu-stock-mcp-serverConfigure your MCP client
Add the server to your MCP client configuration. Set FUTU_TRADE_ENV to SIMULATE to use the paper trading environment initially, or REAL for live trading (FUTU_ENABLE_TRADING must also be 1 for live orders).
{
"mcpServers": {
"futu-stock": {
"command": "futu-mcp-server",
"env": {
"FUTU_HOST": "127.0.0.1",
"FUTU_PORT": "11111",
"FUTU_TRADE_ENV": "SIMULATE",
"FUTU_TRD_MARKET": "HK",
"FUTU_ENABLE_POSITIONS": "1",
"FUTU_ENABLE_TRADING": "0"
}
}
}
}Restart your MCP client and verify
Restart Claude Desktop or your IDE. Ask the assistant to fetch a stock quote to confirm the connection to OpenD is working.
Futu Stock Examples
Client configuration
Minimal Claude Desktop config connecting to a local Futu OpenD in simulation mode for Hong Kong equities.
{
"mcpServers": {
"futu-stock": {
"command": "futu-mcp-server",
"env": {
"FUTU_HOST": "127.0.0.1",
"FUTU_PORT": "11111",
"FUTU_TRADE_ENV": "SIMULATE",
"FUTU_TRD_MARKET": "HK",
"FUTU_SECURITY_FIRM": "FUTUSECURITIES",
"FUTU_ENABLE_POSITIONS": "1",
"FUTU_ENABLE_TRADING": "0",
"FUTU_DEBUG_MODE": "0"
}
}
}
}Prompts to try
These prompts show how to query market data, historical prices, and options information through the Futu MCP server.
- "Get the current stock quote for Tencent (HK.00700)."
- "Show me the daily K-line data for HK.00700 from 2024-01-01 to 2024-03-31."
- "What are the current bid and ask prices in the order book for HK.09988?"
- "Subscribe to real-time quotes for HK.00700 and HK.00005."
- "Show me the options chain for AAPL expiring next month."Troubleshooting Futu Stock
Connection error: cannot reach OpenD at 127.0.0.1:11111
Ensure the Futu OpenD desktop application is running and logged in. If you changed the default port in OpenD settings, update FUTU_PORT in your MCP config to match.
OpenAPI permission denied error
OpenAPI access requires explicit approval from Futu. Check the OpenAPI section in your Futu NiuNiu app to confirm the application status. Approval can take 1-2 business days.
futu-mcp-server command not found
After 'pipx install futu-stock-mcp-server', ensure the pipx bin directory (~/.local/bin on Linux/macOS) is on your PATH. Run 'pipx ensurepath' to add it automatically.
Frequently Asked Questions about Futu Stock
What is Futu Stock?
Futu Stock is a Model Context Protocol (MCP) server that mcp server for futuniuniu stock It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Futu Stock?
Follow the installation instructions on the Futu Stock GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Futu Stock?
Futu Stock works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Futu Stock free to use?
Yes, Futu Stock is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Futu Stock Alternatives — Similar Finance & Fintech Servers
Looking for alternatives to Futu Stock? Here are other popular finance & fintech servers you can use with Claude, Cursor, and VS Code.
ValueCell
★ 10.7kValueCell is a community-driven, multi-agent platform for financial applications.
Vibe Trading
★ 8.1k'Vibe-Trading: Your Personal Trading Agent'
Quantdinger
★ 6.2kAI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading
TradingView
★ 2.8kReal-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.
Financial Datasets
★ 2.1kProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
Stripe
★ 1.6kThe Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
Browse More Finance & Fintech MCP Servers
Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Futu Stock in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Futu Stock?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.