Skip to main content
Glama

A-Share MCP Server

MIT License
323

get_dividend_data

Retrieve dividend details for specific A-share stocks by providing the stock code, year, and year type. Returns a structured Markdown table or error message for informed investment decisions.

Instructions

Fetches dividend information for a given stock code and year. Args: code: The stock code in Baostock format (e.g., 'sh.600000', 'sz.000001'). year: The year to query (e.g., '2023'). year_type: Type of year. Valid options (from Baostock): 'report': Announcement year (预案公告年份) 'operate': Ex-dividend year (除权除息年份) Defaults to 'report'. Returns: A Markdown formatted string containing the dividend data table, or an error message.

Input Schema

NameRequiredDescriptionDefault
codeYes
yearYes
year_typeNoreport

Input Schema (JSON Schema)

{ "properties": { "code": { "title": "Code", "type": "string" }, "year": { "title": "Year", "type": "string" }, "year_type": { "default": "report", "title": "Year Type", "type": "string" } }, "required": [ "code", "year" ], "title": "get_dividend_dataArguments", "type": "object" }

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/24mlight/a-share-mcp-is-just-i-need'

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