Skip to content
MCP server

Opentargets

Read-only access to Open Targets target, disease, drug and evidence data by name or ID

Runs locallyStatus and history
Install
Pricing
Free
Platforms
CLI
Runs
Locally
Version
0.7.0
Listing updated
2 days ago

About Opentargets

Opentargets is a free MCP server for health and science. It runs locally on your machine and is started by your AI client.

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.

Install

Run in a terminal

claude mcp add opentargets -- uvx opentargets-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "opentargets": {
      "command": "uvx",
      "args": [
        "opentargets-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "opentargets": {
      "command": "uvx",
      "args": [
        "opentargets-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (15)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Free

No API key required

Prices change. Check nickzren.github.io before you buy.

Opentargets 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 to Opentargets

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  3. Tooluniverse

    MCP server

    MCP server giving AI agents access to thousands of scientific research tools

    Runs locally
    • Open source
    • 1.8K GitHub stars
    • Health and science
  4. Oya Browser

    MCP server

    HIPAA-oriented agentic browser with replayable playbooks, reachable over MCP

    • 32 tools
    • Remote
    • Freemium
    • 349 GitHub stars
    • Browser automation
  5. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  6. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data