---
title: Telemetry
description: What the Queria CLI and the MCP server record about usage, and how to stop sending it
---

To improve the CLI, the Queria CLI sends usage data that does not say who you are. You can stop it at any time. What the MCP server (`https://mcp.queria.io`) records is described under [MCP server](#mcp-server).

This page covers two separate mechanisms.

| | Usage data (first half) | [Feedback](#sending-feedback) (second half) |
|---|---|---|
| What is sent | Fixed fields such as the command name | Text written by you or an AI agent |
| When it is sent | Automatically (you can stop it) | Only when you tell it to send |
| How to stop it | `queria telemetry disable` | Nothing is sent unless you tell it to |

Usage data never contains text you wrote. Feedback is something you send yourself, when you want to tell us about a request or a defect. The SQL you run with the CLI is sent only [if you said yes](#sql-you-run).

## What is collected

The CLI sends one event per command:

- Command name (`list` / `search` / `sql` and so on)
- Success or failure
- Package version
- Frontend kind (`cli`)
- Target dataset name (only when given as a command argument)
- Whether it ran under an agent (detected from known Claude Code / Codex environment variables)
- An anonymous client ID (randomly generated on first run and saved to `~/.config/queria/config.toml`)

## What is not collected

- SQL query text (unless [you said yes](#sql-you-run))
- File paths and output contents
- Personal information such as names or email addresses
- IP addresses (never stored)

## Where events go

Events are sent only to Queria's own endpoint, `telemetry.queria.io`. Nothing is sent to third-party analytics services.

When an [API token](/en/authentication) is registered, usage is associated with that account. `queria logout` (or `queria auth clear`) stops the association. If you pass the token through the `QUERIA_TOKEN` environment variable, unset that variable as well.

## SQL you run

You can also send the SQL you run with `queria sql`, and why it failed. It is not sent by default.

The first time you use the CLI at a terminal, it asks once whether to send it. Pressing Enter without typing anything means no. When nobody can answer at a terminal, as when an AI agent runs the CLI or in a pipe or CI, it does not ask and nothing is sent.

What is sent: the SQL, success or failure and the reason, the number of rows returned, how long it took, `--datasets`, and the same client ID and version as above. The results themselves are not sent. A query that reads your own files or a URL (one containing `'sales.csv'` or `read_parquet(...)`, say) is not sent at all. Comments in the SQL are removed before sending. When an [API token](/en/authentication) is registered, it is associated with that account, as usage data is.

It is used the same way as on the remote MCP server below: only inside Queria, to find gaps in the data and the docs. It is not used to train AI models and is not shared outside Queria (see section 2 of the [privacy policy](https://queria.io/legal/privacy-policy), Japanese only).

To change it later:

```bash
queria telemetry enable --sql    # send it
queria telemetry disable --sql   # stop sending it (usage data is still sent)
```

Turning usage data off with `queria telemetry disable` or `DO_NOT_TRACK=1` stops the SQL as well.

## MCP server

On the MCP server (`https://mcp.queria.io`), Queria's server records one event each time the AI calls a tool. The fields are the same as for the CLI above, with the frontend `remote-mcp`:

- Tool name, success or failure, and the target dataset name
- How the calling client identifies itself (its User-Agent)
- The account and API token you connected

Queria also records what each call asked for and how it was processed. Results are not recorded. We use it only inside Queria, to learn which data is used and make data easier to find. It is not used to train AI models and is not shared outside Queria (see section 2 of the [privacy policy](https://queria.io/legal/privacy-policy), Japanese only). Do not put anything you want to keep private into a call.

## Opting out

Disable with any of the following:

```bash
queria telemetry disable        # saved to the config file (telemetry = false)
queria telemetry status         # check the current state
```

Environment variables also work:

```bash
export DO_NOT_TRACK=1           # the standard variable (consoledonottrack.com)
export QUERIA_NO_TELEMETRY=1
```

To re-enable, run `queria telemetry enable`.

:::note
On the first run, a one-time telemetry notice is printed to stderr. At a terminal, it then asks whether to send your SQL.
:::

## Sending feedback

Reports a dataset request, a data defect, or a documentation error to Queria. **Nothing is sent unless you ask for it.**

```bash
queria feedback send "I need childcare waiting-list counts by municipality" --kind dataset_request
```

Before sending, the exact payload is printed and you are asked to confirm.

```
This sends the text below to Queria so we can act on it. Do not include
credentials, personal data or query results.
Privacy policy: https://queria.io/legal/privacy-policy
To: https://telemetry.queria.io/feedback
  agent: claude-code
  app_version: 0.15.0
  client_id: 81b4805ebe12423ebd1494c590ca89a3
  kind: dataset_request
  submitted_via: human
  message: |
    I need childcare waiting-list counts by municipality
Send this? [Y/n]
```

`--kind` says what sort of report it is.

| Value | Use for |
|---|---|
| `dataset_request` | The data is not in the catalog at all |
| `docs_issue` | The documentation is wrong, missing something, or unclear |
| `cli_issue` | The CLI or the MCP server misbehaves |
| `other` | Anything else, including plain thanks (default) |

For wrong, stale or missing data, open an [issue](/en/exploring-datasets#create-an-issue) on the dataset instead (on the CLI, [`queria dataset issue create`](/en/reference/cli#queria-dataset-issue)).

Add `--dataset <name>` when the report is about a specific dataset. It is what lets us count how many separate machines asked for the same thing, which is how requests get prioritised.

`--yes` skips the confirmation prompt. It does **not** skip printing the payload. Outside a terminal (no TTY), running without `--yes` exits without sending, because the prompt cannot be answered.

### What is sent

- The message (up to 4000 characters; it is sent as written, so anything longer is refused rather than truncated)
- The kind, and the dataset name
- The anonymous client id (the same one as usage data), the tool version, the frontend (`cli` / `remote-mcp`), and the agent runtime name

There is no contact field. If you need a reply and have no API token configured, say so in the message.

:::note
**Do not put query results, personal data, or credentials in the message.** If your configured API token, a string starting with `qk_`, or a known AWS access-key or private-key pattern is detected, the CLI prints the reason and refuses to send rather than masking anything.
:::

### Letting an AI agent send it

With an account connected to the [MCP server](/en/mcp), the AI can send on your behalf with [`submit_feedback`](/en/reference/mcp-tools#submit_feedback). The first call only returns a draft and sends nothing; the AI shows you the full text and sends only after you approve.

:::note
`QUERIA_NO_TELEMETRY` / `DO_NOT_TRACK` have no effect on feedback. Those refuse automatic collection. Either way, feedback is never sent unless you ask for it.
:::

How submissions are handled is set out in article 6 of the [privacy policy](https://queria.io/legal/privacy-policy). To have something you sent deleted, contact us through that policy (`queria feedback status` shows your client id).
