Unofficial server for accessing Open Targets platform data for gene-drug-disease associations research.
Unofficial Model Context Protocol server for accessing Open Targets platform data for gene-drug-disease associations research.
Developed by Augmented Nature
All 6 tools working with live Open Targets API data:
# Install and build
npm install
npm run build
# Run the server
node build/index.js
{
"mcpServers": {
"opentargets-server": {
"command": "node",
"args": ["/path/to/opentargets-server/build/index.js"]
}
}
}
node /path/to/opentargets-server/build/index.js
search_targets
Search therapeutic targets by gene symbol, name, or description
{
"name": "search_targets",
"arguments": {
"query": "BRCA1", // Gene symbol, name, or description
"size": 10 // Optional: 1-500 results (default: 25)
}
}
Example Results:
search_diseases
Search diseases by name, synonym, or description
{
"name": "search_diseases",
"arguments": {
"query": "breast cancer", // Disease name, synonym, or description
"size": 10 // Optional: 1-500 results (default: 25)
}
}
get_target_disease_associations
Get target-disease associations with evidence scores
{
"name": "get_target_disease_associations",
"arguments": {
"targetId": "ENSG00000012048", // Target Ensembl ID
"size": 10 // Optional: 1-500 results
}
}
OR
{
"name": "get_target_disease_associations",
"arguments": {
"diseaseId": "EFO_0000305", // Disease EFO ID
"size": 10 // Optional: 1-500 results
}
}
get_disease_targets_summary
Get prioritized targets associated with a disease
{
"name": "get_disease_targets_summary",
"arguments": {
"diseaseId": "EFO_0000305", // Disease EFO ID (required)
"size": 20 // Optional: 1-500 targets (default: 50)
}
}
get_target_details
Get comprehensive target information
{
"name": "get_target_details",
"arguments": {
"id": "ENSG00000012048" // Target Ensembl gene ID
}
}
get_disease_details
Get comprehensive disease information
{
"name": "get_disease_details",
"arguments": {
"id": "EFO_0000305" // Disease EFO ID
}
}
Access Open Targets data through standardized URIs:
opentargets://target/{ensemblId}
- Complete target informationopentargets://disease/{efoId}
- Complete disease informationopentargets://drug/{chemblId}
- Drug informationopentargets://association/{targetId}/{diseaseId}
- Association evidenceopentargets://search/{query}
- Search results# 1. Search for cancer-related targets
{"name": "search_targets", "arguments": {"query": "oncogene", "size": 10}}
# 2. Get detailed info for specific target
{"name": "get_target_details", "arguments": {"id": "ENSG00000012048"}}
# 3. Find all diseases associated with BRCA1
{"name": "get_target_disease_associations", "arguments": {"targetId": "ENSG00000012048"}}
# 4. Get top targets for breast cancer
{"name": "get_disease_targets_summary", "arguments": {"diseaseId": "EFO_0000305", "size": 20}}
# 1. Search for Alzheimer's disease
{"name": "search_diseases", "arguments": {"query": "Alzheimer", "size": 5}}
# 2. Get disease details
{"name": "get_disease_details", "arguments": {"id": "EFO_0000249"}}
# 3. Find prioritized therapeutic targets
{"name": "get_disease_targets_summary", "arguments": {"diseaseId": "EFO_0000249", "size": 30}}
Open Targets integrates 20+ databases:
Standardized Identifiers:
https://api.platform.opentargets.org/api/v4/graphql
This server is developed and maintained by Augmented Nature. For enhancements:
For issues with:
If you use this project in your research or publications, please cite it as follows:
author = {Moudather Chelbi},
title = {OpenTargets MCP Server},
year = {2025},
howpublished = {https://github.com/Augmented-Nature/OpenTargets-MCP-Server},
note = {Accessed: 2025-06-29}
A server for full integration with Oracle Database. Requires Oracle Instant Client libraries.
Access the Quran API from alquran.cloud to retrieve accurate Quranic text and reduce LLM hallucinations.
Provides financial data. Requires external Python dependencies installed with the uv package manager.
Analyze, lint, and convert SQL dialects using SQLGlot.
A server for Retrieval Augmented Generation (RAG), providing AI clients access to a private knowledge base built from user documents.
Access the OSV (Open Source Vulnerabilities) database for vulnerability information. Query vulnerabilities by package version or commit, batch query multiple packages, and get detailed vulnerability information by ID.
Access Socrata Open Data APIs from government data portals.
A Model Context Protocol (MCP) server that enables LLMs to interact directly with MongoDB databases
Provides real-time financial data using the Tushare API.
Interact with the SingleStore database platform