
Opentargets
io.github.nickzrenPublished by GitHub account nickzrenv0.7.0Updated Oct 24, 2026
Read-only Open Targets: targets, diseases, drugs and evidence by name or ID. No API key needed.
Overview
Read-only MCP server for the Open Targets Platform, letting an assistant look up targets, diseases, drugs, variants and supporting evidence by name or ID.
- What you can do
- Look up targets, diseases and drugs by name or ID, including known drugs and adverse events for a drug and associated targets for a disease, with ambiguous names resolved to a candidate list to pick from. Retrieve target-disease evidence, variant details and credible sets, with datasource IDs and PubMed references where available. Search entities and map identifiers across gene symbols, rsIDs, and Ensembl, MONDO and ChEMBL IDs. Suggest drug-repurposing candidates for a disease. Run raw GraphQL queries and inspect the schema for anything the curated tools do not cover, and record the API and data release used.
- When to use it
- Useful for biomedical or drug-discovery research questions such as which drugs target a gene, which genes are linked to a disease, or what evidence connects a gene to a disease, and for exploring drug-repurposing ideas without writing GraphQL by hand.
- Requirements
- Runs locally over stdio as a PyPI package launched with uvx, so uv must be installed. No Open Targets API key is needed. Network access to the Open Targets GraphQL API is required; proxy settings are read from HTTPS_PROXY, HTTP_PROXY and NO_PROXY. Optional environment variables or flags change transport, host, port, API URL and rate limits.
Installation
In SourceWeft
- Open Opentargets in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Open Targets MCP Server
[CI] [PyPI] [Python] [MCP Registry] [License: MIT]
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 fromwhich uvx. - Use
opentargets-mcp@latestas the argument to pick up new releases. - On Apple Silicon, a
cryptographybuild error can indicate uv picked an Intel (Rosetta) Python.uv python findis 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.
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):
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 http://localhost:8000/mcp.
Development
Example scripts are in examples/.
License
Source: README.md at commit e0641af
Tools
0Version history
4- v0.7.0LatestOct 9, 2026
- v0.6.1Oct 9, 2026
- v0.6.0Sep 21, 2026
- v0.2.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts