MedicineData MCP
Chinese pharma database MCP: 21 tools for drugs, targets, trials, deals, patents, sales.
我該用這個嗎
品質與安全性
發現項目(16)
- HIGH
- MEDIUM在 search_clinical_trials 中
- LOW在 list_capabilities 中
- LOW在 get_drug_detail 中
- LOW在 search_drugs_by_indication 中
- LOW在 search_indications 中
- LOW在 get_indication_detail 中
- LOW在 get_clinical_trial_detail 中
- LOW在 search_companies 中
- LOW在 search_deals 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"medicine-data": {
"url": "https://medicine.shanchuangkj.com/mcp/"
}
}
}遠端端點
https://medicine.shanchuangkj.com/mcp/streamable-http它能做什麼
工具清單
工具(22)
🟢list_capabilities
列出本 MCP 的全部工具、能力域、限额与套餐。不计费,接入后第一件事就是调它。
輸入結構描述
{
"type": "object",
"properties": {},
"required": []
}🟢search_drugs(keyword, category, stage_global, stage_china, company, ...)
按药名/英文名/别名、药物类型、全球或国内研发阶段、企业检索药品(rs_medical,7.6 万行)。阶段枚举:临床前/临床I期/临床I/II期/临床II期/临床II/III期/临床III期/批准临床/申请临床/申请上市/批准上市/暂无进度/(非积极)/(已撤市)。返回摘要列,完整记录走 get_drug_detail。
輸入結構描述
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "药名或英文名,模糊匹配"
},
"category": {
"type": "string",
"description": "化药 / 生物药 / 中药/天然产物 / 其他"
},
"stage_global": {
"type": "string",
"description": "全球阶段,精确匹配枚举值"
},
"stage_china": {
"type": "string",
"description": "国内阶段,精确匹配枚举值"
},
"company": {
"type": "string",
"description": "企业名,模糊"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": []
}🟢get_drug_detail(drug_id)
按 drug_id 取单条药品完整记录(适应症编码串、靶点、批准日期、研发企业、链接等)。
輸入結構描述
{
"type": "object",
"properties": {
"drug_id": {
"type": [
"string",
"integer"
],
"description": "search_drugs 返回的 id"
}
},
"required": [
"drug_id"
]
}🟢search_drugs_by_target(target, fields, limit, offset)
按靶点找在研/上市药品(命中 rs_medical.target,形如 ADRB(批准上市);GR(批准上市))。
輸入結構描述
{
"type": "object",
"properties": {
"target": {
"type": "string",
"description": "靶点名,如 PD-1 / KRAS G12C"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": [
"target"
]
}🟢search_drugs_by_indication(indication, stage, fields, limit, offset)
按适应症找药品(命中 rs_medical.indication,编码串 阶段|适应症名|适应症id)。返回额外给 indication_matched:已按关键词筛好的 阶段/适应症名/id。
輸入結構描述
{
"type": "object",
"properties": {
"indication": {
"type": "string",
"description": "适应症名,如 肺癌 / 特发性肺纤维化"
},
"stage": {
"type": "string",
"description": "可选,限定研发阶段(如 临床III期 / 批准上市)"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": [
"indication"
]
}🟢search_targets(keyword, fields, limit, offset)
检索靶点树(rs_target,9.5k 行):靶点名、别名、父节点。
輸入結構描述
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "靶点名或别名"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": [
"keyword"
]
}🟢get_target_detail(target_id)
按 target_id 取靶点:上级链 ancestors + 子靶点 children + 关联药品数 drug_count。
輸入結構描述
{
"type": "object",
"properties": {
"target_id": {
"type": [
"string",
"integer"
],
"description": "search_targets 返回的 id"
}
},
"required": [
"target_id"
]
}🟢search_indications(keyword, fields, limit, offset)
检索适应症树(rs_indication,8.7k 行):中英文名、别名、父节点/根节点。
輸入結構描述
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "适应症中/英文名"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": [
"keyword"
]
}🟢get_indication_detail(indication_id)
按 indication_id 取适应症:上级链 + 子节点 + 药品数 + 试验数。
輸入結構描述
{
"type": "object",
"properties": {
"indication_id": {
"type": [
"string",
"integer"
],
"description": "search_indications 返回的 id"
}
},
"required": [
"indication_id"
]
}🟢search_clinical_trials(keyword, phase, status, company, source, ...)
检索临床试验。source=cn 中文库(2.6 万条,phase 取 std_phase 中文枚举,可按 keyword/phase/company 筛;该库 status 列实测恒为 1、无状态语义,返回 null);source=global 全球库 ClinicalTrials.gov(48 万条,status 为英文枚举 RECRUITING / COMPLETED / TERMINATED 等原值,另有少量中文值如「已完成」可用模糊词命中)。两个来源返回同一套字段名:trial_no/title/drug/target/indication/phase/status/sponsor。
輸入結構描述
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "试验标题/药物/靶点/适应症"
},
"phase": {
"type": "string",
"description": "分期,如 III期 / Phase 3"
},
"status": {
"type": "string",
"description": "状态,仅 source=global;给英文枚举原值按精确匹配,给中文词按模糊匹配"
},
"company": {
"type": "string",
"description": "申办方/企业"
},
"source": {
"type": "string",
"description": "cn 或 global,默认 cn"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": []
}🟢get_clinical_trial_detail(trial_id, source)
按 trial_id + source 取试验详情。中文库给入组人数/评价指标/AI 摘要;全球库给入排标准与结局指标(长文按 4000 字截断)。
輸入結構描述
{
"type": "object",
"properties": {
"trial_id": {
"type": [
"string",
"integer"
],
"description": "search_clinical_trials 返回的 id"
},
"source": {
"type": "string",
"description": "cn 或 global,默认 cn"
}
},
"required": [
"trial_id"
]
}🟢search_companies(keyword, country, fields, limit, offset)
检索公司与机构(rs_company,5.1 万行):中英文名、注册地、上市类型、母公司。
輸入結構描述
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "公司名"
},
"country": {
"type": "string",
"description": "注册地,前缀匹配(库内形如 中国内地-上海 / 上海市 > 浦东新区)"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": []
}🟢get_company_detail(company_id)
按 company_id 取公司详情 + 关联计数:管线药品数、BD 交易数、投融资事件数。某个计数超时会在 count_errors 里点名,不会静默当 0。
輸入結構描述
{
"type": "object",
"properties": {
"company_id": {
"type": [
"string",
"integer"
],
"description": "search_companies 返回的 id"
}
},
"required": [
"company_id"
]
}🟢search_deals(keyword, target, trade_type, year_from, year_to, ...)
检索 BD 交易(fa_drug_trade,4k 条):license-in/out、首付款、总金额、里程碑、双方企业。trade_type 是分号组合串(授权/许可、投资;期权;合作、并购)。
輸入結構描述
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "交易标的名或双方企业名"
},
"target": {
"type": "string",
"description": "靶点"
},
"trade_type": {
"type": "string",
"description": "交易类型关键词"
},
"year_from": {
"type": [
"string",
"integer"
],
"description": "起始年 YYYY"
},
"year_to": {
"type": [
"string",
"integer"
],
"description": "截止年 YYYY"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": []
}🟢get_deal_detail(deal_id)
按 deal_id 取交易完整记录(金额结构、许可类型、双方企业 id)。
輸入結構描述
{
"type": "object",
"properties": {
"deal_id": {
"type": [
"string",
"integer"
],
"description": "search_deals 返回的 id"
}
},
"required": [
"deal_id"
]
}🟢search_investments(company, round, country, investor, date_from, ...)
检索投融资事件(fa_investment,1.8 万条):轮次、金额、领投方、跟投方、时间。
輸入結構描述
{
"type": "object",
"properties": {
"company": {
"type": "string",
"description": "被投企业名"
},
"round": {
"type": "string",
"description": "轮次,如 A轮 / B轮 / 战略融资"
},
"country": {
"type": "string",
"description": "地区,前缀匹配"
},
"investor": {
"type": "string",
"description": "投资机构名(在 investors 串里模糊)"
},
"date_from": {
"type": "string",
"description": "起始日 YYYY / YYYY-MM / YYYY-MM-DD"
},
"date_to": {
"type": "string",
"description": "截止日 同上"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": []
}🟢search_investors(keyword, focus_stage, fields, limit, offset)
检索投资机构(fa_investor,2.5 万家):类型、总部、关注阶段、关注赛道。参投次数这里不给(要按机构名全表计数,成本不可控),改用 search_investments 的 investor 参数按事件查。
輸入結構描述
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "机构名"
},
"focus_stage": {
"type": "string",
"description": "关注阶段,如 早期 / A轮"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": []
}🟢search_patents(drug, ingredient, company, status, year_from, ...)
检索药品专利(rs_drug_patents,2.7 万条):申请号、标题、法律状态、届满日、申请人。year_from / year_to 按届满年份比较。
輸入結構描述
{
"type": "object",
"properties": {
"drug": {
"type": "string",
"description": "药品名"
},
"ingredient": {
"type": "string",
"description": "成分名"
},
"company": {
"type": "string",
"description": "企业或申请人"
},
"status": {
"type": "string",
"description": "法律状态关键词"
},
"year_from": {
"type": [
"string",
"integer"
],
"description": "届满年起始"
},
"year_to": {
"type": [
"string",
"integer"
],
"description": "届满年截止"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": []
}🟢get_patent_detail(patent_id)
按 patent_id 取专利详情 + 关联药品/成分(linked_drugs,最多 20 条)。
輸入結構描述
{
"type": "object",
"properties": {
"patent_id": {
"type": [
"string",
"integer"
],
"description": "search_patents 返回的 id"
}
},
"required": [
"patent_id"
]
}🟢search_meeting_reports(keyword, domain_id, year_from, year_to, fields, ...)
检索医学会议摘要(rs_meeting_report,45 万条,ASCO / ESMO / SABCS 等)。⚠️ 本域只有会议摘要,没有 PubMed 题录(库里 rs_pubmed 实测 0 行);created_year 是入库年份,不是发表年份。
輸入結構描述
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "摘要标题关键词"
},
"domain_id": {
"type": [
"string",
"integer"
],
"description": "领域节点 id(见 search_indications)"
},
"year_from": {
"type": [
"string",
"integer"
],
"description": "入库年起始"
},
"year_to": {
"type": [
"string",
"integer"
],
"description": "入库年截止"
},
"fields": {
"type": [
"array",
"string"
],
"description": "列裁剪,取值见返回列名;默认给摘要列"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": []
}🟢get_meeting_report_detail(report_id)
按 report_id 取会议摘要详情(meta 含作者与正文摘要,长文按 4000 字截断)+ 原文链接。
輸入結構描述
{
"type": "object",
"properties": {
"report_id": {
"type": [
"string",
"integer"
],
"description": "search_meeting_reports 返回的 id"
}
},
"required": [
"report_id"
]
}🟢search_market_sales(drug, company, channel, year, year_from, ...)
检索药品销量(2016–2024)。channel:drug=药品汇总(46 万行)、hospital=医院端(133 万行)、network=线上电商(京东/天猫/抖音,36 万行)、all=三张表合并。⚠️ 必须带 drug 或 company;库内没有线下连锁药店动销。
輸入結構描述
{
"type": "object",
"properties": {
"drug": {
"type": "string",
"description": "药品名"
},
"company": {
"type": "string",
"description": "企业名"
},
"channel": {
"type": "string",
"description": "all / drug / hospital / network,默认 all"
},
"year": {
"type": [
"string",
"integer"
],
"description": "单一年份"
},
"year_from": {
"type": [
"string",
"integer"
],
"description": "起始年"
},
"year_to": {
"type": [
"string",
"integer"
],
"description": "截止年"
},
"province": {
"type": "string",
"description": "省份/地区关键词"
},
"limit": {
"type": "integer",
"description": "返回条数,默认 20,硬上限 20(超出自动压低)"
},
"offset": {
"type": "integer",
"description": "翻页偏移,默认 0;offset+limit 不得超过 1000"
}
},
"required": []
}社群
證據