# Model Context Protocol

{% hint style="warning" %}
The MCP is under active development and experimentation. All feedback is welcome in <https://community.opentargets.org>
{% endhint %}

The Open Targets Platform Model Context Protocol (MCP) server provides a purpose-built interface and instructions to access and interpret the data and analyses in the Open Targets Platform using AI.

MCP Servers are part of a standardised interface for AI agents to interact with data sources using the [Model Context Protocol](https://modelcontextprotocol.io/docs/getting-started/intro).

### Ways to connect

* **Remote Server**: Connect directly to Open Targets hosted endpoint available in `https://mcp.platform.opentargets.org/mcp`
* **Local Server:** Run a local MCP server using uvx or Docker

More detailed information can be found in the [MCP server github repository](https://github.com/opentargets/open-targets-platform-mcp).

Claude provides [a detailed tutorial](https://claude.com/resources/tutorials/using-the-open-targets-connector-in-claude) on how to add the MCP as a connector.

<figure><img src="/files/XQGahytQRfDPMDyoqwkL" alt=""><figcaption><p>Remote Server + Sonnet 4.5 + Open Targets Platform 25.12 data</p></figcaption></figure>

{% hint style="info" %}
The Platform documentation you are reading here is also available as an MCP in `https://platform-docs.opentargets.org/~gitbook/mcp`
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://platform-docs.opentargets.org/data-access/model-context-protocol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
