Skip to main content
Glama
gavin3129

akshare-mcp

by gavin3129

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_stock_quoteA

Get the real-time quote for a single A-share stock.

Args: symbol: A 6-digit A-share code, e.g. "600519" (Kweichow Moutai) or "300750" (CATL).

Returns: A dict with the latest price, change percentage, volume, turnover and market-cap figures. On failure, a dict with an error key explaining what went wrong.

Example: >>> get_stock_quote("600519") # doctest: +SKIP {'symbol': '600519', 'name': '贵州茅台', 'price': 1683.0, 'change_pct': 0.85, 'volume': 31250, 'total_market_cap': 2.1e12, ...}

get_financial_statementsA

Get key financial-statement line items for an A-share company.

Args: symbol: A 6-digit A-share code, e.g. "600519". period: "annual" for the latest fiscal-year report (default), or "quarterly" for the most recent quarterly report.

Returns: A dict with the latest income_statement, balance_sheet and cash_flow key items (values in CNY), plus the report_date they were drawn from. On failure, a dict with an error key.

Example: >>> get_financial_statements("600519", "annual") # doctest: +SKIP {'symbol': '600519', 'period': 'annual', 'report_date': '2023-12-31', 'income_statement': {'total_revenue': 1.5e11, 'net_profit': 7.4e10, ...}, 'balance_sheet': {...}, 'cash_flow': {...}}

get_industry_newsA

Get recent news headlines for an industry or theme.

Args: industry: An industry/theme keyword in Chinese, e.g. "光伏" (photovoltaics) or "新能源车" (electric vehicles). days: Look-back window in days (default 7, capped at 30). Items older than this are dropped.

Returns: A dict with the query echoed back and an articles list, each item carrying title, source, published_at and url. On failure, a dict with an error key.

Example: >>> get_industry_news("光伏", days=7) # doctest: +SKIP {'industry': '光伏', 'days': 7, 'count': 12, 'articles': [{'title': '...', 'source': '...', 'published_at': '2024-01-15 10:30:00', 'url': '...'}, ...]}

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

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