> Source: https://ashareapi.com/en/dsh/  ·  Markdown version for LLMs / AI agents

AI-native

# Use A-share data inside DeepSeek Harness
 Install one plugin and your DeepSeek Harness can look up quotes, K-lines, financials, money flow and top-trader boards — ask a question, get real data, not a guess.

 How it works, in one sentence
 The plugin does one thing: connect DeepSeek Harness to our data service (one URL). Transport, tool registration and reconnects are handled by the MCP client that ships with DSH.**The plugin holds no data logic of its own**

## Install
 1 Desktop / Web UI (recommended)
 Open the “Plugins” page in the sidebar and enter the package name:
```
ashareapi-dsh-plugin
``` Restart and it works — no command line, no config files to edit.

 2 Command line
```
npx @deepseek-ai/dsh plugin --profile web add ashareapi-dsh-plugin
``` If you already have `dsh` installed globally, replace `npx @deepseek-ai/dsh` with `dsh`. Both the CLI and the Web UI call your local **pnpm** (DSH does not bundle it; the desktop app ships its own) — install it first with `npm i -g pnpm` if needed.
 ⚠️ The desktop profile is managed by the desktop app and **cannot be installed from the command line** — use the “Plugins” page there.

## Need the paid tools? Add a key
 These **5 free tools** work with no key at all: quote snapshot / K-line / hot list / market overview / breadth. For financials, money flow, top-trader boards or factor screening, add a key (from ¥9.9 — all 24 tools unlocked).

### Where the key goes
 Desktop / Web UI
 `apiKey` in the plugin settings

 Command line
 `config.apiKey` under this entry in your profile’s `cordis.patch.yml`

 Or
 set the environment variable `ASHAREAPI_KEY`

## Once installed, just ask

-
 How much is 600667 right now?

-
 Pull the last 60 daily candles for 600667

-
 What is the market doing today?

-
 How is the money flow on 太极实业 (600667) today?

-
 Find me stocks with PE under 20 and ROE above 15

-
 What did institutions buy on the top-trader boards today?

## What data it can reach
 The AI calls these itself when needed. You never have to remember the tool names — just ask. ✅ = no key required.
 Quotes (free)

-
 ✅ real-time quote snapshot

-
 ✅ daily / weekly / monthly K-lines (adjusted)

-
 ✅ hot attention list

-
 ✅ market overview

-
 ✅ advance-decline breadth

 Per-stock depth

-
 five-level order book

-
 full profile (valuation / cap / shares / limit price)

 Fundamentals

-
 three financial statements

-
 technical indicators MA / MACD / KDJ / RSI / BOLL

-
 shareholder research

-
 dividends

-
 event tags (42 types)

 Money

-
 money flow + top-trader boards + block trades + margin

-
 top-trader board split

 Sectors & macro

-
 sector performance

-
 sector valuation (with history percentile)

-
 macro indicators

-
 factor screening (22 presets)

-
 convertible bonds

 More

-
 ETF data

-
 IPO calendar

-
 research digests

-
 stock search

-
 usage

 Versus writing the API integration yourself
 The classic route makes you build the integration: install an SDK, handle auth, write retries. With this plugin that work goes to the AI — you just describe what you want.**For research-with-AI workflows, that is far less work than writing code.**

 No key yet?
 Free tools (quote / K-line / hot / market overview / breadth) need no key; the rest need one (from ¥9.9).
 [npm package →](https://www.npmjs.com/package/ashareapi-dsh-plugin) · [GitHub source →](https://github.com/ashareapi/ashareapi-dsh-plugin)

 [MCP is also supported](/en/mcp)[Get a Key](/en/pricing)
