Cortellis MCP Server
Cortellis MCP Server 是一个开源工具,用于通过API在Cortellis数据库中搜索药物和探索本体术语。
概述
Cortellis MCP 服务器允许您搜索 Cortellis 数据库中的药物和公司信息,探索本体术语,并获取详细的药物与公司记录。
主要功能
- 药物搜索与过滤(按公司、适应症、开发阶段等)
- 公司搜索
- 本体术语探索
- 获取详细药物记录和 SWOT 分析
- 获取财务数据和预测
设置方法
前提条件
- 有效的 Cortellis API 账户凭证
- Node.js 已安装(用于 Claude Desktop)
在 Claude Desktop 上安装
- 前往:设置 > 开发者 > 编辑配置
- 在
claude_desktop_config.json
中添加:
{
"mcpServers": {
"cortellis": {
"command": "npx",
"args": [
"-y",
"@uh-joan/mcp-server-cortellis"
],
"env": {
"CORTELLIS_USERNAME": "your_username",
"CORTELLIS_PASSWORD": "your_password"
}
}
}
}
- 重启 Claude Desktop
主要工具使用
搜索药物
search_drugs(
query: "抗肿瘤药",
company: "Pfizer",
indication: "肺癌",
phase: "C3 OR L", // 临床3期或已上市
technology: "小分子"
)
药物阶段代码
- 简短格式: S, DR, CU, C1-C3, PR, R, L, OL, NDR, DX, W
- 描述性格式: "Phase 1 Clinical", "Launched" 等
- 运算符: 支持 OR/AND,如 "C2 OR C3"
获取药物详情
get_drug(id: "药物ID")
get_drug_swot(id: "药物ID")
get_drug_financial(id: "药物ID")
搜索公司
search_companies(
company_name: "Novartis",
hq_country: "Switzerland",
company_size: ">2" // 市值大于20亿美元
)
探索本体术语
explore_ontology(
term: "糖尿病",
category: "疾病"
)
HTTP API
启用 HTTP 模式时,可通过以下端点访问:
POST /search_drugs
- 搜索药物POST /explore_ontology
- 探索术语GET /drug/:id
- 获取药物记录GET /drug/:id/swot
- 获取药物 SWOT 分析GET /drug/:id/financial
- 获取财务数据GET /company/:id
- 获取公司记录POST /search_companies
- 搜索公司
环境变量
CORTELLIS_USERNAME=your_username
CORTELLIS_PASSWORD=your_password
有关更多详细信息,请参阅完整文档。