Skip to content
MCP server

A股数据 API (A-Share Data API)

China A-share market data over MCP: quotes, order book, K-lines, financials, fund flows

Install
Pricing
Freemium
Platforms
Web, API, CLI
Runs
Remotely
Version
2026.10.8
Listing updated
today

About A股数据 API (A-Share Data API)

A股数据 API (A-Share Data API) is a freemium MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

The service is built around mainland China's A-share market, with symbols written as a lowercase market prefix plus code, such as sh600519 for Shanghai, sz for Shenzhen and bj for Beijing. Its site counts 102 endpoints covering real-time quotes, five-level order book, daily to minute K-lines with ten years of history, financial statements, shareholder data, money flow, the dragon-tiger list, sector valuation, macro series and convertible bonds. Higher plans add a factor library of 87 factors, 29 strategies, backtesting and some Hong Kong and US data.

Seven free endpoints work without a key, at 5 requests a minute anonymously. Paid keys come as one-off call packs (stated as 9.9, 29.9 and 99 yuan tiers) or as an institutional subscription, and the site says there is no registration. It also says requests are served from 70 sources that back each other up, and that it provides data and support only, not investment advice.

The page is in Chinese. There are official Python and Node.js SDKs, and the registry entry advertises 31 tools for MCP clients.

Install

Run in a terminal

claude mcp add --transport http ashare-data-api https://api.ashareapi.com/mcp

Add to Settings → Connectors → Add custom connector

https://api.ashareapi.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "ashare-data-api": {
      "url": "https://api.ashareapi.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "ashare-data-api": {
      "type": "http",
      "url": "https://api.ashareapi.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "ashare-data-api": {
      "serverUrl": "https://api.ashareapi.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "ashare-data-api": {
      "type": "http",
      "url": "https://api.ashareapi.com/mcp"
    }
  }
}

What it does

Market data coverage
Quotes, order book, K-lines, financial statements, shareholders and money flow for A-shares.
Free keyless endpoints
Seven endpoints can be called without a key, rate limited for anonymous users.
Quant toolkit
A factor library, strategy list, methodology notes and backtesting on higher tiers.
Source failover
The site says 70 sources back each other up.
SDKs
Official Python and Node.js packages return data frames or object arrays.
Account and IP controls
Institutional keys can be locked to a list of IP addresses.

Good for

  • Let an agent look up an A-share price or order book
  • Pull financial statements and fund-flow data for stock research
  • Backtest a strategy with commission and stamp-duty costs included
  • Rank convertible bonds or screen stocks by factors

Pricing

Freemium

Free keyless endpoints; paid tiers from 9.9 yuan (prices in CNY)

Prices change. Check ashareapi.com before you buy.

A股数据 API (A-Share Data API) FAQ

Do I need to register?

No. The site says free endpoints need no key and paid keys are issued after payment without registration.

What symbol format is required?

A lowercase market prefix plus code, such as sh600519; other spellings return empty data.

Is it investment advice?

No, the site states it provides settlement and technical support only.

How is payment structured?

One-off call packs that do not expire until used, or monthly subscriptions for heavy use; prices are in yuan.

Is A股数据 API (A-Share Data API) free?

A股数据 API (A-Share Data API) has a free plan, with paid plans for more usage or features.

How do I add A股数据 API (A-Share Data API) to Claude Code?

Run this command in your terminal: claude mcp add --transport http ashare-data-api https://api.ashareapi.com/mcp

What are the best alternatives to A股数据 API (A-Share Data API)?

The closest alternatives to A股数据 API (A-Share Data API) are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP and World Monitor.

Alternatives to A股数据 API (A-Share Data API)

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  3. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  4. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  5. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  6. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments