Medical Data Hub · MCP Server

Medical database MCP server — query it straight from Claude or Cursor

21 read-only MCP tools over our own pharmaceutical database. One URL, one API key, billed per call, every response capped at 32KB.

Read-only, per callResponses ≤ 32KBNo database to run
MCP endpointhttps://medicine.shanchuangkj.com/mcp/
X-API-Keymds-••••••••••••••••••••••••
Everything you need to wire it up: a URL and an X-API-Key header.

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: 50 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 call. Want a finished document, use the web app; want a data source, use this.

Who it is for

  • Investment and BD analystsAsk about a target's pipeline, a company's deal and financing history, without exporting spreadsheets first
  • Builders of medical AI appsAttach a real data source to your agent instead of procuring and maintaining a medical database
  • Clinical, regulatory and MSATIndication trees, trial phases and endpoints, conference abstracts
  • Anyone testing "model plus real data"The ¥9.9 trial card gives you 100 calls — enough to know whether it saves you a round of rework

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, 50 hard
limit=999 is clamped to 50 rather than erroring, 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
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 credits — 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

What you can query

9 capability domains, 21 billed tools. 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

Three steps

  1. 1Buy a cardOrder on Xianyu (闲鱼) and get an MDSC- card code.
  2. 2Redeem itPaste the code into the redemption form below and get your mds- API key. It is shown in full once.
  3. 3Configure the clientPut the URL and key 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.

Pricing

Three tiers, billed per successful tool call. Buy on Xianyu, redeem here.

Trial card
¥9.9
Valid
7 days
Per day
100 calls
Total
100 calls
100 calls in total, ends when used up (even before expiry)
Monthly card
¥99
Valid
30 days
Per day
500 calls
Total
Unlimited
500 calls per day, unlimited total within 30 days

Reference: one structured research report on our web app costs 150 credits (¥15); ¥9.9 here buys 100 database lookups. Different products — do not mix them.

Redeem a card

Enter an MDSC- card code to get your API key. Each code redeems once.

The code travels once, from this page to our endpoint. Nothing is stored in your browser.

Or call it yourself:
POST https://medicine.shanchuangkj.com/mcp/redeem
Content-Type: application/json

{"code": "MDSC-XXXX-XXXX-XXXX-XXXX"}

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 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 call.
How much data comes back per call? Will it eat my context?
List tools return 20 rows by default with a hard cap of 50, and no response exceeds 32KB; detail fields are truncated at 4000 characters. 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.
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?
Buy a card code on Xianyu, then redeem it in the form on this page to receive an mds- key. The key is displayed in full once; each card can only be redeemed once.
What happens when I run out of quota?
You get HTTP 429 with today's usage and the limit; the daily quota resets at 00:00 Beijing time. The trial card additionally has a 100-call total, after which you redeem a new card. Failed calls are not billed but 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 50 rows 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.
Give your model real data
Buy a card on Xianyu, redeem it here, paste it into your client.
Redeem a card