
MCP server for Open Targets data
概览
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. : add this to claude_desktop_config.json (Settings → Developer → Edit Config) or ~/.cursor/mcp.json, then restart: 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. - "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.
README
以下为原文 README 节选,完整内容请查看原文。
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 mcp add opentargets -- uvx opentargets-mcp
Claude Desktop and Cursor: add this to claude_desktop_config.json (Settings → Developer → Edit Config) or ~/.cursor/mcp.json, then restart:
{
"mcpServers": {
"opentargets": {
"command": "uvx",
"args": ["opentargets-mcp"]
}
}
}
VS Code
code --add-mcp '{"name":"opentargets","command":"uvx","args":["opentargets-mcp"]}'
Codex
codex mcp add opentargets -- uvx opentargets-mcp
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.
| 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 |
安装
uvx opentargets-mcp配置
{
"mcpServers": {
"opentargets": {
"command": "uvx",
"args": ["opentargets-mcp"]
}
}
}