Skip to main content
Glama
xiaozhozho

akshare-mcp

by xiaozhozho

akshare_index

Access historical and real-time data for Chinese and global stock indices, including index constituents, sector analysis, and specialty indices.

Instructions

Stock index data: China (CSI/Shenwan/CNI), global (S&P, DJIA, Nasdaq, FTSE, Nikkei, Hang Seng, etc.) historical and real-time values, index constituents, sector index analysis, shipping indices (Drewry, Baltic), and specialty indices (Bloomberg Billionaires, AI, etc.).

Available Methods

  • drewry_wci_index(symbol='composite') Drewry 集装箱指数

  • index_ai_cx() 财新数据-指数报告-AI策略指数

  • index_all_cni() 国证指数-最近交易日的所有指数

  • index_analysis_daily_sw(symbol='市场表征', start_date='20221103', end_date='20221103') 申万宏源研究-指数分析

  • index_analysis_monthly_sw(symbol='市场表征', date='20221031') 申万宏源研究-指数分析-月报告

  • index_analysis_week_month_sw(symbol='month') 申万宏源研究-周/月报表-日期序列

  • index_analysis_weekly_sw(symbol='市场表征', date='20221104') 申万宏源研究-指数分析-周报告

  • index_awpr_cx() 财新数据-指数报告-新经济入职工资溢价水平

  • index_bei_cx() 财新数据-指数报告-基石经济指数

  • index_bi_cx() 财新数据-指数报告-基础指数

  • index_cci_cx() 财新数据-指数报告-大宗商品指数

  • index_ci_cx() 财新数据-指数报告-资本投入指数

  • index_code_id_map_em() 东方财富-股票和市场代码

  • index_component_sw(symbol='801001') 申万宏源研究-指数发布-指数详情-成分股

  • index_csindex_all() 中证指数网站-指数列表

  • index_dei_cx() 财新数据-指数报告-数字经济指数

  • index_detail_cni(symbol='399001') 国证指数-样本详情-指定日期的样本成份

  • index_detail_hist_adjust_cni(symbol='399005') 国证指数-样本详情-历史调样

  • index_detail_hist_cni(symbol='399001') 国证指数-样本详情-历史样本

  • index_eri(symbol='月度') 浙江省排污权交易指数

  • index_fi_cx() 财新数据-指数报告-融合指数

  • index_global_hist_em(symbol='美元指数') 东方财富网-行情中心-全球指数-历史行情数据

  • index_global_hist_sina(symbol='OMX') 新浪财经-行情中心-环球市场-历史行情

  • index_global_name_table() 新浪财经-行情中心-环球市场-名称代码映射表

  • index_global_spot_em() 东方财富网-行情中心-全球指数-实时行情数据

  • index_hist_cni(symbol='399001', start_date='20230114', end_date='20240114') 指数历史行情数据

  • index_hist_fund_sw(symbol='807200', period='day') 申万宏源研究-申万指数-指数发布-基金指数-历史行情

  • index_hist_sw(symbol='801030', period='day') 申万宏源研究-指数发布-指数详情-指数历史数据

  • index_hog_spot_price() 行情宝-生猪市场价格指数

  • index_ii_cx() 财新数据-指数报告-产业指数

  • index_inner_quote_sugar_msweet() 沐甜科技数据中心-配额内进口糖估算指数

  • index_kq_fashion(symbol='时尚创意指数') 柯桥时尚指数

  • index_kq_fz(symbol='价格指数') 中国柯桥纺织指数

  • index_li_cx() 财新数据-指数报告-劳动力投入指数

  • index_min_sw(symbol='801001') 申万宏源研究-指数发布-指数详情-指数分时数据

  • index_neaw_cx() 财新数据-指数报告-新经济行业入职平均工资水平

  • index_neei_cx() 财新数据-指数报告-新动能指数

  • index_nei_cx() 财新数据-指数报告-中国新经济指数

  • index_news_sentiment_scope() 数库-A股新闻情绪指数

  • index_option_1000index_min_qvix() 中证1000股指 期权波动率指数 QVIX-分时

  • index_option_1000index_qvix() 中证1000股指 期权波动率指数 QVIX

  • index_option_100etf_min_qvix() 深证100ETF 期权波动率指数 QVIX-分时

  • index_option_100etf_qvix() 深证100ETF 期权波动率指数 QVIX

  • index_option_300etf_min_qvix() 300 ETF 期权波动率指数 QVIX-分时

  • index_option_300etf_qvix() 300 ETF 期权波动率指数 QVIX

  • index_option_300index_min_qvix() 中证300股指 期权波动率指数 QVIX-分时

  • index_option_300index_qvix() 中证300股指 期权波动率指数 QVIX

  • index_option_500etf_min_qvix() 500 ETF 期权波动率指数 QVIX-分时

  • index_option_500etf_qvix() 500 ETF 期权波动率指数 QVIX

  • index_option_50etf_min_qvix() 50 ETF 期权波动率指数 QVIX

  • index_option_50etf_qvix() 50ETF 期权波动率指数 QVIX

  • index_option_50index_min_qvix() 上证50股指 期权波动率指数 QVIX-分时

  • index_option_50index_qvix() 上证50股指 期权波动率指数 QVIX

  • index_option_cyb_min_qvix() 创业板 期权波动率指数 QVIX-分时

  • index_option_cyb_qvix() 创业板 期权波动率指数 QVIX

  • index_option_kcb_min_qvix() 科创板 期权波动率指数 QVIX-分时

  • index_option_kcb_qvix() 科创板 期权波动率指数 QVIX

  • index_outer_quote_sugar_msweet() 沐甜科技数据中心-配额外进口糖估算指数

  • index_pmi_com_cx() 财新数据-指数报告-财新中国 PMI-综合 PMI

  • index_pmi_man_cx() 财新数据-指数报告-财新中国 PMI-制造业 PMI

  • index_pmi_ser_cx() 财新数据-指数报告-财新中国 PMI-服务业 PMI

  • index_price_cflp(symbol='周指数') 中国公路物流运价指数

  • index_qli_cx() 财新数据-指数报告-高质量因子

  • index_realtime_fund_sw(symbol='基础一级') 申万宏源研究-申万指数-指数发布-基金指数-实时行情

  • index_realtime_sw(symbol='二级行业') 申万宏源研究-指数系列

  • index_si_cx() 财新数据-指数报告-溢出指数

  • index_stock_cons(symbol='399639') 最新股票指数的成份股目录

  • index_stock_cons_csindex(symbol='000300') 中证指数网站-成份股目录

  • index_stock_cons_sina(symbol='000300') 新浪新版股票指数成份页面, 目前该接口可获取指数数量较少

  • index_stock_cons_weight_csindex(symbol='000300') 中证指数网站-样本权重

  • index_stock_info() 聚宽-指数数据-指数列表

  • index_sugar_msweet() 沐甜科技数据中心-中国食糖指数

  • index_ti_cx() 财新数据-指数报告-科技投入指数

  • index_us_stock_sina(symbol='.INX') 新浪财经-美股指数行情

  • index_volume_cflp(symbol='月指数') 中国公路物流运量指数

  • index_yw(symbol='月景气指数') 义乌小商品指数

  • index_zh_a_hist(symbol='000859', period='daily', start_date='19700101', end_date='22220101') 东方财富网-中国股票指数-行情数据

  • index_zh_a_hist_min_em(symbol='399006', period='1', start_date='1979-09-01 09:32:00', end_date='2222-01-01 09:32:00') 东方财富网-指数数据-每日分时行情

  • spot_goods(symbol='波罗的海干散货指数') 新浪财经-商品现货价格指数

  • stock_a_code_to_symbol(symbol='000300') 输入股票代码判断股票市场

  • stock_zh_index_daily(symbol='sh000922') 新浪财经-指数-历史行情数据, 大量抓取容易封 IP

  • stock_zh_index_daily_em(symbol='csi931151', start_date='19900101', end_date='20500101') 东方财富网-股票指数数据

  • stock_zh_index_daily_tx(symbol='sz980017', start_date='', end_date='') 腾讯证券-日频-股票或者指数历史数据(支持自定义时间范围)

  • stock_zh_index_hist_csindex(symbol='000928', start_date='20180526', end_date='20240604') 中证指数-具体指数-历史行情数据

  • stock_zh_index_spot_em(symbol='上证系列指数') 东方财富网-行情中心-沪深京指数

  • stock_zh_index_spot_sina() 新浪财经-行情中心首页-A股-分类-所有指数

  • stock_zh_index_value_csindex(symbol='H30374') 中证指数-指数估值数据

  • sw_index_first_info() 乐咕乐股-申万一级-分类

  • sw_index_second_info() 乐咕乐股-申万二级-分类

  • sw_index_third_cons(symbol='801120.SI') 乐咕乐股-申万三级-行业成份

  • sw_index_third_info() 乐咕乐股-申万三级-分类

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
adjustNo
methodYes
periodNo
symbolNo
end_dateNo
start_dateNo
params_jsonNo{}

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided. Only one method mentions rate limit risk (封 IP), but overall the description lacks disclosures on destructive actions, authentication, or other behavioral traits. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with a summary, but the rest is a long list of methods. It is verbose but informative. The structure could be improved with grouping or categorization for faster parsing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (many methods, 8 parameters), the description enumerates all methods and required parameters. However, it lacks an overarching usage pattern or examples of typical queries. The output schema exists, so return values are not needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It shows method-specific parameter examples (e.g., symbol='000300'), but does not systematically explain each parameter's meaning across all methods. The 'params_json' parameter is introduced but not defined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool provides stock index data for China and global markets, including historical/real-time values, constituents, and specialty indices. This distinguishes it from siblings like akshare_bond or akshare_fund, which cover different asset classes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool vs. siblings. The description only lists methods without contextual advice, leaving the agent to infer suitable contexts from the resource type.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/xiaozhozho/akshare-mcp'

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