Medical Data Hub · MCP Server

Let your AI query the pharma database

21 read-only MCP tools over our pharmaceutical database for Claude and Cursor. 2,000 free rows on sign-up, billed per row, every response capped at 32KB.

2,000 free rows on sign-upPurchased rows never expireResponses ≤ 32KB
See coverage first
MCP endpointhttps://medicine.shanchuangkj.com/mcp/
X-API-Keymds-••••••••••••••••••••••••
Two things to wire it up: the endpoint URL and an X-API-Key header (create the key in the MCP console).
21
read-only tools
9
capability domains
32KB
per response
2000
free rows on sign-up

What this is

MCP (Model Context Protocol) is how an AI client calls external tools. Once it is connected, you ask Claude or Cursor "where does the PD-1 pipeline stand in China?" and the model actually queries the pharmaceutical database instead of answering from memory.

How you do it now
With the Medical Data Hub MCP
A general model answers from memory, no source
Every value comes from a query result, with record ids and source links
Buying, cleaning and hosting a medical database yourself
A URL and a key — we keep the data schema honest
Web search returns noise
Only structured medical data: drugs, targets, indications, trials, deals, financing, sales
One question burns unlimited context
Hard cap: 20 rows per page, 32KB per response — over that we refuse
How it differs from our web app

The web app takes one question in natural language and delivers a structured research report (150 credits, about ¥15). This interface hands the retrieval to your own agent — JSON rows, no report, billed per row actually returned. Want a finished document, use the web app; want a data source, use this.

Try the web app →

What you can query

9 capability domains, 21 billed tools. By dataset: drug database, clinical-trial database (China and global kept separate), drug targets and indications, BD deals, financing, patents and sales. Domain names match our web app; tool names match the server registry word for word.

药品与研发管线6 tools
药品标准库、研发阶段、原研单位、作用靶点、适应症
Drug names, type, China & global development stage, targets, indications, patent status & expiry
search_drugsget_drug_detailsearch_drugs_by_targetsearch_drugs_by_indicationsearch_patentsget_patent_detail
靶点与机制2 tools
靶点结构树、单靶点、成分类型、作用机制
Target tree: aliases, parent, children, linked drug count
search_targetsget_target_detail
适应症与疾病2 tools
适应症标准库、适应症树、疾病分类
Indication tree: CN/EN names, aliases, hierarchy, drug & trial counts
search_indicationsget_indication_detail
临床试验2 tools
临床试验详情库、招募人数、各期进展、疗效与安全性评价
China registry & ClinicalTrials.gov: phase, sponsor, enrollment, eligibility; status filtering uses the global registry enums
search_clinical_trialsget_clinical_trial_detail
公司与机构2 tools
公司标准库、母子公司结构、中外企性质、研发热度
Company registry: names, location, listing type, parent, plus pipeline/deal/financing counts
search_companiesget_company_detail
BD 交易2 tools
知识产权交易库:license-in/out、首付款、总金额、转让受让双方
BD deals: license-in/out, upfront, total value, milestones, both parties
search_dealsget_deal_detail
投融资2 tools
投资事件标准库、投资机构、募资端数据
Financing events & investors: round, amount, leads, focus stage & sectors
search_investmentssearch_investors
指南与文献2 tools
临床指南、专家共识、文献与证据检索(Agent 联网 + 库内证据)
Conference abstracts (ASCO / ESMO / SABCS): title, authors, abstract text, source link
search_meeting_reportsget_meeting_report_detail
药品销量与市场1 tools
药品销售额与逐年趋势(2016–2024)、医院与线上销售规模、适应症市场规模
Drug sales 2016–2024: hospital, online (JD / Tmall / Douyin) and drug-level totals
search_market_sales

Pricing

Billed per row actually returned. Every account has daily, weekly and monthly row caps (weekly and monthly are rolling windows that release day by day); both card and top-up consumption counts toward them. Top-up packs buy rows themselves with no expiry. Hold both — the batch expiring soonest is spent first. Sign-up includes 2,000 free rows.

Weekly card
¥39
Valid
7 days
Per day
5000 rows
Weekly / monthly cap
15,000 rows / week
5,000 rows per day · 15,000 rows per rolling week, valid 7 days
Trial card retiredThe old trial card is retired — new users get 2,000 free rows on sign-up (valid 7 days), then buy a weekly card, monthly card or top-up pack.

Reference: one structured research report on our web app costs 150 credits (¥15); a weekly card here is ¥39 for 7 days at 5,000 rows a day and 15,000 rows a week. Different products — do not mix them.

Top-up packs: buy rows, no expiry

Sign in and order on this page (WeChat QR). Rows live on your account, not on a key — a key is just a channel label; as long as the balance holds, every key keeps working.

3,000rows
¥9.9
≈ per row ¥0.0033
Never expires
8,000rows
¥19.9
≈ per row ¥0.0025
Never expires
25,000rows
¥49.9
≈ per row ¥0.0020
Never expires
125,000rows
¥199
≈ per row ¥0.0016
Never expires
2000 free rows on sign-up · valid 7 daysOpen the MCP console →
  • Purchased never expiresRows you paid for have no expiry date — they sit on the account until used.
  • Granted ones do expireThe 2,000 sign-up rows expire after 7 days and are spent first.
  • Expiring soonest firstDeduction takes the batch that expires soonest, so a granted batch is never blocked behind fresh purchases.
  • Consumption counts toward account capsTop-ups and subscriptions share one set of account caps: 5,000 rows per day, 15,000 per rolling 7 days, 40,000 per rolling 30 days. Purchased rows never expire, but how many rows one account can consume per day / week / month is capped — buying more does not raise it.
  • Failures are freeErrors, timeouts and rate-limited calls are not billed, and neither are calls that return 0 rows; a call that was charged and then fails is refunded to its own batch.
  • Many keys, one balanceIssue one key per channel (Cursor, Claude Desktop, your server). Revoking one leaves the others and the balance untouched.

Packs and plans are two separate lines: the plans above buy a high daily quota inside a validity window, packs buy rows themselves. Hold both — expiring rows are still spent first, and all consumption counts toward the account daily / weekly / monthly caps.

Three steps

1Sign in and buy rowsScan the WeChat QR to sign in, then order a weekly / monthly card or a top-up pack right on this page. Sign-up includes 2,000 free rows, so you can try before paying.
2Copy the setup paragraphYour row balance lives on your account. The console creates the key for you; one account can serve several clients, and every key copies a ready-to-paste setup for your agent.
3Configure the clientPut the endpoint URL and the X-API-Key header into your MCP config, restart, and 22 tools appear (1 free directory + 21 queries).
Cursor.cursor/mcp.json
Project .cursor/mcp.json or global ~/.cursor/mcp.json
{
  "mcpServers": {
    "medical-data": {
      "url": "https://medicine.shanchuangkj.com/mcp/",
      "headers": { "X-API-Key": "mds-你的Key" }
    }
  }
}
Claude Desktopclaude_desktop_config.json
Settings → Developer → Edit Config; the mcp-remote bridge works across versions
{
  "mcpServers": {
    "medical-data": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://medicine.shanchuangkj.com/mcp/",
               "--header", "X-API-Key:mds-你的Key"]
    }
  }
}
Claude CodeClaude Code
One command, into project .mcp.json or user scope
claude mcp add --transport http medical-data https://medicine.shanchuangkj.com/mcp/ \
  --header "X-API-Key:mds-你的Key"

Or skip the client and call JSON-RPC once yourself

This is literally what MCP puts on the wire: one POST, one JSON-RPC request.

POST https://medicine.shanchuangkj.com/mcp/
X-API-Key: mds-你的Key
Content-Type: application/json

{"jsonrpc":"2.0","id":1,"method":"tools/call",
 "params":{"name":"search_drugs","arguments":{"keyword":"奥希替尼","limit":5}}}
{
  "count": 5,
  "rows": [ { "id": 1058973, "name": "奥希替尼", "category": "化学药",
              "stage_china": "批准上市", "target": "EGFR(批准上市)" } ],
  "more": false,
  "truncated": false,
  "watermark": "©医药数据社"
}

Five keys, always: count / rows / more / truncated / watermark.

Responses are controlled

Your most expensive resource is context. These are not compliance boilerplate — each one is enforced in code and asserted by our build-time self-test.

Every response ≤ 32KB
Over the cap we return response_too_large and tell you to shrink limit or fields, never half a payload
20 rows by default, 20 hard
limit=999 is clamped to 20 rather than erroring; one search is capped at 1,000 rows (offset+limit), each account returns at most 5,000 rows per day, 15,000 rows per rolling 7 days and 40,000 rows per rolling 30 days (the free grant totals 2,000 rows), and "more" tells you honestly whether rows remain
Empty result = count: 0
A machine-readable empty structure, not an apologetic sentence that pollutes your context — and 0 rows are never billed
Read-only, filters required
No bulk export, no schema dump; a bare call with no condition is rejected before any SQL runs
Metadata is free
The list_capabilities directory costs no rows — call it first to get the full catalogue
Watermark in every reply
Each payload carries a fixed watermark field so data can be traced back to us

Who it is for

Investment and BD analysts
Ask about a target's pipeline, a company's deal and financing history, without exporting spreadsheets first
Builders of medical AI apps
Attach a real data source to your agent instead of procuring and maintaining a medical database
Clinical, regulatory and MSAT
Indication trees, trial phases and endpoints, conference abstracts
Anyone testing "model plus real data"
The 2,000 free rows on sign-up are enough for a round of real questions, before you pay anything

What we cannot query

Stated up front so you do not spend money finding out. These three are not in the database and have no tool.

Not availableWhyQuery this instead
线下连锁药店动销销售数据覆盖医院与线上电商(京东 / 天猫 / 抖音),不含线下药店动销明细可改查该药的医院与线上销售额、逐年趋势与主要竞品对比
股价 / 财报 / 市值医学库不包含证券行情与财务报表数据可改查公司管线与研发阶段、BD 交易金额、投融资轮次
药品价格 / 医保支付标准医学库不包含药品价格与医保支付数据可改查该药的适应症与竞品格局

FAQ

How do I buy rows? Do I need a card code?
No card code needed. Scan the WeChat QR to sign in, then order on this page or in the MCP console: a weekly card (¥39 / 7 days), a monthly card (¥99 / 30 days), or a top-up pack. Sign-up also includes 2,000 free rows valid 7 days. Rows live on your account, not on a key, and every key shares the same balance.
How is the MCP interface different from your web app?
The web app takes a natural-language question and returns a structured research report, costing 150 credits. This interface exposes the database as 21 read-only MCP tools for your own AI client: JSON rows, no report, billed per row actually returned.
How much data comes back per call? Will it eat my context?
List tools return 20 rows by default with a hard cap of 20; one search is capped at 1,000 rows (offset + limit), each account receives at most 5,000 rows per day, 15,000 rows per rolling 7 days and 40,000 rows per rolling 30 days (the free grant totals 2,000 rows), and no response exceeds 32KB; detail fields are truncated at 4000 characters. Billing follows the rows actually returned, so 0 rows cost nothing; past the size cap you get response_too_large plus a hint to reduce limit or fields — never a truncated half payload presented as success.
Why switch to per-row billing?
One call can return very different amounts of data: a search may return 20 rows while a detail call returns one record plus its parent chain, children and linked drugs, each counted. Per-call billing charged "carefully reading one detail" the same as "pulling a list"; per-row billing charges one unit price per record, and returning 0 rows costs nothing.
Which clients are supported?
Anything that speaks remote MCP over Streamable HTTP, including Claude Desktop, Claude Code and Cursor. You need exactly two things: the endpoint URL and an X-API-Key header.
How do I get an API key?
Sign in and open the MCP console, then click “Copy this paragraph (full key included)” — if you have no key yet one is created automatically (mds-…). A key only labels a channel, it carries no quota of its own. Rows sit on your account balance and every key shares it. To recognise or revoke a key, use “Row details” in the console.
What happens when I run out of quota?
When the top-up balance hits zero you get HTTP 402 with the link to buy more; when a row cap is hit you get HTTP 429: the 5,000 rows per day reset at 00:00 Beijing time, while the 15,000 rows per rolling 7 days and 40,000 rows per rolling 30 days release day by day. The 429 body carries used / limit and a recovery hint, and every successful call returns the live three-tier quota too. Rows you paid for never expire, but one account's daily / weekly / monthly caps are not raised by buying more. Failed calls — bad parameters included — are refunded automatically, and calls returning 0 rows are never billed; both are logged.
Can someone dump the whole database?
No. Our database account is read-only, there is no bulk-export or schema-export tool, list tools require a filter (bare calls are rejected), a page holds at most 20 rows, one search is capped at 1,000 rows, each account receives at most 5,000 rows a day, 15,000 per rolling 7 days and 40,000 per rolling 30 days, and a response at most 32KB.
Where does the data come from?
Our own pharmaceutical database: 76K drug records, 480K global clinical trials, 26K China trials, 450K conference abstracts, 18K financing events, 25K investors, 4K BD deals, 27K drug patents, and drug sales across three tables from 2016 to 2024. The interface only reads; it never writes.
Can I query both China and global clinical trials?
Yes, the two datasets are separate: 26K China trials and 480K global trials. search_clinical_trials takes a source parameter to pick the China or global database and returns phase, enrollment, endpoints and efficacy/safety fields; use get_clinical_trial_detail for a single trial.
How do I look up a target pipeline inside Claude Code?
Once connected, just ask in natural language, for example "Which EGFR drugs are in development in China, and what phase is each at?" The client calls search_drugs_by_target for the pipeline and search_clinical_trials for trial phases, then writes the returned rows into its answer. No SQL and no export step.
How is this different from a literature database?
General literature indexes are built for papers and do not expose structured pipeline, licensing-deal, financing or sales fields. This MCP server returns structured JSON rows for those domains. Our literature coverage is limited to 450K medical conference abstracts, without paper full text; keep using a literature index for papers.
What does a medical MCP server mean?
MCP (Model Context Protocol) is the protocol AI clients use to call external tools. A medical MCP server connects that protocol to pharmaceutical data, so Claude or Cursor queries drugs, targets and clinical trials over one HTTP request instead of relying on model memory. This endpoint exposes 21 read-only tools and bills per row.
Which MCP server should I use for pharma data in Cursor?
Cursor's MCP catalog covers file, database and search servers; for pharma data pick by the fields you need. For drugs, targets, clinical trials, BD deals, financing and sales, this endpoint provides 21 read-only tools, added to your Cursor config with the endpoint URL and an X-API-Key header. For paper abstracts, a literature server fits better.
Sign in, buy rows, paste one paragraph
Scan the WeChat QR to sign in, pick a weekly / monthly card or a top-up pack, then click “Copy this paragraph (full key included)” in the MCP console and send it to your agent — the key is created for you.
Open the MCP console

Page updated 2026-11-12 · pricing and tool list generated from the live registry