Skip to main content
Glama
xiaozhozho

akshare-mcp

by xiaozhozho

akshare_fx_commodity

Retrieve forex exchange rates and commodity spot prices including gold, silver, crude oil, and agricultural products from multiple financial data sources.

Instructions

Forex: real-time and historical exchange rates (BOC, Baidu, East Money), currency conversion, cross rates, FX swaps, and crypto (Bitcoin CME, holdings). Commodities: spot prices (gold, silver, hog, corn, feed ingredients from SGE/Soozhu), carbon emissions (domestic & EU), crude oil, and energy data.

Available Methods

  • crypto_bitcoin_cme(date='20230830') 芝加哥商业交易所-比特币成交量报告

  • crypto_bitcoin_hold_report() 金十数据-比特币持仓报告

  • currency_boc_safe() 人民币汇率中间价

  • currency_boc_sina(symbol='美元', start_date='20230304', end_date='20231110') 新浪财经-中行人民币牌价历史数据查询

  • currency_convert(base='USD', to='CNY', amount='10000', api_key='') currencies data from currencyscoop.com

  • currency_currencies(c_type='fiat', api_key='') currencies data from currencyscoop.com

  • currency_history(base='USD', date='2023-02-03', symbols='', api_key='') Latest data from currencyscoop.com

  • currency_latest(base='USD', symbols='', api_key='') Latest data from currencyscoop.com

  • currency_pair_map(symbol='美元') 指定货币的所有可获取货币对的数据

  • currency_time_series(base='USD', start_date='2023-02-03', end_date='2023-03-04', symbols='', api_key='') Time-series data from currencyscoop.com

  • energy_carbon_bj() 北京市碳排放权电子交易平台-北京市碳排放权公开交易行情

  • energy_carbon_domestic(symbol='湖北') 碳交易网-行情信息

  • energy_carbon_eu() 深圳碳排放交易所-国际碳情

  • energy_carbon_gz() 广州碳排放权交易中心-行情信息

  • energy_carbon_hb() 湖北碳排放权交易中心-现货交易数据-配额-每日概况

  • energy_carbon_sz() 深圳碳排放交易所-国内碳情

  • energy_oil_detail(date='20220517') 全国各地区的汽油和柴油油价

  • energy_oil_hist() 汽柴油历史调价信息

  • forex_hist_em(symbol='USDCNH') 东方财富网-行情中心-外汇市场-所有汇率-历史行情数据

  • forex_spot_em() 东方财富网-行情中心-外汇市场-所有汇率-实时行情数据

  • fx_c_swap_cm() 中国外汇交易中心暨全国银行间同业拆借中心-基准-外汇市场-外汇掉期曲线-外汇掉期 C-Swap 定盘曲线

  • fx_pair_quote() 中国外汇交易中心暨全国银行间同业拆借中心-市场数据-市场行情-债券市场行情-外币对即期报价

  • fx_quote_baidu(symbol='人民币', token='') 百度股市通-外汇-行情榜单

  • fx_spot_quote() 中国外汇交易中心暨全国银行间同业拆借中心-市场数据-市场行情-外汇市场行情-人民币外汇即期报价

  • fx_swap_quote() 中国外汇交易中心暨全国银行间同业拆借中心-市场数据-市场行情-债券市场行情-人民币外汇远掉报价

  • spot_corn_price_soozhu() 搜猪-生猪大数据-全国玉米价格走势

  • spot_golden_benchmark_sge() 上海黄金交易所-数据资讯-上海金基准价-历史数据

  • spot_hist_sge(symbol='Au99.99') 上海黄金交易所-数据资讯-行情走势-历史数据

  • spot_hog_crossbred_soozhu() 搜猪-生猪大数据-全国后备二元母猪

  • spot_hog_lean_price_soozhu() 搜猪-生猪大数据-全国瘦肉型肉猪

  • spot_hog_soozhu() 搜猪-生猪大数据-各省均价实时排行榜

  • spot_hog_three_way_soozhu() 搜猪-生猪大数据-全国三元仔猪

  • spot_hog_year_trend_soozhu() 搜猪-生猪大数据-今年以来全国出栏均价走势

  • spot_mixed_feed_soozhu() 搜猪-生猪大数据-全国育肥猪合料(含自配料)半月走势

  • spot_price_qh(symbol='螺纹钢') 99 期货-数据-期现-现货走势

  • spot_price_table_qh() 99 期货-数据-期现-交易所与品种对照表

  • spot_quotations_sge(symbol='Au99.99') 上海黄金交易所-实时行情数据

  • spot_silver_benchmark_sge() 上海黄金交易所-数据资讯-上海银基准价-历史数据

  • spot_soybean_price_soozhu() 搜猪-生猪大数据-全国豆粕价格走势

  • spot_symbol_table_sge() 上海黄金交易所-数据资讯-行情走势-品种表

Input Schema

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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/5

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

No annotations exist, and the description fails to disclose any behavioral traits such as side effects, authentication needs, rate limits, or data freshness. For a tool with numerous data sources, this is a critical omission, leaving the agent blind to important operational constraints.

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 structured with headers and bullet points, but it is verbose, listing many methods with Chinese text. It front-loads a summary but then dives into an extensive list. Some sentences are redundant or unclear, detracting from efficient parsing by an AI agent.

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

Completeness1/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, no schema descriptions, no annotations), the description is woefully incomplete. It does not explain common parameter usage, the role of 'params_json', or how to interpret results. An output schema exists but is not provided; its absence further harms completeness. The agent cannot reliably invoke this tool correctly.

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

Parameters1/5

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

The input schema has 0% description coverage for its 8 parameters. The description shows example calls with parameters (e.g., crypto_bitcoin_cme(date='20230830')) but does not explain parameter meaning, format, or valid values across methods. The 'params_json' parameter is unexplained, adding confusion. The agent cannot determine how to properly set parameters without external knowledge.

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

Purpose4/5

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

The description clearly states that the tool provides forex and commodity data, and it lists many specific methods. This distinguishes it from sibling tools (e.g., akshare_bond, akshare_stock_a) that cover other asset classes. However, it lacks a concise verb+resource summary, relying on a broad listing.

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 versus alternatives. The description does not mention prerequisites, use cases, or when not to use it. The agent must infer from the method names and siblings, which is insufficient for confident selection.

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