← Back to directory
A

AKShare One MCP

Community
An MCP server providing comprehensive China stock market data interfaces based on AKShare.
GitHub source repository ↗
★ 225 Stars Category · Other Popular Source revision b6113bbccf09
42FMRS · D
Reliability
5/20
Security and permissions
9/20
Maintenance
6/20
Documentation
10/20
Setup experience
12/20

This server provides rich China A-share data interfaces including historical quotes, real-time data, news, and financial statements, suitable for users needing Chinese stock data. However, it relies on third-party data sources, leading to potential data uncertainties.

Read the FMRS scoring method →

akshare-one-mcp is an MCP server based on akshare-one, providing comprehensive interfaces for China stock market data. It offers a set of powerful tools for retrieving financial information including historical stock data, real-time data, news data, and financial statements.

Tools

get_hist_data
Get historical stock market data with support for multiple time periods and adjustment methods.
get_realtime_data
Get real-time stock market data.
get_news_data
Get stock-related news data.
get_balance_sheet
Get company balance sheet data.
get_income_statement
Get company income statement data.
get_cash_flow
Get company cash flow statement data.
get_inner_trade_data
Get company insider trading data.
get_financial_metrics
Get key financial metrics from the three major financial statements.
get_time_info
Get current time with ISO format, timestamp, and the last trading day.

Setup

  1. Install uv if not already installed.
  2. Add the following configuration to your MCP client settings:

{
"mcpServers": {
"akshare-one-mcp": {
"command": "uvx",
"args": ["akshare-one-mcp"]
}
}
}

  1. Alternatively, install automatically via Smithery:

npx -y @smithery/cli install @zwldarren/akshare-one-mcp --client claude

claude_desktop_config.json
{
  "mcpServers": {
    "akshare-one-mcp": {
      "command": "uvx",
      "args": ["akshare-one-mcp"]
    }
  }
}

Fit and risk

Best for

  • Investors and researchers needing China A-share market data
  • Quantitative trading strategy developers and researchers
  • Developers requiring Chinese financial data

Not for

  • Users needing global stock market data
  • Users requiring high-frequency or ultra-low-latency real-time data
  • Users with strict accuracy requirements who lack validation channels (note limitations of data sources)

Required permissions

  • Network access: to fetch data from sources like Eastmoney, Sina, and Xueqiu
  • Local file access: when installed locally, may read/write configuration files and temporary files

Risks and side effects

  • Data delays or temporary unavailability of data sources may cause tool failures
  • Data accuracy may be limited by sources; cross-validation recommended
  • Third-party data sources might have usage terms; ensure compliance

Troubleshooting

  1. Check network connectivity and ensure data sources are reachable if tool calls fail
  2. If starting with uv fails, confirm uv is installed and in PATH
  3. For historical data, verify stock code format (e.g., 000001)
  4. When using streamable-http mode, ensure endpoint is http://<host>:<port>/mcp

Use cases

Retrieve historical stock data for analysis and backtesting
Get real-time data for monitoring or algorithmic trading
Access financial statements for fundamental analysis
Fetch stock-related news for sentiment monitoring

Supported clients

Claude DesktopFull support