# Opentargets

> Opentargets is a free MCP server for health and science. Read-only access to Open Targets target, disease, drug and evidence data by name or ID. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI
- **Website:** https://nickzren.github.io/opentargets-mcp/
- **Repository:** https://github.com/nickzren/opentargets-mcp
- **MCP Registry name:** io.github.nickzren/opentargets
- **Categories:** health and science, analytics and data
- **Listing updated:** 2026-11-15

## About

The server wraps the Open Targets Platform GraphQL API with 68 tools. It resolves gene symbols, disease and drug names, rsIDs and Ensembl, MONDO or ChEMBL IDs, and when a name matches several entities it lists candidates for you to pick. No Open Targets API key is needed.

Curated tools cover targets, diseases, drugs, target-disease evidence, variants, studies and credible sets, search and ID mapping, and a drug-repurposing workflow. Many accept a `fields` list to trim output, and `graphql_query` and `graphql_schema` reach anything not covered. Evidence results include datasource IDs and PubMed references where available, and `get_api_metadata` records the API and data release for your analysis.

The README notes that `clinicalReportCount` counts report records, not unique trials. It runs locally with `uvx opentargets-mcp`.

## Features

- **68 curated tools:** Targets, diseases, drugs, evidence, variants and studies.
- **Name or ID lookup:** Resolves symbols and Ensembl, MONDO, ChEMBL IDs and rsIDs.
- **Repurposing workflow:** get_drug_repurposing_candidates suggests candidates for a disease.
- **Raw GraphQL:** graphql_query and graphql_schema cover everything else.
- **Release metadata:** Record the API and data release with each analysis.

## Good for

- List drugs that target EGFR and their stage
- Find genes most associated with asthma
- Review evidence linking BRAF to melanoma
- Suggest repurposing candidates for type 2 diabetes

## Install

### Claude Code (Terminal)

```sh
claude mcp add opentargets -- uvx opentargets-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "opentargets": {
      "command": "uvx",
      "args": [
        "opentargets-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "opentargets": {
      "command": "uvx",
      "args": [
        "opentargets-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "opentargets": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "opentargets-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "opentargets": {
      "command": "uvx",
      "args": [
        "opentargets-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "opentargets": {
      "command": "uvx",
      "args": [
        "opentargets-mcp"
      ]
    }
  }
}
```

## Tools

- `get_target_info`: Get information on a target.
- `get_target_known_drugs`: List known drugs for a target.
- `get_disease_info`: Get information on a disease.
- `get_disease_associated_targets`: List targets associated with a disease.
- `get_drug_info`: Get information on a drug.
- `get_drug_adverse_events`: Get adverse events for a drug.
- `get_target_disease_evidence`: Get evidence linking a target and a disease.
- `get_variant_info`: Get information on a variant.
- `get_credible_sets`: Get credible sets.
- `search_entities`: Search entities by name.
- `map_ids`: Map identifiers.
- `get_drug_repurposing_candidates`: Suggest drug repurposing candidates.
- `graphql_query`: Run a raw GraphQL query.
- `graphql_schema`: Read the GraphQL schema.
- `get_api_metadata`: Return API and data release metadata.

## FAQ

### Do I need an API key?

No Open Targets API key is required.

### How do I install it?

Run it with uvx opentargets-mcp; uv is required.

### Can it write anything?

No, it is read-only.

### What if a name is ambiguous?

The tool lists the matching candidates so you can choose one.

### Is Opentargets free?

Yes. Opentargets is free to use.

### How do I add Opentargets to Claude Code?

Run this command in your terminal: claude mcp add opentargets -- uvx opentargets-mcp

### What are the best alternatives to Opentargets?

The closest alternatives to Opentargets are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tooluniverse, Oya Browser and Tapetide - Indian Stock Market MCP.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tooluniverse](https://ai-powered.com/mcp/tooluniverse): Tooluniverse is an open-source MCP server for health and science.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.

---
Source: https://ai-powered.com/mcp/opentargets
