Skip to main content
Glama

A-Share MCP Server

MIT License
323

get_stock_basic_info

Retrieve essential details for Chinese A-share stocks by providing the stock code and optional fields. Outputs a Markdown table with stock information like industry, listing date, and more.

Instructions

Fetches basic information for a given Chinese A-share stock. Args: code: The stock code in Baostock format (e.g., 'sh.600000', 'sz.000001'). fields: Optional list to select specific columns from the available basic info (e.g., ['code', 'code_name', 'industry', 'listingDate']). If None or empty, returns all available basic info columns from Baostock. Returns: A Markdown formatted string containing the basic stock information table, or an error message.

Input Schema

NameRequiredDescriptionDefault
codeYes
fieldsNo

Input Schema (JSON Schema)

{ "properties": { "code": { "title": "Code", "type": "string" }, "fields": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Fields" } }, "required": [ "code" ], "title": "get_stock_basic_infoArguments", "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