Skip to main content
Glama

FinanceMCP

MIT License
10
10
  • Apple
  • Linux

index_data

Retrieve historical data for specified stock indices, such as the Shanghai Composite or Shenzhen Component, using index codes and date ranges. Facilitates financial analysis via FinanceMCP server.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
codeYes指数代码,如'000001.SH'表示上证指数,'399001.SZ'表示深证成指
end_dateNo结束日期,格式为YYYYMMDD,如'20230131'
start_dateNo起始日期,格式为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" ], "type": "object" }

You must be authenticated.

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