O

Opentargets

MCP server · by nickzren

Developer Tools Python v0.7.0

Read-only Open Targets: targets, diseases, drugs and evidence by name or ID. No API key needed.

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

Run one of the commands below, then pick your client in the next section.

Python
uvx opentargets-mcp

Setup by client

Pick your client — the config below is generated for this server (local stdio).

claude_desktop_config.json

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

Format verified against the official Claude Desktop docs ↗.

GitHub

⭐ 19 stars · 最近更新于 5 天前 · MIT license

About this server

Open Targets MCP Server A read-only MCP server for exploring targets, diseases, drugs and genetic evidence through the Open Targets Platform. Use names or IDs, retrieve supporting evidence, and explore drug-repurposing candidates. No Open Targets API key required. Install Requires uv. Claude Code Claude Desktop and Cursor : add this to claude desktop config.json (Settings → Developer → Edit Config) or /.cursor/mcp.json , then restart: VS Code Codex Any other stdio MCP client works the same way: command uvx , argument opentargets-mcp . Tips: If the client reports spawn uvx ENOENT , use the full path from which uvx . Use opentargets-mcp@latest as the argument to pick up new releases. On Apple Silicon, a cryptography build error can indicate uv picked an Intel (Rosetta) Python. uv python find is a first clue; cached tool environments and desktop clients may use a different interpreter. What you can ask "Which drugs target EGFR, and how far along are they?" "Which genes are most strongly associated with asthma?" "Show the evidence linking BRAF to melanoma." "Suggest drug repurposing candidates for type 2 diabetes." Use names or IDs: gene symbols, disease and drug names, rsIDs, or Ensembl, MONDO and ChEMBL IDs. If a name matches several entities, the tool lists the candidates so you can pick one. Tools 68 tools. Run uvx opentargets-mcp --list-tools for the full list. Area Examples --- --- Targets get target info , get target known drugs Diseases get disease info , get disease associated targets Drugs get drug info , get drug adverse events Evidence get target disease evidence Variants and studies get variant info , get credible sets Search and lookup search entities , map ids Workflow get drug repurposing candidates Raw GraphQL graphql query , graphql schema Many tools accept fields (dot-paths such as ["target.approvedSymbol"] ) to return only what you need. For anything the curated tools don't cover, use graphql query . Evidence results include datasource IDs and PubMed references where available. Use get api metadata to record the Open Targets API and data release with your analysis. clinicalReportCount counts report records, not unique trials; use graphql query for full reports. How it works Ask in plain language; the server turns names into Open Targets IDs, runs read-only queries and returns structured results. No API key needed. Configuration The defaults work for local use. To change them, set environment variables or pass flags ( uvx opentargets-mcp --help ): Variable Flag Default --- --- --- MCP TRANSPORT --transport stdio (also http , sse ) FASTMCP SERVER HOST --host 0.0.0.0 FASTMCP SERVER PORT --port 8000 OPEN TARGETS API URL --api OPEN TARGETS RATE LIMIT RPS --rate-limit-rps 0 (off); limits incoming MCP requests OPEN TARGETS RATE LIMIT BURST --rate-limit-burst 20 Proxies are read from HTTPS PROXY , HTTP PROXY and NO PROXY . Self-host From source: With Docker (HTTP on port 8000), from the clone: Connect your MCP client to Development Example scripts are in examples/ . License MIT…

Summary from the project README — github.com/nickzren/opentargets-mcp

Distributed as Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the Opentargets MCP server do?

Open Targets MCP Server A read-only MCP server for exploring targets, diseases, drugs and genetic evidence through the Open Targets Platform. Use names or IDs, retrieve supporting evidence, and explore drug-repurposing candidates. No Open Targets API key required. Install Requires uv. Claude Code Claude Desktop and Cursor : add this to claude desktop config.json (Settings → Developer → Edit Config) or /.cursor/mcp.json , then restart: VS Code Codex Any other stdio MCP client works the same way: command uvx , argument opentargets-mcp . Tips: If the client reports spawn uvx ENOENT , use the full path from which uvx . Use opentargets-mcp@latest as the argument to pick up new releases. On Apple Silicon, a cryptography build error can indicate uv picked an Intel (Rosetta) Python. uv python find is a first clue; cached tool environments and desktop clients may use a different interpreter. What you can ask "Which drugs target EGFR, and how far along are they?" "Which genes are most strongly associated with asthma?" "Show the evidence linking BRAF to melanoma." "Suggest drug repurposing candidates for type 2 diabetes." Use names or IDs: gene symbols, disease and drug names, rsIDs, or Ensembl, MONDO and ChEMBL IDs. If a name matches several entities, the tool lists the candidates so you can pick one. Tools 68 tools. Run uvx opentargets-mcp --list-tools for the full list. Area Examples --- --- Targets get target info , get target known drugs Diseases get disease info , get disease associated targets Drugs get drug info , get drug adverse events Evidence get target disease evidence Variants and studies get variant info , get credible sets Search and lookup search entities , map ids Workflow get drug repurposing candidates Raw GraphQL graphql query , graphql schema Many tools accept fields (dot-paths such as ["target.approvedSymbol"] ) to return only what you need. For anything the curated tools don't cover, use graphql query . Evidence results include datasource IDs and PubMed references where available. Use get api metadata to record the Open Targets API and data release with your analysis. clinicalReportCount counts report records, not unique trials; use graphql query for full reports. How it works Ask in plain language; the server turns names into Open Targets IDs, runs read-only queries and returns structured results. No API key needed. Configuration The defaults work for local use. To change them, set environment variables or pass flags ( uvx opentargets-mcp --help ): Variable Flag Default --- --- --- MCP TRANSPORT --transport stdio (also http , sse ) FASTMCP SERVER HOST --host 0.0.0.0 FASTMCP SERVER PORT --port 8000 OPEN TARGETS API URL --api OPEN TARGETS RATE LIMIT RPS --rate-limit-rps 0 (off); limits incoming MCP requests OPEN TARGETS RATE LIMIT BURST --rate-limit-burst 20 Proxies are read from HTTPS PROXY , HTTP PROXY and NO PROXY . Self-host From source: With Docker (HTTP on port 8000), from the clone: Connect your MCP client to Development Example scripts are in examples/ . License MIT

How do I install Opentargets?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Opentargets free to use?

The MCP server itself is free to install. The source is public on https://github.com/nickzren/opentargets-mcp. Any third-party service it calls may require its own API key and account.

Which clients support Opentargets?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/opentargets-nickzren.svg)](https://mcpnav.net/server/opentargets-nickzren/)

HTML

<a href="https://mcpnav.net/server/opentargets-nickzren/"><img src="https://mcpnav.net/badge/opentargets-nickzren.svg" alt="Listed on MCPNav" height="20"></a>