Skip to main content
Glama
al-one

MCP Server for stock and crypto

stock_lhb_ggtj_sina

Retrieve statistical data for stocks appearing on China A-share market's Dragon Tiger List, showing institutional trading activity over specified periods.

Instructions

获取中国A股市场(上证、深证)的龙虎榜个股上榜统计数据

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo统计最近天数,仅支持: [5/10/30/60]5
limitNo返回数量(int,30-100)

Implementation Reference

  • The handler function decorated with @mcp.tool() implements the 'stock_lhb_ggtj_sina' tool. It fetches A-share dragon and tiger list (LHB) statistics data using akshare's ak.stock_lhb_ggtj_sina function wrapped in ak_cache for the specified number of days, limits the results, and returns as CSV.
    @mcp.tool( title="A股龙虎榜统计", description="获取中国A股市场(上证、深证)的龙虎榜个股上榜统计数据", ) def stock_lhb_ggtj_sina( days: str = Field("5", description="统计最近天数,仅支持: [5/10/30/60]"), limit: int = Field(50, description="返回数量(int,30-100)", strict=False), ): dfs = ak_cache(ak.stock_lhb_ggtj_sina, symbol=days, ttl=3600) dfs = dfs.head(int(limit)) return dfs.to_csv(index=False, float_format="%.2f").strip()

Latest Blog Posts

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/al-one/mcp-aktools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server