Double 11 annual ¥1,699/yrView
China platform guide

MCP on China agent platforms

One URL: https://api.ashareapi.com/mcp — paste it into the platform MCP or plugin settings. Free tools (quote / K-line / hot list / market overview / breadth) need no key.

Verify in 30 seconds

Once configured, just ask — the agent fetches real data instead of guessing:

  • What is the price of 太极实业 (600667) right now?
  • Which sectors gained the most in the last 5 sessions?
  • What did institutions buy on the top-trader boards today?

What to fill in

Server URL
https://api.ashareapi.com/mcp
Fixed — same on every platform
Transport
streamable-http
Sometimes labelled Streamable HTTP / HTTP
Header (optional)
Authorization: Bearer <your key>
Free tools need none; paid tools do
Name
ashareapi
Anything you like — for your own reference

Where to put it

Wording differs per platform, but it is always: find the MCP / plugin / connector entry → paste the URL → save, then attach it to an agent. The nine below were checked by reading each platform’s official docs (2026-09-21; Doubao 2026-10-12; Qoder / Trae / WorkBuddy 2026-10-29); platforms whose docs we could not read (e.g. Tencent Yuanbao) are deliberately not listed. Other local clients (Cursor, Claude Code, CodeBuddy…) use the same shape and are not repeated here — see the client list on the MCP page.

Doubao WorkFull guide →

Left sidebar Plugins · Skills · Partners → + Add (top right of the Plugins page) → New custom plugin → transport HTTP, server URL https://api.ashareapi.com/mcp; under Custom Headers click + to add one (name Authorization, value Bearer — omit for free tools only) → after saving, type / or @ in a task to search for ashareapi. ⚠️ If it first reports a failure, open the plugin list and click Restart

https://www.doubao.com/work/docs/zh-cn/articles/705018132598-plugins
Alibaba Cloud Bailian

Console → MCP management → Create MCP service → install method http (connect an existing remote MCP server) → paste the URL. ⚠️ The docs do not mention custom request headers → free tools work; for paid tools use a client from the header-capable row below

https://help.aliyun.com/zh/model-studio/custom-mcp
Coze

Extensions → MCP → “Add custom MCP” (top right) → paste JSON ({"mcpServers":{"ashareapi":{"url":"https://api.ashareapi.com/mcp"}}}) → then attach it to an agent. Streamable HTTP / SSE supported (no stdio)

https://docs.coze.cn/mcp
Tencent Yuanqi

Integrate MCP plugin → fill name / description / URL (JSON also accepted) → use it in Multi-Agent mode or workflow plugin nodes

https://yuanqi.tencent.com/guide/plugin-market-integrate-mcp-plugin
Tencent Cloud Agent Platform

Plugin square → custom plugin → new plugin → based on MCP → type sse / streamableHttp + online URL; custom Header is available under advanced settings (put the Authorization header there to use paid tools)

https://www.tencentcloud.com/document/product/1254/73341?lang=zh
Volcengine Ark

In the Responses API, add a tool entry: type mcp → set server_url to our endpoint and put Authorization: Bearer <your key> in headers (arbitrary headers are supported — the official example points at a third-party public MCP and passes an Authorization header) → the tool runs in the cloud, Streamable HTTP only. ⚠️ MCP works on the Responses API only (not chat/completions); during the beta, send the header ark-beta-mcp: true

https://www.volcengine.com/docs/82379/1827534

Avatar (top right) → Personal settings → MCP services → + → add manually (SSE) with name and server URL. To send a key, edit ~/.qoder-cn/mcp.json and put Authorization in headers — headers are forwarded as-is and the config reconnects automatically. Switch the chat to Agent mode.

https://help.aliyun.com/zh/lingma/user-guide/guide-for-using-mcp

Settings → MCP → Add → Add manually → paste JSON (url + headers; the official HTTP config already includes a headers field) → confirm. For project-level config, create .trae/mcp.json and enable Project-level MCP in Settings → MCP.

https://docs.trae.cn/ide/model-context-protocol

Experts · Skills · Connectors (left) → Connectors → Custom connector (top right) → Add MCP → paste JSON (including headers) → save, then click Trust on ashareapi in the connector list.

https://www.workbuddy.cn/

Which platforms can carry a key (custom header)

✅ Custom header supported

Doubao Work (custom headers) · Tencent Cloud Agent Platform (advanced settings) · Tencent Yuanqi (JSON) · Volcengine Ark (headers in the Responses API) · WorkBuddy / CodeBuddy (config file) · Claude Code / Cursor / Codex and more

⚠️ Not documented

Alibaba Cloud Bailian (http mode) · Coze (custom MCP JSON) — free tools work fine; for paid tools use the row above

Two notes
  • The free quota is counted per calling source (anonymous 5/min — 250 bars per request, 100k rows per day; up to 15/min after solving one PoW challenge). Many users behind one egress IP on a platform hit the limit quickly.
  • The tool list is synced when you save the config — after we add tools, re-save or refresh to see them.

FAQ

Can I use it without a key?

Yes. Free tools (quote / K-line / hot list / market overview / breadth / doc search) need no key; the other 84 tools (order book, full quote profile, intraday, financials, money flow, top-trader boards, sector valuation, macro, convertible bonds, factor screening, quant backtests…) require one.

How is the free quota counted?

Per anonymous calling source: 5/min (250 bars per request, 100k rows per day), up to 15/min after solving one PoW challenge. Shared egress IPs hit it fast — a key is recommended.

Which platforms work?

Any platform that supports remote MCP with custom request headers: Doubao Work, Tencent Cloud Agent Platform, Tencent Yuanqi, Volcengine Ark (Responses API), WorkBuddy / CodeBuddy, Claude Code, Cursor, Codex and more. Alibaba Cloud Bailian and Coze can connect too, but their docs do not document custom headers — free tools only there.

The agent says it cannot fetch data.

① Check the URL is https://api.ashareapi.com/mcp ② if you see a rate-limit message, add a key ③ codes need a market prefix (sh600667 / sz000001 / hk00700).

No key yet?

Try the free tools without one; buy a key when you want all 90.