Wraps the akshare-one library to give Claude direct access to Chinese stock market data through eastmoney, sina, and xueqiu APIs. You get historical price data with technical indicators like MACD and RSI, real-time quotes, financial statements (balance sheet, income, cash flow), insider trading records, and stock news. Perfect when you're building financial analysis workflows or need to pull A-share market data without managing API keys or rate limits. The server handles multiple data sources and time intervals, from minute-level pricing to annual financials, making it straightforward to incorporate Chinese market intelligence into Claude conversations.
Public tool metadata for what this MCP can expose to an agent.
get_hist_dataGet historical stock market data. 'eastmoney_direct' support all A,B,H shares9 paramsGet historical stock market data. 'eastmoney_direct' support all A,B,H shares
adjuststringnone · qfq · hfqdefault: nonesourcestringeastmoney · eastmoney_direct · sinadefault: eastmoneysymbolstringend_datestringintervalstringminute · hour · day · week · month · yeardefault: dayrecent_nvaluestart_datestringindicators_listvalueinterval_multiplierintegerget_realtime_dataGet real-time stock market data. 'eastmoney_direct' support all A,B,H shares2 paramsGet real-time stock market data. 'eastmoney_direct' support all A,B,H shares
sourcestringxueqiu · eastmoney · eastmoney_directdefault: eastmoney_directsymbolvalueget_news_dataGet stock-related news data.2 paramsGet stock-related news data.
symbolstringrecent_nvalueget_balance_sheetGet company balance sheet data.2 paramsGet company balance sheet data.
symbolstringrecent_nvalueget_income_statementGet company income statement data.2 paramsGet company income statement data.
symbolstringrecent_nvalueget_cash_flowGet company cash flow statement data.3 paramsGet company cash flow statement data.
sourcestringsymbolstringrecent_nvalueget_inner_trade_dataGet company insider trading data.1 paramsGet company insider trading data.
symbolstringget_financial_metricsGet key financial metrics from the three major financial statements.2 paramsGet key financial metrics from the three major financial statements.
symbolstringrecent_nvalueget_time_infoGet current time with ISO format, timestamp, and the last trading day.Get current time with ISO format, timestamp, and the last trading day.
No parameter schema in public metadata yet.
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.
get_hist_dataGet historical stock market data with support for multiple time periods and adjustment methods.
symbol (string, required): Stock code (e.g. '000001')interval (string, optional): Time interval ('minute','hour','day','week','month','year') (default: 'day')interval_multiplier (number, optional): Interval multiplier (default: 1)start_date (string, optional): Start date in YYYY-MM-DD format (default: '1970-01-01')end_date (string, optional): End date in YYYY-MM-DD format (default: '2030-12-31')adjust (string, optional): Adjustment type ('none', 'qfq', 'hfq') (default: 'none')source (string, optional): Data source ('eastmoney', 'eastmoney_direct', 'sina') (default: 'eastmoney')indicators_list (list, optional): Technical indicators to addrecent_n (number, optional): Number of most recent records to return (default: 100)get_realtime_dataGet real-time stock market data.
symbol (string, optional): Stock codesource (string, optional): Data source ('xueqiu', 'eastmoney', 'eastmoney_direct') (default: 'eastmoney_direct')get_news_dataGet stock-related news data.
symbol (string, required): Stock coderecent_n (number, optional): Number of most recent records to return (default: 10)get_balance_sheetGet company balance sheet data.
symbol (string, required): Stock coderecent_n (number, optional): Number of most recent records to return (default: 10)get_income_statementGet company income statement data.
symbol (string, required): Stock coderecent_n (number, optional): Number of most recent records to return (default: 10)get_cash_flowGet company cash flow statement data.
symbol (string, required): Stock codesource (string, optional): Data source (default: 'sina')recent_n (number, optional): Number of most recent records to return (default: 10)get_inner_trade_dataGet company insider trading data.
symbol (string, required): Stock codeget_financial_metricsGet key financial metrics from the three major financial statements.
symbol (string, required): Stock coderecent_n (number, optional): Number of most recent records to return (default: 10)get_time_infoGet 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 behttp://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
uvInstall uv if you haven't already.
Add the following configuration to your MCP Client settings:
{
"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 to your MCP Client settings:
{
"mcpServers": {
"akshare-one-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/akshare-one-mcp",
"run",
"akshare-one-mcp"
]
}
}
}
The get_hist_data tool supports the following technical indicators:
com.mcparmory/google-sheets
domdomegg/google-sheets-mcp
henilcalagiya/google-sheets-mcp
cct15/war-dashboard-data
moooonad/mcp-google-sheets-full
io.github.br0ski777/csv-to-json