> Source: https://ashareapi.com/en/docs/guides/duet-mcp/  ·  Markdown version for LLMs / AI agents

Guide

# A-Share Data in Duet
 Duet is Claude’s always-on agent. It inherits the user’s own Claude connectors; add a custom connector in Claude first, then Duet can query A-share data.

## Duet has no separate MCP settings
 There is no standalone MCP configuration inside Duet. Add a custom connector in **Claude** first, then let Duet use connectors on that Claude account.

-
 URL: `https://api.ashareapi.com/mcp`

-
 Auth: `Authorization: Bearer `

-
 Transport: Streamable HTTP

-
 Duet does not store its own MCP config

## Before you start

-
 The user’s own Claude plan with Duet access (Pro/Max, research-preview region)

-
 An ashareapi API key; use a separate read-only key

-
 Verify the key: `GET /v1/quote?code=sh600519`

## Add a custom connector in Claude

-
 Open Claude → **Settings → Connectors**

-
 Click **Add custom connector**

-
 Enter `https://api.ashareapi.com/mcp`

-
 Set `Authorization: Bearer `, or complete the auth flow shown

-
 Save and confirm the connector is enabled

 Claude custom connectors may use OAuth. If the page cannot set a header, use `?key=` as a fallback; prefer headers in production.

## Use it from Duet
 Open Duet, confirm it inherited the connector from Claude, then ask.

 Ask inside Duet
```
Get the latest quote for sh600519

Get 600519 revenue for 2026Q3

Show the last 30 daily K-lines for 600519
```

## No tools or 401
 |
| | Symptom | Check first | Fix

| | 401 | Bearer missing in Claude | Reset auth; use `?key=` only as fallback

| | Duet missing connector | Not enabled in Claude | Enable in Claude, reopen Duet

| | No custom connector entry | Plan/region restriction | Confirm Pro/Max and Duet preview access

| | Timeout | Result too large | Lower `count` / `limit` / `num`, then batch

| | Connection fails | URL/trailing slash | Try `https://api.ashareapi.com/mcp/`

 401
 Bearer missing in Claude
 Reset auth; use `?key=` only as fallback

 Duet missing connector
 Not enabled in Claude
 Enable in Claude, reopen Duet

 No custom connector entry
 Plan/region restriction
 Confirm Pro/Max and Duet preview access

 Timeout
 Result too large
 Lower `count` / `limit` / `num`, then batch

 Connection fails
 URL/trailing slash
 Try `https://api.ashareapi.com/mcp/`

## Which tier: upgrade by workload
 Quotes and K-lines can start on the base allowance; financials, batch calls, screening and research need a higher tier. See the [full pricing page](/en/pricing).
 |
| | Tier | Price | Quota | Best for Duet

| | Trial | **¥9.9 one-time** | 10k calls · 30 req/min · 24 endpoints | Financials, dividends, sectors; light research

| | Standard | **¥29.9 one-time** | 100k calls · 120 req/min · 46 endpoints | Daily research, notices, fund flow and more

| | Pro | **¥99 one-time** | 500k calls · 300 req/min · 80 endpoints | Screening, batch financials, agent research

| | Institutional | **¥199/month** | 100k/day · 600 req/min · 96 endpoints | Teams, multiple IPs, institutional research

 Trial
 **¥9.9 one-time**
 10k calls · 30 req/min · 24 endpoints
 Financials, dividends, sectors; light research

 Standard
 **¥29.9 one-time**
 100k calls · 120 req/min · 46 endpoints
 Daily research, notices, fund flow and more

 Pro
 **¥99 one-time**
 500k calls · 300 req/min · 80 endpoints
 Screening, batch financials, agent research

 Institutional
 **¥199/month**
 100k/day · 600 req/min · 96 endpoints
 Teams, multiple IPs, institutional research

 [¥9.9 Trial](/en/pricing/trial) · [¥29.9 Standard](/en/pricing/standard) · [¥99 Pro](/en/pricing/pro) · [Institutional](/en/pricing/unlimited) · [Full pricing](/en/pricing)

## Boundaries

-
 ✅ Read-only data lookup and research summaries

-
 ⛔ No automated trading, brokerage connection or return promises

-
 ⛔ Not investment advice; explain numbers by API date and definition

-
 ⛔ No stale close presented as a live quote

## FAQ
 Can Duet configure MCP by itself?
 No. Duet uses connectors on the user’s Claude account; add the custom connector in Claude first.

 Does the developer need a Claude subscription?
 No. The developer only provides the MCP endpoint; users bring their own Claude account.

 Bearer or Query Key?
 Prefer a Bearer header in the Claude connector. Use `?key=` only when the client cannot set headers.

 Why is Duet missing?
 Duet is a Claude Pro/Max research preview with regional and waitlist limits; confirm account eligibility.

 Last updated: 2026-10-31
 Duet connector inheritance follows Anthropic’s Claude Duet announcement and Claude Connectors docs, checked on 2026-10-31; MCP URL and Bearer auth follow the live ashareapi endpoint.

 Related

-
[A-Share Data in Today](/en/docs/guides/today-mcp)

-
[A-Share Data in Muse](/en/docs/guides/muse-mcp)

-
[A-Share Data in Dots](/en/docs/guides/dots-mcp)

-
[MCP overview](/en/mcp)

 [← All tutorials](/en/docs/guides)
