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 Kotlin-based MCP server for interacting with PostgreSQL databases.
A server for managing ClickHouse databases and ClickHouse Cloud services.
A read-only MCP server for querying live data from various APIs using the CData JDBC Driver for API Driver.
Official MCP server for dbt (data build tool) providing integration with dbt Core/Cloud CLI, project metadata discovery, model information, and semantic layer querying capabilities.
A read-only MCP server for Adobe Commerce, enabling LLMs to query live data using the CData JDBC driver.
Open source MCP server specializing in easy, fast, and secure tools for Databases.
MCP server for SQLite files. Supports Datasette-compatible metadata!
An MCP server for Directus CMS, enabling AI clients to interact with the Directus API.
Interact with CrateDB using natural language for Text-to-SQL queries and documentation retrieval.
A read-only MCP server for querying live Acumatica data using the CData JDBC Driver.