mcp server for futuniuniu stock
mcp server for futuniuniu stock. That is what the futu stock mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
bash git clone https://github.com/yourusername/futu-stock-mcp-server.git cd futu-stock-mcp-server futu-stock-mcp-server on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.
The server publishes 14 tools. What each one is for:
get_stock_quote — Get stock quote dataget_market_snapshot — Get market snapshotget_cur_kline — Get current K-line dataget_history_kline — Get historical K-line dataget_rt_data — Get real-time dataget_ticker — Get ticker dataget_order_book — Get order book dataget_broker_queue — Get broker queue datasubscribe — Subscribe to real-time dataunsubscribe — Unsubscribe from real-time dataget_option_chain — Get option chain dataget_option_expiration_date — Get option expiration datesConfiguration is passed through the environment: FUTU_HOST, FUTU_PORT, FUTU_ENABLE_POSITIONS, FUTU_ENABLE_TRADING, FUTU_TRADE_ENV, FUTU_SECURITY_FIRM, FUTU_TRD_MARKET, FUTU_DEBUG_MODE. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
This sits in the payments and commerce group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Futu Stock's toolset — get_stock_quote, get_market_snapshot, get_cur_kline and 11 more — is a fair guide to whether it matches your workflow. It is maintained by shuizhengqi1; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| get_stock_quote | Get stock quote data |
| get_market_snapshot | Get market snapshot |
| get_cur_kline | Get current K-line data |
| get_history_kline | Get historical K-line data |
| get_rt_data | Get real-time data |
| get_ticker | Get ticker data |
| get_order_book | Get order book data |
| get_broker_queue | Get broker queue data |
| subscribe | Subscribe to real-time data |
| unsubscribe | Unsubscribe from real-time data |
| get_option_chain | Get option chain data |
| get_option_expiration_date | Get option expiration dates |
| get_option_condor | Get option condor strategy data |
| get_option_butterfly | Get option butterfly strategy data |
3. **使用 `python` 命令启动**(适用于源码开发场景):
```json
{
"mcpServers": {
"futu-stock": {
"command": "python",
"args": ["-m", "futu_stock_mcp_server.server"],
"env": {
"FUTU_HOST": "127.0.0.1",
"FUTU_PORT": "11111"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| FUTU_HOST | Endpoint or connection string the server talks to. | Optional |
| FUTU_PORT | Configuration value read at startup. | Optional |
| FUTU_ENABLE_POSITIONS | Configuration value read at startup. | Optional |
| FUTU_ENABLE_TRADING | Configuration value read at startup. | Optional |
| FUTU_TRADE_ENV | Configuration value read at startup. | Optional |
| FUTU_SECURITY_FIRM | Configuration value read at startup. | Optional |
| FUTU_TRD_MARKET | Configuration value read at startup. | Optional |
| FUTU_DEBUG_MODE | Configuration value read at startup. | Optional |
Payments infrastructure meets AI — customers, invoices, subscriptions and current API docs from Stripe's server.
Build for Shopify with current APIs — the official Dev MCP server for schema-accurate storefront and admin code.
Give your AI assistant a supervised window into your Interactive Brokers account — balances, positions, live quotes and orders.
Invoices, payments and disputes through PayPal's official server — commerce operations by conversation.
Enables querying and listing Azure resources and costs directly from an MCP client.
Empowers LLMs with Bitcoin Lightning Network payment capabilities via the ZBD API.