> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exploratory.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Use it with AI

> How to ask from the server MCP, import data with the Desktop MCP, and use the local Data Catalog from AI.

MCP is the connection method that lets an AI such as Claude read data in Exploratory. You can ask an AI agent questions about published data, or have it import the data into Desktop.

## Ask from the server MCP

1. In the list, check that the "MCP Access" column shows "Enabled". If it is off, turn it on in "Set access" on [Use it on the server screen](https://docs.exploratory.io/en/data-catalog/server-ui.md)
2. Connect the server MCP to the AI tool you use. See the [instructions for each client](https://docs.exploratory.io/en/mcp/server/clients/apps)
3. Ask with the title you used when publishing. Replace "Sales Orders (Line Items)" in the example below with the title of your own data

```text theme={null}
Using Exploratory, give me the total sales by region for "Sales Orders (Line Items)", largest first. Also tell me the aggregation method you used and the data as-of date.
```

In the image, ❶ is the input box of the AI tool, with the request above entered.

![](https://mintcdn.com/exploratory-inc/m3CUIOLDVoEJv7VU/en/data-catalog/images/en/dc-server-12.png?fit=max\&auto=format\&n=m3CUIOLDVoEJv7VU\&q=85\&s=c2ce12ba622116b88b5af25f5733332b)

4. In the answer, check the sales total for each region. In the image, ❶ is the table of the answer and ❷ is the explanation of the aggregation method. The image does not show the rest of the answer. AI reads the definitions you approved, and then aggregates

![](https://mintcdn.com/exploratory-inc/m3CUIOLDVoEJv7VU/en/data-catalog/images/en/dc-server-13.png?fit=max\&auto=format\&n=m3CUIOLDVoEJv7VU\&q=85\&s=8c9d01b6c94023dc8f409b09f71e21bd)

The server MCP tools are used like this.

* `dataframe_get_schema` returns the approved definitions when you get the full detail (`full`). A definition that became "Needs Review", for example after the data changed, comes with a warning. AI reads these definitions before it aggregates
* `query_dataset` filters and aggregates the data on the server. On an on-premises server, it is available only when the administrator has enabled it

## Give AI only the results it needs

When you ask for an aggregation with `query_dataset`, the server calculates the filtering, grouping, aggregation, and joining with DuckDB (the engine that aggregates the data inside the server). An AI agent can receive the aggregated result without reading pages of rows. When it asks for the original rows, or uses another read tool, the returned rows become part of the conversation. See [Server MCP data and permissions](https://docs.exploratory.io/en/mcp/server/data.md) for details.

As for speed, in tests during development, data of several million to tens of millions of rows came back within one second. The actual speed depends on the network between the AI agent and the server.

## Import server data into Desktop with the Desktop MCP

You can ask an AI (such as Claude Code) that is connected to the Desktop MCP to import data from the server Data Catalog into a Desktop project. This works with Exploratory Desktop 17.0 or later.

1. Sign in to the Exploratory Desktop that you import into
2. Connect the Desktop MCP to the AI tool you use. See [Get started with the Desktop MCP](https://docs.exploratory.io/en/mcp/desktop/get-started)
3. Ask with the title of the data and the name of the project to import into. Replace "Sales Orders (Line Items)" and the project name in the example below with your own. You can also ask by giving the URL of the data page

```text theme={null}
Import "Sales Orders (Line Items)" from the Data Catalog on the Exploratory server into the "[project name]" project in Exploratory Desktop.
```

In the image, ❶ is the input box, with the title of the data and the project name "Getting Started Guides" entered.

![](https://mintcdn.com/exploratory-inc/m3CUIOLDVoEJv7VU/en/data-catalog/images/en/dc-import-01.png?fit=max\&auto=format\&n=m3CUIOLDVoEJv7VU\&q=85\&s=7ba6438c98d1cbcc8716d805be780d73)

4. The AI may ask which project to import into. If it does, answer like "Import it into the \[project name] project". If the project you named does not exist, the AI asks whether to create it first; the image shows that case, where the AI created the project after approval and then imported. To follow these steps with an existing project, name a project that already exists. In the image, ❶ is the AI's explanation of the result: the data frame name, the numbers of rows and columns, and the columns

![](https://mintcdn.com/exploratory-inc/m3CUIOLDVoEJv7VU/en/data-catalog/images/en/dc-import-02.png?fit=max\&auto=format\&n=m3CUIOLDVoEJv7VU\&q=85\&s=8c59a1c0c80d2b2666d928ab60d988ab)

5. Go back to Exploratory Desktop, open the project you specified, and check that the data frame has been created. In the image, ❶ points to the new data frame in the list on the left. Check the "Data Catalog" step in the Steps panel on the right too; the image does not mark it

![](https://mintcdn.com/exploratory-inc/m3CUIOLDVoEJv7VU/en/data-catalog/images/en/dc-import-03.png?fit=max\&auto=format\&n=m3CUIOLDVoEJv7VU\&q=85\&s=07a8a137eb3a10c5d6f2fb4eca6e176b)

To import from the screen while filtering and joining, see [Import from the Data Catalog (Desktop)](https://docs.exploratory.io/en/data-catalog/import.md).

## Use the local Data Catalog from AI

From an AI (such as Claude) connected to the Desktop MCP, you can search the local Data Catalog, read the data, and filter, group, aggregate, or join it. The local Data Catalog works without putting data on the server.

* Only data whose "MCP" checkbox is checked in the list is visible to AI agents. Unchecking it hides the data. The next image shows a list where all 3 items are checked (in the image, ❶ is the data name and ❷ is the "MCP" column)

![](https://mintcdn.com/exploratory-inc/PEWjC3G2Y-TiWHnG/en/data-catalog/images/en/dc-local-list.png?fit=max\&auto=format\&n=PEWjC3G2Y-TiWHnG\&q=85\&s=58d90fc692f07771efe3dc2ffc763ca5)

* You can also add semantic information to local data. AI aggregates using the definitions you approved. See [Semantic information](https://docs.exploratory.io/en/data-catalog/semantics.md)
* You can check access to the data on the "Access Log" tab of the details screen

For the tools you can use and when you are asked for confirmation, see these pages.

* [Desktop MCP tools](https://docs.exploratory.io/en/mcp/desktop/tools.md)
* [Data and permissions](https://docs.exploratory.io/en/mcp/desktop/data.md)
* [Permissions and settings](https://docs.exploratory.io/en/mcp/desktop/permissions.md)
* [Server MCP tools](https://docs.exploratory.io/en/mcp/server/tools.md)
* [Server MCP data and permissions](https://docs.exploratory.io/en/mcp/server/data.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.