Skip to main content
MCP server CX Codex

opentargets — Claude Code MCP server: features and setup

Query Open Targets for targets, diseases, drugs, and supporting evidence from an AI coding client. Useful for investigating gene-disease links or possible drug repurposing.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add opentargets -- uvx opentargets-mcp
Open on GitHub

What opentargets does

opentargets connects an MCP client to Open Targets data. Ask about an entity by its name or identifier, then retrieve details on targets, diseases, drugs, variants, and evidence. It can also surface candidates for repurposing a drug. Results are returned as structured data.

The server provides 68 tools, including entity search, ID mapping, evidence lookup, and GraphQL queries. When a name matches multiple records, it presents candidates to choose from. Access is read-only, so the server cannot change Open Targets records. Setup requires uv and Python 3.10 or later; an Open Targets API key is not needed.

What it helps with

  • look up drug targets by name or identifier
  • trace evidence connecting a gene to a disease
  • retrieve adverse-event information for a drug
  • find possible candidates for drug repurposing

Example prompts for the agent

  • Find drugs that target EGFR and report their development stages.
  • Which genes have the strongest association with asthma?
  • Show the evidence connecting BRAF with melanoma.

How to install opentargets

Platform CLI

claude mcp add opentargets -- uvx opentargets-mcp

uvx runs the command named after the package; if the README names another one, use uvx --from opentargets-mcp <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about opentargets

How do I install opentargets in Claude Code?

Install uv, then run claude mcp add opentargets -- uvx opentargets-mcp.

What does opentargets do?

It lets an MCP client query Open Targets for target, disease, drug, and genetic evidence data. Queries are read-only.

Does opentargets need an API key?

No Open Targets API key is required. You need uv and Python 3.10 or later to run it.

Similar MCP servers

Everything for Science and research →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor