futu-opend-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FUTU_OPEND_HOST | No | OpenD host | 127.0.0.1 |
| FUTU_OPEND_PORT | No | OpenD port | 11111 |
| FUTU_OPEND_ENCRYPT | No | Proto encryption; 'false' for local 127.0.0.1 OpenD | true |
| FUTU_OPEND_RSA_KEY | No | Inline PEM of the shared RSA private key | |
| FUTU_OPEND_LOG_LEVEL | No | Logging level | INFO |
| FUTU_OPEND_RSA_KEY_FILE | No | Path to the PEM file (alternative to above) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_snapshotA | Get market snapshot (latest price, OHLC, volume, bid/ask) for one or more stocks - no subscription needed. Use when the user asks for 报价/价格/ 行情/快照/quote/price/snapshot. Codes like US.AAPL, HK.00700, SH.600519. Up to 400 codes per call. |
| get_klineA | Get K-line / candlestick / historical price (K线/蜡烛图/历史走势).
ktype: 1m,3m,5m,15m,30m,60m,1d,1w,1M,1Q,1Y. rehab: none/forward/backward
(forward=前复权 default). With start+end (YYYY-MM-DD) pulls historical K-line
across the range; otherwise the latest |
| get_market_stateC | Get market state (open/closed/lunch break) for codes - 市场状态/开盘了吗. Supports HK/US/SH/SZ/SG/MY/JP prefixes. |
| search_quoteA | Search securities/ETFs/plates by keyword - 搜索股票/搜代码/search quote. Returns market/code/name/sec_type. Rate-limited 10/30s. If unsure of a stock code, call this first. |
| search_newsA | Search news/announcements/ratings by keyword - 搜索资讯/搜新闻/搜公告. news_sub_type: ALL/NEWS(notice=公告)/NOTICE/RATING. Returns title/source/ publish_time/related_securities/url. Rate-limited 10/30s. |
| get_stock_infoB | Get stock basic+snapshot info (name, lot size, market cap, PE) - 股票信息/ 基本信息. Underlying uses get_market_snapshot; up to 400 codes. |
| screen_stocksA | Screen stocks by multi-factor config (V2) - 条件选股/筛选/screen stocks. market: HK/US/SH/ SZ/SG/MY/JP. config_json: a JSON string with filters/retrieves/sort (see Futu V2 screen schema). Values are RAW (OpenD scales): PRICE 10.0, MARKET_CAP 1e10, change% 5.0 (not 0.05). |
| get_financial_statementsB | Get financial statements - 财务报表/财报/利润表/资产负债表/现金流量表/ 关键指标. statement_type: 1=Income 2=BalanceSheet 3=CashFlow 4=MainIndex(关键指标). financial_type: 7=年报 10=单季报+年报(default) 9=单季组合. currency_code ISO 4217 (CNY/USD/HKD/...); omit for native currency. |
| get_revenue_breakdownB | Get revenue composition by product/industry/region/business - 主营构成/ 营收拆分/收入构成/revenue breakdown. financial_type: 7=年报 9=聚合季报. |
| get_earnings_calendarC | Get earnings-release calendar for a market - 财报日历. market: US/HK/CN/SG/MY/JP. |
| get_earnings_price_historyC | Get per-earnings-day price detail + IV crush - 历史财报日数据明细/财报日股价历史/ IV Crush/财报预期波动率. HK/US stocks only. |
| get_analyst_consensusC | Analyst consensus rating + target price - 分析师评级/一致预期/目标价/ consensus/analyst rating. Stocks + REITs. |
| get_morningstar_reportC | Morningstar research report - 晨星研报/fair value/护城河/moat/bull-bear. Stocks + REITs. |
| get_valuation_detailC | Valuation detail (PE/PB/PS trend, percentile, vs market) - 估值详情/ 市盈率/市净率/市销率/估值分位. valuation_type: 1=PE 2=PB 3=PS. interval_type: 1=3m 2=6m 3=1y 4=3y 5=since2019 6=5y 7=10y 8=2y 9=20y 10=30y. |
| get_corporate_actionsA | Get corporate actions - 分红/派息/股息, 回购/buyback, or 拆股/合股/stock split. action_type selects which. Per-stock historical records; for a forward all-market dividend calendar use get_dividend_calendar instead. |
| get_shareholder_overviewC | Shareholding structure summary - 持股统计/主要股东/股权结构/shareholder overview. |
| get_holding_changesC | Shareholder holding changes (increase/decrease/new/clear) - 持股变动/增持/减持/ 新进/清仓. filter_type: 0=all 1=increase 2=decrease 3=new 4=clear. |
| get_holder_detailC | Top-10 / detailed shareholders - 持股明细/十大股东/大股东名单. request_type 0=default 1000=all. |
| get_institutional_holdingsA | By-stock institutional holdings history - 机构持股/机构持仓/13F (who holds THIS stock). For by-institution (which stocks an institution holds) use get_institution_holdings. |
| get_insider_dataB | US insider holdings/trades - 内部人持股/内部人交易/高管交易/Form 4. US stocks only. data_type: holders (insider holder list) or trades (insider trade list). |
| get_company_profileD | Company profile - 公司概况/公司详情/公司简介/company profile/主营业务. |
| get_company_executivesC | Company executives & board - 公司高管/管理层/董事会/executives. Returns leader_name usable in get_executive_background. |
| get_executive_backgroundA | Background/career history of a named executive - 高管背景/履历/CEO背景. Two-step: first get_company_executives to find leader_name, then call this. |
| get_operational_efficiencyC | Operational efficiency - 经营效率/员工数/人均营收/人均利润/headcount per-employee metrics. |
| get_capital_flowC | Capital flow time series (main-force in/out) - 资金流向/资金流入流出. |
| get_capital_distributionC | Capital distribution (super/big/mid/small orders) - 资金分布/大单小单/主力资金. |
| get_top_brokersB | Top-10 buy/sell brokers (HK only) - 十大买卖经纪商/经纪队列排名. days_before: 0=realtime. |
| get_short_dataB | Short-selling data - 每日卖空/卖空量/卖空比例 (volume) or 空头持仓/short interest/ days to cover (interest). HK/US. |
| resolve_option_codeA | Resolve an option's Futu code from a description - 解析期权简写代码. underlying e.g. US.JPM; expiry YYYY-MM-DD; strike e.g. 267.50; option_type CALL/PUT. Returns a code like US.JPM260320C267500. Do NOT hand-build HK option codes (abbreviation differs) - use this. |
| get_option_chainA | Get option chain for an underlying - 期权链. HK/US stocks/ETF/index only. start/end YYYY-MM-DD filter by expiry. |
| get_option_expiration_dateB | List option expiration dates - 期权到期日. HK/US stocks/ETF/index only. |
| get_option_quoteA | Get option snapshot/Greeks for one or more legs - 期权快照/期权实时行情/多腿Greeks. legs: [{code, action: BUY|SELL, quantity}]. NOT for combo bid/ask - use get_option_strategy_analysis. |
| get_option_volatilityA | Option volatility analysis (IV/HV) for a single option contract - 期权波动率/隐含波动率/ IV/HV. Input is an OPTION code (resolve via resolve_option_code first). query_time_period: 1=week 2=month 3=quarter 4=half 5=year. |
| get_option_strategy_analysisA | Combo option bid1/ask1 + P&L analysis - 组合摆盘价/损益分析/最大盈亏/盈亏平衡点. legs: [{code, action: BUY|SELL, quantity}]. PREFERRED source for combo bid/ask; do NOT sum single-leg snapshots. |
| get_option_underlyingA | Option-underlying IV/HV data - 标的历史波动率/IV走势/P-C比率/批量标的快照. view: volatility (IV+HV time series, single code), statistic (volume/OI/PCR time series, single code), overview (latest snapshot, MULTIPLE codes). For overview pass a list; for volatility/statistic pass a single code + begin/end (≤364 days). |
| get_warrantC | Get warrants/cbbc list for an underlying - 窝轮/牛熊证/warrant. stock_owner e.g. HK.00700. |
| get_future_infoC | Get futures contract info (size, last trade day, sessions) - 期货合约信息. e.g. SG.CNmain. |
| get_reference_securitiesB | Get securities related to a code (spot↔warrant/future/option) - 关联证券/正股关联涡轮期货. reference_type: WARRANT / FUTURE / OPTION (per SDK enum). |
| get_plate_listB | List plates (concept/industry/region) - 板块列表/概念板块/行业板块. market: HK/US/SH/SZ/ SG/MY/JP. plate_type: ALL/INDUSTRY/REGION/CONCEPT. |
| get_plate_stocksC | Get stocks in a plate or index - 板块成分股/指数成分股/恒指成分股. plate_code e.g. hsi (alias) or HK.BK1910. |
| get_owner_plateC | Get plates a stock belongs to - 所属板块/属于哪些板块. |
| get_industrial_chainsA | Browse industrial/supply chains - 产业链. view: list (chains in a market, optional keyword), detail (one chain's upstream/midstream/downstream - pass chain_id), by_plate (chains linked to a plate - pass plate_id). market needed for list. |
| get_industrial_plateC | Industrial-plate info or constituents - 产业板块信息/成分股. view: info (plate detail) or stocks (constituents; optional markets filter like HK,US). |
| get_institution_listA | List institutions in a market - 机构列表. Optional name fuzzy search (e.g. 桥水/Bridgewater). Returns institution_id usable in other institution tools. |
| get_institution_profileD | Institution profile - 机构概况/机构详情. |
| get_institution_holdingsA | By-institution holdings - 机构持股/持仓变动. view: list (an institution's holdings) or change (holding-change detail). change_type for change: NEW/INCREASE/DECREASE/CLEAR. This is the BY-INSTITUTION direction (which stocks an institution holds) - distinct from get_institutional_holdings (who holds a given stock). |
| get_institution_distributionC | Institution holding industry distribution - 机构持仓行业分布. |
| get_economic_calendarC | Economic-event calendar - 经济事件日历. Optional market + date filter. |
| get_macro_indicatorB | Macro indicators - 宏观指标. view: list (available indicators, optional search) or history (time series for an indicator_id, optional begin/end). |
| get_fed_watchC | CME FedWatch tool - FedWatch 目标利率概率 (target_rate) or 点阵图 (dot_plot). |
| get_dividend_calendarA | All-market forward dividend/ex-date calendar - 派息日历/除息日历. market: US/HK/...; date YYYY-MM-DD. Distinct from per-stock historical get_corporate_actions. |
| get_ipo_listB | Get IPO list for a market - IPO/新股列表. market: HK/US/SH/SZ/SG/MY/JP. |
| get_quota_statusA | Self-diagnostics: aggregate user info, history-K-line quota, and global state - 用户行情权限/订阅配额/历史K线额度/市场开闭/登录状态. Call when a data tool returns a permission/quota error to diagnose the cause. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- 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/ER-EPR/futu-opend-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server