# Open Targets

Remote MCP server that gives your agent Open Targets entity search and GraphQL access to drug-target and disease-gene evidence.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 440 installs
- Author: opentargets
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/opentargets
- Updated: 2026-03-27
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/open-targets

## What it does

Open Targets is a remote MCP server. Point your agent at `https://opentargets.run.tools` and it can search targets, diseases, drugs, variants and studies, then run GraphQL queries over drug-target and disease-gene evidence. Nothing runs on your machine.

Five tools ship with it. `search_entities` looks across entity types and returns up to 3 matches per query string, which is how you get a standard ID. `query_open_targets_graphql` runs one GraphQL query, while `batch_query_open_targets_graphql` repeats a query with different variable sets when you have a list of drugs or genes. For schema work there is `get_open_targets_graphql_schema` with category filtering, and `get_type_dependencies` returns SDL for named types.

The schema call needs at least one category, such as `genetic-associations`, or there is nothing to return. Common gene, disease or drug names have to become IDs through `search_entities` before a query runs, because the query tool works on identifiers.

## Requirements
- Remote server: `https://opentargets.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http opentargets https://opentargets.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add open-targets --url https://opentargets.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "open-targets": {
            "url": "https://opentargets.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "open-targets": {
            "type": "http",
            "url": "https://opentargets.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http open-targets https://opentargets.run.tools
```

## When to use it
- resolve a gene symbol to a standard ID before querying
- pull disease-gene evidence backed by genetics and literature
- run the same GraphQL query across a list of drugs
- check a schema category before writing a query
- look up which studies a variant appears in

## Example prompts
- Find the ID for BRCA2 in Open Targets and list the diseases linked to it
- Run this query for every drug in the list with `batch_query_open_targets_graphql`
- Show the `genetic-associations` part of the Open Targets schema first

## Similar
- [opentargets](https://affpapa.org/en/nevibecode/mcp/opentargets.md) — MCP server · ★ 19 repo stars
- [open-targets-search](https://affpapa.org/en/nevibecode/skills/open-targets-search.md) — skill · 130 installs
- [chembl-database](https://affpapa.org/en/nevibecode/skills/chembl-database.md) — skill · 2400 installs
- [tooluniverse-target-research](https://affpapa.org/en/nevibecode/skills/tooluniverse-target-research.md) — skill · 418 installs
- [tooluniverse-gwas-finemapping](https://affpapa.org/en/nevibecode/skills/tooluniverse-gwas-finemapping.md) — skill · 368 installs
- [biological-expert](https://affpapa.org/en/nevibecode/skills/biological-expert.md) — skill · 235 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
