Open Targets

Open Targets

MCP server bridging Open Targets Platform API, enabling GraphQL queries via MCP.

1
Stars
0
Forks
0
Releases

Overview

This MCP server provides a bridge to the Open Targets Platform GraphQL API by exposing a single MCP tool, opentargets_graphql_query, that lets clients execute GraphQL queries against the Open Targets endpoint at https://api.platform.opentargets.org/api/v4/graphql. The server supports two transport options for MCP clients: the Streamable HTTP transport (recommended) at https://open-targets-mcp-server.quentincody.workers.dev/mcp and the SSE transport (legacy) at /sse. Clients such as Claude Desktop or AI Playground can configure their mcpServers to point to the MCP endpoint with sample JSON entries. The guide covers GraphQL fundamentals, schema introspection workflows, and practical query examples to fetch targets (by Ensembl IDs), diseases (by EFO IDs), and drugs (by ChEMBL IDs). It explains how to supply variables, structure requests, and restart clients after configuration changes. Licensing is MIT with an Academic Citation Requirement; Open Targets documentation is linked for data access guidance and usage considerations.

Details

Owner
QuentinCody
Language
JavaScript
License
Other
Updated
2025-12-07

Features

OpenTargets GraphQL Query Tool

Exposes the opentargets_graphql_query tool to run GraphQL queries against the Open Targets GraphQL endpoint.

Streamable HTTP Transport (Recommended)

Provides the /mcp endpoint for MCP client connections with improved reliability.

SSE Transport (Legacy)

Offers the /sse endpoint for backward-compatible MCP clients.

GraphQL Introspection Workflow

Encourages schema introspection to discover types, fields, and relationships before querying.

Example Queries and Variables

Includes examples for retrieving target details and demonstrates using query variables.

Entity ID Guidance

Guides referencing targets by Ensembl IDs, diseases by EFO IDs, and drugs by ChEMBL IDs.

Claude Desktop Setup

Step-by-step instructions to configure Claude Desktop to connect to the MCP server.

Audience

Biomedical ResearchersAccess Open Targets data via GraphQL queries to explore target–disease associations and therapeutic hypotheses.
BioinformaticiansIntegrate Open Targets data into computational workflows using the opentargets_graphql_query tool.
Pharma/Drug Discovery ScientistsExplore drug-target relationships and discovery data for hypothesis generation.

Tags

Open Targets PlatformGraphQL APIMCP serverTarget-disease associationsDrug discovery dataTherapeutic hypothesisClaude DesktopOpen Targets APIGraphQL introspection