Skip to main content
Glama
liqiongyu

Xueqiu MCP

by liqiongyu

bonus

Retrieve dividend and financing data for Chinese stocks using stock codes, with pagination controls for managing large datasets.

Instructions

获取F10分红融资数据

Args: stock_code: 股票代码 page: 第几页 默认1 size: 每页含有多少数据 默认10

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stock_codeNoSZ000002
pageNo
sizeNo

Implementation Reference

  • main.py:238-238 (registration)
    Registers the 'bonus' tool using the FastMCP @mcp.tool() decorator.
    @mcp.tool()
  • main.py:239-248 (handler)
    The handler function for the 'bonus' tool. Fetches F10分红融资数据 (dividend financing data) using pysnowball.ball.bonus API, processes timestamps with process_data, and returns as dict.
    def bonus(stock_code: str="SZ000002", page: int = 1, size: int = 10) -> dict: """获取F10分红融资数据 Args: stock_code: 股票代码 page: 第几页 默认1 size: 每页含有多少数据 默认10 """ result = ball.bonus(stock_code, page=page, size=size) return process_data(result)
  • Type schema for 'bonus' tool inputs (stock_code: str, page: int=1, size: int=10) and output (dict). Includes defaults and docstring description.
    def bonus(stock_code: str="SZ000002", page: int = 1, size: int = 10) -> dict:

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