Skip to main content
Glama

FinanceMCP

MIT License
135
86
  • Apple
  • Linux

index_data

Retrieve historical data for specific stock indices, such as the Shanghai or Shenzhen Index, using the MCP protocol. Input index code and date range to access financial data.

Instructions

获取指定股票指数的数据,例如上证指数、深证成指等

Input Schema

NameRequiredDescriptionDefault
codeYes指数代码,如'000001.SH'表示上证指数,'399001.SZ'表示深证成指
end_dateYes结束日期,格式为YYYYMMDD,如'20230131'
start_dateYes起始日期,格式为YYYYMMDD,如'20230101'

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "指数代码,如'000001.SH'表示上证指数,'399001.SZ'表示深证成指", "type": "string" }, "end_date": { "description": "结束日期,格式为YYYYMMDD,如'20230131'", "type": "string" }, "start_date": { "description": "起始日期,格式为YYYYMMDD,如'20230101'", "type": "string" } }, "required": [ "code", "start_date", "end_date" ], "type": "object" }

Other Tools from FinanceMCP

Related Tools

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/guangxiangdebizi/FinanceMCP'

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