Opentargets logo

Opentargets

Query Open Targets for disease, gene target, and drug profiles, associations, mechanisms, and known clinical drugs over MCP.

Install Opentargets

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "opentargets-2": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-opentargets"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Opentargets MCP server connects AI agents to the Open Targets disease, target, and drug knowledge graph through GraphQL-backed gateway tools. It supports text search for canonical Ensembl, EFO, and ChEMBL identifiers, then provides detailed profiles, evidence-ranked associations, and known drugs. Use it for target characterization, disease research, drug mechanism queries, and early therapeutic landscape analysis. The hosted endpoint is keyless for initial anonymous use, while the npm bridge connects local MCP clients to the same gateway.

Use cases

  • Find canonical Open Targets IDs for genes, diseases, and drugs
  • Characterize a gene as a potential drug target
  • Rank diseases associated with a candidate target
  • Identify drug targets linked to a disease
  • Review known drugs and clinical phases for a target

Key features

  • Open Targets disease, target, and drug profiles
  • Ranked text search with canonical identifiers
  • Evidence-scored target-disease associations
  • Disease-to-target prioritization
  • Known drugs, mechanisms, indications, and trial phases
  • Hosted MCP and local npm stdio connection modes

Tools7

What Opentargets lets your agent do. Expand a tool for its parameters.

Verified live~962 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 72d

What it can do

From the 7 tools this server returned when we ran it; 7 declare their own safety hints.

Makes network requests · 7Read-only tools · 7
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age172 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @pipeworx/mcp-opentargets (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads573Package downloads in the last 30 days.
Last commit21d agoMost recent push to the default branch.
Tools exposed7Callable tools this server registers over MCP.

How Opentargets works

What Opentargets does

Opentargets exposes the Open Targets Platform as MCP tools for exploring relationships among genes, diseases, and drugs. The underlying knowledge graph combines genetic, genomic, transcriptomic, and chemistry evidence. It is suited to research workflows that begin with a name or identifier and continue into target profiles, disease links, drug mechanisms, or candidate prioritization.

The integration is an independent, unofficial connection to Open Targets. It is not affiliated with, endorsed by, or published by the upstream provider.

How it works

The hosted MCP endpoint is available at https://gateway.pipeworx.io/opentargets/mcp. It uses the Pipeworx gateway to forward requests to Open Targets and does not require an API key for initial anonymous calls. A local npm package, @pipeworx/mcp-opentargets, provides a stdio bridge that forwards MCP requests to the same hosted endpoint, so the local process still needs network access.

A typical workflow starts with search, which returns ranked matches and canonical identifiers. Target records use Ensembl gene IDs such as ENSG...; diseases use EFO identifiers such as EFO_...; and drugs use ChEMBL identifiers such as CHEMBL.... Those identifiers can then be passed to the profile and association tools.

The pack endpoint also exposes shared Pipeworx gateway tools, including routing and discovery tools. The npm bridge lists only the Open Targets pack by default, with PIPEWORX_META_TOOLS=1 available when the shared tools should also be listed. The full gateway endpoint is available separately when direct access to all packs is preferred.

Setup and configuration

Add the hosted endpoint to an MCP client with this configuration:

config.json
{
  "mcpServers": {
    "opentargets": {
      "url": "https://gateway.pipeworx.io/opentargets/mcp"
    }
  }
}

For a local stdio connection, use:

config.json
{
  "mcpServers": {
    "opentargets": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-opentargets"]
    }
  }
}

Anonymous use is capped at 50 calls per day. A free Pipeworx account raises the limit to 200 calls per day; provide its key as PIPEWORX_API_KEY in the MCP server environment. Requests require network access, and the package has no offline mode. For HTTPS proxy setups, newer Node.js releases can use proxy environment settings when NODE_USE_ENV_PROXY=1 is enabled.

Tools and capabilities

  • search finds diseases, targets, and drugs by text, with optional entity filtering and result limits.
  • target returns a gene target profile, including symbol, name, biotype, protein identifiers, pathways, and synonyms.
  • disease retrieves an EFO disease profile with description, therapeutic areas, and ontology cross-references.
  • drug returns drug names, mechanisms, indications, target genes, trade names, and clinical-trial phase.
  • target_associations ranks diseases associated with an Ensembl target using integrated Open Targets evidence.
  • disease_associations ranks potential drug targets for an EFO disease using integrated evidence.
  • target_known_drugs lists clinically tested or approved drugs associated with a target, including mechanisms, indications, and trial phases.

The same operations can be called over HTTP through the gateway's tool endpoints when an MCP client is not available.

Limitations and notes

Results depend on the Open Targets knowledge graph and its evidence scoring. Queries requiring detailed records should use the relevant canonical identifier rather than relying only on a free-text name. The hosted and npm connections reach the same gateway, while the main difference is which tools are listed directly. The package is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Opentargets

Opentargets is an MCP server that connects AI agents to the Open Targets disease, target, and drug knowledge graph. Its main tools search records, retrieve target, disease, and drug profiles, rank target-disease associations, and list clinically tested or approved drugs for a target using canonical Ensembl, EFO, and ChEMBL identifiers.

Install it by adding the hosted MCP URL or running the npm stdio bridge with npx. The hosted configuration uses https://gateway.pipeworx.io/opentargets/mcp; the local configuration runs @pipeworx/mcp-opentargets with npx and forwards requests to the same gateway.

Yes, Opentargets can be added to Claude Desktop, Cursor, and Windsurf using its hosted MCP endpoint or local stdio bridge. The connection requires network access because the npm package forwards calls to the Pipeworx gateway and has no offline mode.

No API key is needed for initial anonymous use. Anonymous access is limited to 50 calls per day; a free Pipeworx account increases the limit to 200 calls per day when its key is supplied through PIPEWORX_API_KEY.

Opentargets uses Ensembl gene IDs for targets, EFO identifiers for diseases, and ChEMBL IDs for drugs. Use the search tool to find canonical IDs from names, then pass those IDs to the profile and association tools.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpentargets AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/opentargets-2?style=directory)](https://allmcps.com/mcp/opentargets-2)
HTML Embed
<a href="https://allmcps.com/mcp/opentargets-2"><img src="https://allmcps.com/api/badge/opentargets-2?style=directory" alt="Opentargets on AllMCPs" /></a>