wmshare
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WMSHARE_CLIENT_ID | Yes | AppId (Client ID) obtained from the open platform (open.winmale.com) under "My → 开放平台 → 我的应用". Required together with WMSHARE_CLIENT_SECRET to access real (live) market data. | |
| WMSHARE_CLIENT_SECRET | Yes | API Key (Client Secret) obtained from the open platform (open.winmale.com) under "My → 开放平台 → 我的应用". Required together with WMSHARE_CLIENT_ID to access real (live) market data. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
wmshare MCP:20 个 task tools 覆盖高频数据面;长尾 friendly API 用 wmshare_call(mode='api'),目录函数批量用 wmshare_batch(params=...)。先离线 search/contract,再取数;多标的不要逐票循环。比率/涨跌幅/分位默认小数(0.0396=3.96%),金额=元,量=股;screener 宽度接口的 *_pct 字段是百分数数值(80.3=80.3%)。DataError 是数据守护报警,不要静默忽略。
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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 |
|---|---|
| wmshare_statusB | 查看版本、市场、凭证、目录、能力覆盖和配置指引(零凭证可用)。 |
| wmshare_searchA | 离线搜索函数、指标码、friendly API 和标的;任何名字/代码先查这里。 |
| wmshare_contractA | 查询函数、指标或 friendly API 合同:参数、返回、单位、示例、推荐 tool。 |
| wmshare_symbolsB | 把公司名、拼音、别名或代码解析为 SDK 标的代码。 |
| wmshare_quoteB | 取一只或多只同市场标的的最新/盘中报价;多只自动批量。 |
| wmshare_historyB | 取个股日 K:支持 n、前/后复权和 begin/end 区间;begin/end 必须成对。 |
| wmshare_metricsB | 先校验指标码存在,再批量取一只标的的多个指标当前值。 |
| wmshare_companyB | 取公司研究包:档案、报表、指标、分红、公告等可选块。 |
| wmshare_screenC | 取单票筛选、全市场条件选股、宽度、行业分布、涨跌榜或行业成分。 |
| wmshare_disclosuresC | 取公告、定期报告、业绩事件、分红历史或契约套利事件。 |
| wmshare_statementC | 取三大报表(cn/hk/us 宽表)或审计意见。 |
| wmshare_segmentsC | 取经营分部的业务、产品、区域、收入、覆盖期、期间或四维快照。 |
| wmshare_dividendC | 取分红历史、DPS、TTM 指标、窗口统计和质量筛选;率值均为小数。 |
| wmshare_estimatesC | 取机构盈利预测、预测明细、评级、研报和财报披露日程。 |
| wmshare_corporateB | 取股东、股本、增减持、质押、回购、高管、担保、诉讼、违规和机构持仓。 |
| wmshare_marketC | 取 1 分钟分时、资金流、两融、可转债、指数、估值历史和证券全集。 |
| wmshare_intlC | 取 CCASS、主要股东、评级、盈利预测、沽空或美股发行信息;market 必须 hk/us。 |
| wmshare_noticeC | 取公告列表、按类别/日期查询、单票区间和回购/减持布尔信号。 |
| wmshare_batchB | 批量调用目录函数;支持 params,返回请求数、错误和 429 续跑位置。 |
| wmshare_callA | 受控通用网关:目录函数和全部 friendly API 的长尾兜底;禁止 _df。 cbond.figures / cbond.article 会写任意路径,网关不开放(改本地 SDK); 单次调用 EC 超过部署上限(WMSHARE_MCP_MAX_EC)会报 ec_budget。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| wmshare_quick_analysis | |
| wmshare_fundamental_report | |
| wmshare_market_screen |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| overview | |
| setup | |
| units | |
| limits | |
| coverage | |
| routing |
TDQS
Scored across 20 tools
Several pairs overlap: wmshare_disclosures and wmshare_notice both fetch 公告 (announcements), wmshare_estimates and wmshare_intl both cover 评级/ratings, and wmshare_company bundles 报表/指标/分红/公告 duplicating statement, metrics, dividend, and disclosures. wmshare_call is an explicit catch-all gateway that can reach nearly any other tool's data, blurring boundaries further, though descriptions do offer selection hints (e.g. search first for any name/code).
All 20 tools follow a uniform snake_case wmshare_<domain> pattern with no camelCase or mixed casing. A few names are action-like (call, search, batch, screen) while the rest are resource nouns, a minor stylistic deviation within an otherwise predictable scheme.
20 tools is on the heavy side but each maps to a distinct data domain (quotes, statements, estimates, corporate actions, market, screening, batch), so the surface is defensibly scoped rather than padded. It sits at the upper edge of comfortable before aggregation would be warranted.
Coverage is broad across cn/hk/us: quotes, K-line, statements, metrics, dividends, estimates, corporate/shareholder data, market data, notices, segments, screening, plus search/contract/status metadata. The wmshare_call long-tail gateway closes most residual gaps; only peripheral areas like news/sentiment or streaming subscriptions are absent.