ashare-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ASHARE_SOURCE | No | Data backend. Only baostock in v1. | baostock |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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 |
|---|---|
| get_current_timeA | Current local server time as 'YYYY-MM-DD HH:MM:SS'. Useful for building relative date ranges (e.g. 'last 30 days') for the date parameters below. |
| get_stock_basicA | Basic securities profile. Pass |
| get_all_stockA | All securities and their trading status on a given day (default: latest
trading day). |
| get_trade_datesB | Trading-calendar flags between two dates (default: from 2015-01-01). Fields: calendar_date, is_trading_day (1是/0否). |
| get_history_k_dataA | Historical K-line bars.
frequency: d=日 w=周 m=月 5/15/30/60=分钟线.
adjustflag: 1后复权 2前复权 3不复权(默认).
Dates 'YYYY-MM-DD'. |
| get_dividend_dataC | Dividend / rights-issue records. yearType: 'report'(预案公告年, default) / 'operate'(除权除息年) / 'dividend'(分红年). Fields include dividCashPsBeforeTax/AfterTax, dividStocksPs, dividRegistDate, dividOperateDate, dividPayDate. |
| get_adjust_factorC | Price adjustment factors (复权因子, baostock 涨跌幅复权算法). Fields: code, dividOperateDate, foreAdjustFactor, backAdjustFactor, adjustFactor. |
| get_profit_dataC | Quarterly profitability (季频盈利能力). quarter 1..4. Fields: roeAvg, npMargin, gpMargin, netProfit, epsTTM, MBRevenue, totalShare, liqaShare. |
| get_operation_dataC | Quarterly operating capability (季频营运能力). quarter 1..4. Fields: NRTurnRatio, NRTurnDays, INVTurnRatio, INVTurnDays, CATurnRatio, AssetTurnRatio. |
| get_growth_dataC | Quarterly growth (季频成长能力). quarter 1..4. Fields: YOYEquity, YOYAsset, YOYNI, YOYEPSBasic, YOYPNI, YOYOperation. |
| get_balance_dataC | Quarterly solvency / balance-sheet ratios (季频偿债能力). quarter 1..4. Fields: currentRatio, quickRatio, cashRatio, YOYLiability, liabilityToAsset, assetToEquity. |
| get_cash_flow_dataC | Quarterly cash-flow ratios (季频现金流量). quarter 1..4. Fields: CAToAsset, NCAToAsset, tangibleAssetToAsset, ebitToInterest, CFOToOR, CFOToNP, CFOToGr. |
| get_dupont_dataC | Quarterly DuPont decomposition (季频杜邦指数). quarter 1..4. Fields: dupontROE, dupontAssetStoEquity, dupontAssetTurn, dupontPnitoni, dupontNitogr, dupontTaxBurden, dupontIntburden, dupontEbittogr. |
| get_performance_express_reportC | Performance express reports (业绩快报) filed in [start_date, end_date]. Fields include performanceExpStatDate, performanceExpressROEWa, performanceExpressEPSChgPct. |
| get_forecast_reportC | Earnings forecast / pre-announcements (业绩预告) in [start_date, end_date]. Fields include profitForcastExpStatDate, profitForcastType, profitForcastChgPctUp/Dwn. |
| get_stock_industryB | Industry classification (申万). Empty |
| get_sz50_stocksB | SSE 50 (上证50) constituents on |
| get_hs300_stocksC | CSI 300 (沪深300) constituents on |
| get_zz500_stocksB | CSI 500 (中证500) constituents on |
| get_deposit_rate_dataC | Benchmark deposit rates (存款利率) over a date range. |
| get_loan_rate_dataC | Benchmark loan rates (贷款利率) over a date range. |
| get_required_reserve_ratio_dataC | Required reserve ratio (存款准备金率). yearType: 0生效日期(default)/1公告日期. |
| get_money_supply_data_monthB | Monthly money supply M0/M1/M2 (货币供应量-月). Dates 'YYYY-MM'. |
| get_money_supply_data_yearB | Yearly money supply M0/M1/M2 (货币供应量-年). Dates 'YYYY'. |
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
- 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/maimai-hqw/ashare-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server