Open Targets MCP server
Endpoint: https://mcp.platform.opentargets.org/mcp · Authentication: No auth
Runs GraphQL queries against the Open Targets Platform for targets, diseases, drugs and evidence, with schema and entity-search helpers. No authentication.
How do I authenticate?
Add the endpoint directly in your client. The catalog records no authentication requirement; no OAuth sign-in or API key is configured in this setup. The live server may change.
Authentication and connection guideConnection specification
- Remote endpoint
https://mcp.platform.opentargets.org/mcp- Browser access
- Not yet measured
- Declared MCP transport
- Streamable HTTP
- Live-validated MCP transport
- Streamable HTTP — Observed by the latest catalog validation
- Declared authentication
- No authentication
- Detected authentication
- No authentication detected or retained from publisher evidence
- Protocol lifecycle
- Stateful MCP · 2025-06-18
- Category
- Reference
Product documentation · Source repository · Official listing documentation · Claude connector directory listing
More Reference MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground
Connect it
Live-validated endpoint: https://mcp.platform.opentargets.org/mcp · Streamable HTTP. No authentication is required by the catalog listing.
Agent prompt for Claude Code or Codex
Add the Open Targets MCP server to my MCP client configuration and verify that it works. What it is: Runs GraphQL queries against the Open Targets Platform for targets, diseases, drugs and evidence, with schema and entity-search helpers. No authentication. Server URL: https://mcp.platform.opentargets.org/mcp Transport: Streamable HTTP (remote MCP server, no local install). Authentication: none. The server accepts connections without credentials. Tools (5, as last observed by mcptest): batch_query_open_targets_graphql, get_open_targets_graphql_schema, get_type_dependencies, query_open_targets_graphql, search_entities. Reference: https://mcptest.io/servers/open-targets/ Steps: 1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "open-targets" in that client's MCP configuration, user scope unless I ask otherwise. Claude Code: claude mcp add --transport http --scope user 'open-targets' 'https://mcp.platform.opentargets.org/mcp' Codex: codex mcp add 'open-targets' --url 'https://mcp.platform.opentargets.org/mcp' Other clients: use the setup for that client on the reference page. 2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need. 3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
Claude Code setup
Run in a terminal. This user-scoped entry is available across projects.
claude mcp add --transport http --scope user 'open-targets' 'https://mcp.platform.opentargets.org/mcp'Codex CLI setup
Run in a terminal; Codex stores the entry in ~/.codex/config.toml.
codex mcp add 'open-targets' --url 'https://mcp.platform.opentargets.org/mcp'Cursor setup
Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.
{
"mcpServers": {
"open-targets": {
"url": "https://mcp.platform.opentargets.org/mcp"
}
}
}VS Code setup
Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.
{
"servers": {
"open-targets": {
"type": "http",
"url": "https://mcp.platform.opentargets.org/mcp"
}
}
}Claude setup
Add the endpoint above in Claude:
- Customize > Connectors > Add custom connector
- Team/Enterprise: Organization settings > Connectors > Add > Custom > Web
Claude Desktop setup
Add the endpoint above in Claude Desktop:
- Remote: Customize > Connectors (same as claude.ai)
- Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows), local servers only
ChatGPT setup
Add the endpoint above in ChatGPT:
- ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning
Windsurf setup
Add the endpoint above in Windsurf:
~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows),serverUrlorurl- Cascade panel > ... > MCPs > Open MCP config file
Gemini CLI setup
Add the endpoint above in Gemini CLI:
gemini mcp add --transport http <name> <url>~/.gemini/settings.json(user) or.gemini/settings.json(project),mcpServers
MCP SDK setup
Add the endpoint above in MCP SDK:
- Programmatic:
new Client(...).connect(new StreamableHTTPClientTransport(url))
Client compatibility
| Client | Status | Why |
|---|---|---|
| Claude Code | Supported | Claude Code supports Streamable HTTP servers and servers without authentication. |
| Codex | Partial | Codex's documentation does not state support for servers without authentication. |
| Cursor | Supported | Cursor supports Streamable HTTP servers and servers without authentication. |
| VS Code | Supported | VS Code supports Streamable HTTP servers and servers without authentication. |
| Claude | Supported | Claude supports Streamable HTTP servers and servers without authentication. |
| Claude Desktop | Supported | Claude Desktop supports Streamable HTTP servers and servers without authentication. |
| ChatGPT | Partial | Stateful routing needs operational care: ChatGPT can preserve MCP sessions, but the deployment must route a session consistently and retain its state. |
| Windsurf | Partial | Windsurf's documentation does not state support for servers without authentication. |
| Gemini CLI | Supported | Gemini CLI supports Streamable HTTP servers and servers without authentication. |
| MCP SDK | Supported | MCP SDK supports Streamable HTTP servers and servers without authentication. |
Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.
Latest validation evidence
- Validation status
- Online when last tested
- Validation checked at
- Nov 23, 2026 at 7:16 PM
- Validation detail
- Negotiated stateful MCP 2025-06-18 at https://mcp.platform.opentargets.org/mcp; detected transport streamable-http; authentication none
Tool inventory
What the catalog validator observed on at https://mcp.platform.opentargets.org/mcp without credentials. The live server may have changed since; connect in the Playground for the current list.
Tools provided by Open Targets 5
Some details were sanitized for public display.
batch_query_open_targets_graphqloutputSchema declaredExecute the same GraphQL query multiple times with different variable sets. Use this tool instead of the regular query tool when you need to run the same query repeatedly with different arguments (e.g., querying multiple drugs, targets, or diseases). WORKFLOW - Follow these steps in order: Step 1: RESOLVE IDENTIFIERS If user provides common names (gene symbols, disease names, drug names), use `search_entity` tool FIRST to convert them to standardized IDs: - Targets/Genes: "BRCA1", "BRCA2" -> ENSEMBL IDs "ENSG00000012048", "ENSG00000139618" - Diseases: "breast cancer" -> EFO/MONDO ID "MONDO_000
Input
key_field: string, query_string: string, variables_list: arraykey_field: stringrequiredVariable field name to use as key in results mapping.
query_string: stringrequiredThe GraphQL query string to execute for all variable sets.
variables_list: arrayrequiredList of variable dictionaries, one per query execution.
get_open_targets_graphql_schemaoutputSchema declaredRetrieve the Open Targets Platform GraphQL schema filtered by category. You MUST specify one or more categories to retrieve the relevant schema subset. Categories group related GraphQL types into coherent subschemas (e.g., 'drug-mechanisms', 'genetic-associations', 'target-safety'). The returned schema includes types from the specified categories plus their dependencies expanded. Available categories: - cancer-genomics: Cancer-specific genomic evidence from Cancer Gene Census, IntOGen, cancer biomarkers databases, and cancer hallmarks. Identifies cancer driver genes and somatic mutations. - cl
Input
categories: arraycategories: arrayrequiredList of category names to filter the schema. Returns only types relevant to the specified categories.
get_type_dependenciesoutputSchema declaredGet schema subsets for types, separated by specific and shared deps. Given a list of type names, returns SDL (Schema Definition Language) organized into type-specific dependencies and shared dependencies. Args: type_names (list[str]): List of GraphQL type names to start exploration from. (examples: ['Target', 'Drug']) Returns: (dict[str, str]): Dictionary with one key per input type: SDL for types ONLY reachable from that type and 'shared' key: SDL for types reachable from multiple input types.
Input
type_names: arraytype_names: arrayrequiredList of GraphQL type names to start exploration from.
query_open_targets_graphqloutputSchema declaredExecute GraphQL queries against the Open Targets Platform API. WORKFLOW - Follow these steps in order: Step 1: RESOLVE IDENTIFIERS If user provides common names (gene symbols, disease names, drug names), use `search_entity` tool FIRST to convert them to standardized IDs: - Targets/Genes: "BRCA2" -> ENSEMBL ID "ENSG00000139618" - Diseases: "breast cancer" -> EFO/MONDO ID "MONDO_0007254" - Drugs: "aspirin" -> ChEMBL ID "CHEMBL1201583" - Variants: Use "chr_pos_ref_alt" format or rsIDs Example: search_entity(query_string="BRCA2", entity_names=["target"]) Step 2: LEARN QUERY STRUCTURE Call `get_ope
Input
query_string: string, variables?: anyquery_string: stringrequiredGraphQL query string starting with 'query' keyword.
variables?: anyoptionalOptional dict or JSON string with query variables.
search_entitiesoutputSchema declaredSearch for entities across multiple types using the Open Targets Platform search API. This tool performs a streamlined entity search that returns the id and entity type for up to 3 matching entities across targets, diseases, drugs, variants, and studies. Supports multiple query strings in a single call - each query is executed independently and results are returned in a dictionary keyed by the query string. Args: query_strings (list[str]): List of search queries. (examples: ['BRCA1', 'aspirin']) Returns: (dict[str, list[SearchEntitiesFoundEntity]]): Top 3 hits for each query string, with entit
Input
query_strings: arrayquery_strings: arrayrequiredList of search queries.