moomoo-market-data-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@moomoo-market-data-mcpGet the current snapshot for US.AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
moomoo Market Data MCP
A read-only Model Context Protocol server that exposes real-time market data from the official Futu OpenAPI (futu-api) to Codex and other MCP clients.
This project only provides market-data tools. It contains no order placement, account, position, or fund-transfer functions.
Tools
moomoo_connection_status— verify the Futu OpenD connectionmoomoo_snapshot— market snapshots for one or more symbolsmoomoo_quote— subscribed real-time quotesmoomoo_candles— current K-line/candlestick datamoomoo_order_book— real-time order bookmoomoo_ticker— recent time-and-sales recordsmoomoo_search_securities— search securities by code or name
Symbols use Futu's format, for example US.AAPL, HK.00700, and SH.600519.
Requirements
Python 3.10+
Futu OpenD installed, logged in, and running
The required real-time quote entitlement in your moomoo/Futu account
The default OpenD endpoint is 127.0.0.1:11111. This server does not need your moomoo password.
Install and run
git clone https://github.com/amao69904/moomoo-market-data-mcp.git
cd moomoo-market-data-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e .
moomoo-market-data-mcpOptional environment variables:
export FUTU_OPEND_HOST=127.0.0.1
export FUTU_OPEND_PORT=11111Codex MCP configuration
Add the server using the Python environment where it was installed:
[mcp_servers.moomoo-market-data]
command = "/absolute/path/to/moomoo-market-data-mcp/.venv/bin/moomoo-market-data-mcp"
[mcp_servers.moomoo-market-data.env]
FUTU_OPEND_HOST = "127.0.0.1"
FUTU_OPEND_PORT = "11111"Restart Codex after changing MCP configuration, then call moomoo_connection_status.
Data and safety notes
Availability, latency, depth, and coverage depend on OpenD, account region, exchange hours, and quote entitlements.
Subscription quotas are enforced by Futu.
Returned data is informational and is not investment advice.
Do not expose OpenD to the public internet. Keep it on localhost or a trusted private network.
Development
pip install -e ".[dev]"
pytestLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Alpaca MCP — real-time US stock market data via the Alpaca Market Data API
Access real-time and historical market data for China A-shares and Hong Kong stocks, along with ne…
Twelve Data MCP: real-time & historical market data (stocks, crypto, forex, etc).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/amao69904/moomoo-market-data-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server