Best for
- Users with a Futu securities account, OpenAPI access, and a running OpenD gateway.
- Users who want to query Futu market or account data through MCP.
The README lists market data, subscription, options, account, trading, and market information tools and provides a Claude Desktop stdio configuration example. Use depends on a Futu account, OpenAPI access, and OpenD. Trading carries financial risk; the project states it does not provide investment advice.
Strongest · Documentation 9/20 Weakest · Reliability 6/20
Static review · not runReviewed 2026-11-30
Read the FMRS scoring method →Runtime:Python 3.10+
FUTU_HOST
OpenD gateway address; defaults to 127.0.0.1. Set it to the address where OpenD is running.
FUTU_PORT
OpenD gateway port; defaults to 11111.
FUTU_ENABLE_POSITIONS
Positions feature switch; the example configuration sets it to 1.
FUTU_ENABLE_TRADING
Trading feature switch; the example configuration sets it to 0.
FUTU_TRADE_ENV
Trading environment, SIMULATE or REAL; defaults to SIMULATE.
FUTU_SECURITY_FIRM
Broker, FUTUSECURITIES or FUTUINC; defaults to FUTUSECURITIES.
FUTU_TRD_MARKET
Trading market, HK or US; defaults to HK.
FUTU_DEBUG_MODE
Debug logging switch, 0 or 1; defaults to 0.
Install Python 3.10+, the Futu OpenAPI SDK, and the MCP SDK; the README recommends uv. The README describes installing futu-stock-mcp-server with pipx and running futu-mcp-server. Ensure Futu OpenD is running, then set FUTU_HOST and FUTU_PORT in the MCP client configuration. A Claude Desktop stdio configuration example is provided.
{"mcpServers":{"futu-stock":{"command":"futu-mcp-server","env":{"FUTU_HOST":"127.0.0.1","FUTU_PORT":"11111","FUTU_ENABLE_POSITIONS":"1","FUTU_ENABLE_TRADING":"0","FUTU_TRADE_ENV":"SIMULATE","FUTU_SECURITY_FIRM":"FUTUSECURITIES","FUTU_TRD_MARKET":"HK"}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"futu-stock": {
"command": "futu-mcp-server",
"env": {
"FUTU_HOST": "127.0.0.1",
"FUTU_PORT": "11111",
"FUTU_ENABLE_POSITIONS": "1",
"FUTU_ENABLE_TRADING": "0",
"FUTU_TRADE_ENV": "SIMULATE",
"FUTU_SECURITY_FIRM": "FUTUSECURITIES",
"FUTU_TRD_MARKET": "HK"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.futu-stock] command = "futu-mcp-server" [mcp_servers.futu-stock.env] FUTU_HOST = "127.0.0.1" FUTU_PORT = "11111" FUTU_ENABLE_POSITIONS = "1" FUTU_ENABLE_TRADING = "0" FUTU_TRADE_ENV = "SIMULATE" FUTU_SECURITY_FIRM = "FUTUSECURITIES" FUTU_TRD_MARKET = "HK"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add futu-stock -e FUTU_HOST=127.0.0.1 -e FUTU_PORT=11111 -e FUTU_ENABLE_POSITIONS=1 -e FUTU_ENABLE_TRADING=0 -e FUTU_TRADE_ENV=SIMULATE -e FUTU_SECURITY_FIRM=FUTUSECURITIES -e FUTU_TRD_MARKET=HK -- futu-mcp-server
Run it in a terminal; replace any <…> placeholders with your own values first.
After restarting the MCP client, check that `get_stock_quote` appears in its tool list. Request a quote for HK.00700 to confirm the connection.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Futu Stock MCP Server exposes Futu OpenAPI features through MCP, with tools for market data queries and subscriptions, security and derivatives information, account queries, and trading operations. The README mentions Hong Kong, US, and A-share market data. Use requires a Futu securities account, OpenAPI access, and a running OpenD gateway.
Manage UniFi Network controllers through MCP.
Manage UniFi networks and devices through MCP.
Ask your affiliate networks in plain English from your AI workspace.
Run 119 Horosa astrology and metaphysics techniques locally.
Source revision cd0790f9b599 Data synced 2026-12-05 Read the FMRS scoring method Markdown