
AKShare One
STDIOChina stock market data interface providing financial information and analysis tools.
China stock market data interface providing financial information and analysis tools.
An MCP server based on akshare-one, providing interfaces for China stock market data. It offers a set of tools for retrieving financial information including historical stock data, real-time data, news data, financial statements, etc.
get_hist_data
Get historical stock market data. 'eastmoney_direct' supports all A, B, H shares.
get_realtime_data
Get real-time stock market data. 'eastmoney_direct' supports all A, B, H shares.
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.
The server supports two modes: stdio and streamable-http
Command Line Arguments:
--streamable-http
: Enable HTTP mode (default: stdio mode)--host
: Host to bind to in HTTP mode (default: 0.0.0.0)--port
: Port to listen on in HTTP mode (default: 8081)Note: When using streamable-http mode, the MCP server will be available at http://{host}:{port}/mcp
. For the default configuration, this would be http://0.0.0.0:8081/mcp
.
To install akshare-one-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @zwldarren/akshare-one-mcp --client claude
uv
Install uv if you haven't already.
Add the following configuration:
"mcpServers": { "akshare-one-mcp": { "command": "uvx", "args": ["akshare-one-mcp"] } }
Clone this repository:
git clone https://github.com/zwldarren/akshare-one-mcp.git cd akshare-one-mcp
Install dependencies:
uv sync
Add the following configuration:
"mcpServers": { "akshare-one-mcp": { "command": "uv", "args": [ "--directory", "/path/to/akshare-one-mcp", "run", "akshare-one-mcp" ] } }