| name | disease_drug_landscape |
| description | Disease-Drug Landscape Analysis - Map the drug landscape for a disease: OpenTargets disease drugs, FDA indications, and clinical studies. Use this skill for drug discovery tasks involving get associated drugs by target name get drug names by indication get clinical studies info by drug name. Combines 3 tools from 2 SCP server(s). |
| i18n | {"zh":{"description":"疾病药物全景分析。"}} |
Disease-Drug Landscape Analysis
Discipline: Drug Discovery | Tools Used: 3 | Servers: 2
Description
Map the drug landscape for a disease: OpenTargets disease drugs, FDA indications, and clinical studies.
Tools Used
get_associated_drugs_by_target_name from opentargets-server (streamable-http) - https://scp.intern-ai.org.cn/api/v1/mcp/15/Origene-OpenTargets
get_drug_names_by_indication from fda-drug-server (streamable-http) - https://scp.intern-ai.org.cn/api/v1/mcp/14/Origene-FDADrug
get_clinical_studies_info_by_drug_name from fda-drug-server (streamable-http) - https://scp.intern-ai.org.cn/api/v1/mcp/14/Origene-FDADrug
Workflow
- Get associated drugs from OpenTargets
- Find drugs by indication in FDA
- Get clinical studies for top drug
Test Case
Input
{
"target_name": "EGFR",
"indication": "non-small cell lung cancer"
}
Expected Steps
- Get associated drugs from OpenTargets
- Find drugs by indication in FDA
- Get clinical studies for top drug
Usage Example
Note: Replace <YOUR_SCP_HUB_API_KEY> with your own SCP Hub API Key. You can obtain one from the SCP Platform.
import asyncio
import json
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
from mcp.client.sse import sse_client
SERVERS = {
"opentargets-server": "https://scp.intern-ai.org.cn/api/v1/mcp/15/Origene-OpenTargets",
"fda-drug-server": "https://scp.intern-ai.org.cn/api/v1/mcp/14/Origene-FDADrug"
}
async def connect(url, transport_type):
transport = streamablehttp_client(url=url, headers={"SCP-HUB-API-KEY": "<YOUR_SCP_HUB_API_KEY>"})
read, write, _ = await transport.__aenter__()
ctx = ClientSession(read, write)
session = await ctx.__aenter__()
await session.initialize()
return session, ctx, transport
def parse(result):
try:
if hasattr(result, 'content') and result.content:
c = result.content[0]
if hasattr(c, 'text'):
try: return json.loads(c.text)
except: return c.text
return str(result)
except: return str(result)
async def ():
sessions = {}
sessions[], _, _ = connect(, )
sessions[], _, _ = connect(, )
result_1 = sessions[].call_tool(, arguments={})
data_1 = parse(result_1)
()
result_2 = sessions[].call_tool(, arguments={})
data_2 = parse(result_2)
()
result_3 = sessions[].call_tool(, arguments={})
data_3 = parse(result_3)
()
()
__name__ == :
asyncio.run(main())