Skip to main content
Glama
liqiongyu

Xueqiu MCP

by liqiongyu

cash_flow

Retrieve cash flow statement data for specific stocks from the Xueqiu MCP server to analyze financial liquidity and operational performance.

Instructions

获取现金流量表数据

Args: stock_code: 股票代码 is_annals: 只获取年报,默认为1 count: 返回数据数量,默认5条

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stock_codeNoSZ000002
is_annalsNo
countNo

Implementation Reference

  • main.py:180-190 (handler)
    The handler function for the 'cash_flow' tool. It is decorated with @mcp.tool() for registration, fetches cash flow data from the pysnowball library (ball.cash_flow), processes the data using process_data helper, and returns it as a dict.
    @mcp.tool() def cash_flow(stock_code: str="SZ000002", is_annals: int = 1, count: int = 5) -> dict: """获取现金流量表数据 Args: stock_code: 股票代码 is_annals: 只获取年报,默认为1 count: 返回数据数量,默认5条 """ result = ball.cash_flow(symbol=stock_code, is_annals=is_annals, count=count) return process_data(result)

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/liqiongyu/xueqiu_mcp'

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