# Open Targets (verified)

Explore drug-target associations and disease-gene evidence. Search targets, diseases, and drugs with genetics and literature-backed data.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add opentargets

# Browse available tools
npx -y @smithery/cli@latest tool list opentargets

# Get full schema for a tool
npx -y @smithery/cli@latest tool get opentargets get_open_targets_graphql_schema

# Call a tool
npx -y @smithery/cli@latest tool call opentargets get_open_targets_graphql_schema '{}'
```

## Direct MCP Connection

Endpoint: `https://opentargets.run.tools`

## Tools (5)

- `get_open_targets_graphql_schema` — Retrieve the Open Targets Platform GraphQL schema filtered by category.
- `get_type_dependencies` — Get schema subsets for types, separated by specific and shared deps.
- `search_entities` — Search for entities across multiple types using the Open Targets Platform search API.
- `query_open_targets_graphql` — Execute GraphQL queries against the Open Targets Platform API.
- `batch_query_open_targets_graphql` — Execute the same GraphQL query multiple times with different variable sets.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get opentargets <tool-name>
```
