AkShare
$0.01/call
Chinese and global financial market data and analysis
Connect AkShare tools
Cursor
Claude Code
Claude Desktop
Windsurf
VS Code
Cline
Roo Code
ChatGPT
Gemini CLI
Amazon Q
Goose
Augment
n8n
API / cURL
AI SDK
TypeScript SDK
{
"mcpServers": {
"akshare": {
"url": "https://akshare.mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}Or connect all tools
Access all tools (including AkShare) through a single MCP connection.
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}Agent Discovery
Machine-readable catalogs for LLM agents and automation.
curl https://xpay.tools/llms.txt
curl https://xpay.tools/agents.txt
curl https://xpay.tools/skill.md
Pricing
Pay per tool call. No subscriptions.
9 AkShare tools availableAbout AkShare
AKShare on xpay — open Chinese & global market data without a Python install
AKShare is the most comprehensive open-source financial data library for Chinese (A-share, HK, futures, funds) and major global markets — but using it normally means installing the Python package, managing source-specific quirks, and self-hosting an API layer. xpay wraps AKShare as MCP tools so any agent or app can pull the same data over HTTP, per call, with no install.
What you can pull
- A-share equities — real-time and historical OHLCV, fundamentals, financial statements, shareholder data, dividends, splits.
- Futures & options — domestic exchange data (DCE, SHFE, ZCE, CFFEX), positions, settlement prices, basis.
- Funds — public fund NAV, holdings, manager profiles, flows.
- Macro — China macro indicators (CPI, PPI, M0/M1/M2, GDP, PMI), global macro proxies, FX rates.
- Index & ETF — CSI/SSE/SZSE indices, sector indices, ETF NAV histories.
- Hong Kong & US equities — quotes, fundamentals, listing rosters.
- Crypto — price snapshots from major aggregators.
When AKShare is the right tool
- You need A-share or Chinese-domestic market data and don't have a Wind/Choice subscription.
- You want fundamentals + price + macro in one library without stitching together five vendors.
- You want agents to pull data autonomously — chat to data without writing scrapers.
When something else fits better
- For US-only equities with deep institutional data (CIK, 13F, transcripts), the Financial Datasets or FMP providers on xpay are richer.
- For real-time websocket-grade ticks, AKShare's snapshots aren't suitable — use a market-data vendor.
Pricing
Most AKShare tools on xpay are $0.01–$0.05 per call. You're paying for managed access to a library that would otherwise require maintaining a Python service, source-specific scrapers, and rate-limit handling.
Why not just pip install akshare?
If you're a quant team already running Python, do that. xpay's value is when:
- Your agent runs in an MCP client (Claude Code, Cursor, Windsurf) and you want it to pull market data on demand without you writing tool wrappers.
- You're building in JS/TS, Go, or Rust and don't want a Python sidecar.
- You want predictable per-call cost for a low-volume use case.
- You want one auth + one bill across AKShare, Alpha Vantage, FMP, Polymarket, and other data providers on xpay.
Frequently Asked Questions
AKShare is an open-source Python library that aggregates Chinese and global financial data — A-share equities, futures, funds, macro indicators, indices, FX, and crypto — from public sources. It is widely used in quant research and academic work. xpay exposes AKShare as MCP-callable tools so any AI agent can pull the same data per call.
AKShare tools on xpay are priced from $0.01 to $0.05 per call depending on data complexity. There is no subscription. New accounts get $5 in free credits — enough to pull thousands of data points before paying anything.
No. xpay runs AKShare server-side. You call tools over MCP from any client (Claude Code, Cursor, VS Code, Windsurf, Cline) or via raw HTTP. No Python install, no source-specific scrapers, no rate-limit code on your side.
AKShare covers A-share equities (real-time and historical OHLCV, fundamentals, financial statements, shareholder data, dividends, splits), domestic futures (DCE, SHFE, ZCE, CFFEX), public funds (NAV, holdings, flows), macro indicators (CPI, PPI, GDP, PMI, money supply), and major Chinese indices (CSI, SSE, SZSE, sector indices).
No — AKShare aggregates public sources that publish snapshot prices, not raw exchange tick streams. For sub-second market data you would need a direct exchange feed or a paid market-data vendor.
AKShare itself is MIT-licensed. The data it aggregates comes from public sources, each with its own terms. For high-frequency or commercial redistribution, check the original source license. xpay does not sublicense the underlying data.

