AKShare Financial MCP
v1.0.0Local MCP service running via uvx to access financial market data through 46 structured tools — from candlestick history to macro indicators, with unified symbol format, standardized output, built-in caching and rate limiting.
§ Quickstart
Add the following to your MCP client configuration (Cursor, Claude Desktop, etc.):
Settings (top right) → Cursor Settings → Features → MCP → Add New MCP Server. Set to command, type uvx, optional env vars.
MCP Client Configuration
{
"mcpServers": {
"mcp-akshare": {
"command": "uvx",
"args": [
"agentladle-mcp-akshare"
]
}
}
}Config file locations
- Please ensure Python uv tool is installed.
§ Tools Reference
6 tools
get_candlesticks
Get candlestick (OHLCV) data for any asset class
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | ✓ | 标的代码 (如 000001.SZ) |
| period | string | — | 周期 (如 day, week, 5m) |
| count | number | — | 返回条数 |
get_quote
Get latest quote snapshot for symbols
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbols | string[] | ✓ | 标的代码列表 |
get_financial_statement
Get company financial statements (BS, IS, CF)
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | ✓ | 股票代码 |
| kind | string | ✓ | 报表类型 (IS/BS/CF/ALL) |
| count | number | — | 返回期数 |
get_market_summary
Get market overall sentiment and volume summary
| Parameter | Type | Required | Description |
|---|---|---|---|
| market | string | ✓ | 市场 (如 CN, HK) |
get_news
Get latest news related to the symbol
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | ✓ | 股票代码 |
| count | number | — | 返回条数 |
get_capital_flow
Get main capital flow data for a stock
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | ✓ | 股票代码 |
§ Examples
Once configured, you can ask the AI directly:
Fundamental Analysis Workflow
Analyze the fundamentals and valuation level of Ping An Bank.
Call get_company for profile, get_financial_metrics for core metrics (e.g. ROE), and get_valuation for current PE/PB.
Market Sentiment Observation
How is the A-share market performing today? What are the characteristics of limit-up stocks?
Use get_market_summary for overall market breadth and volume, combined with get_limit_up_pool to analyze limit-up stocks and sectors.
US Stock Quotes and Historical Trends
How is Apple's stock price trending over the last 30 days?
Call get_candlesticks(symbol="AAPL.US", period="day", count=30) to extract OHLCV daily data.
LadleAgent