# Ottto in Claude and ChatGPT

This page shows you how to connect Ottto to Claude, ChatGPT, Claude Code or Codex, what you can ask, how the answers work, and how to disconnect. To start, go to [Connect Ottto](#connect-ottto).

Ottto in Claude and ChatGPT lets you ask about your AI coding agent usage in your own words, for example what you spent this month or how much of your plan limits you have used. Ottto answers from your own Ottto data, the same data you see in the Ottto web app. It only reads: it cannot change your data or settings.

The Ottto server address is:

```text
https://mcp.ottto.net/mcp
```

:::note[You need]
- An Ottto account with a connected Mac that sends data. Ottto collects data on Macs with Apple silicon and macOS 14 or later. If no Mac is connected to your account (for example, you only use Windows or Linux), the connector has no data to show.
- For Claude or ChatGPT, a plan that lets you add connectors. Claude Code and Codex need no extra plan. See [Requirements](/docs/requirements/).
- Your Ottto sign-in. You sign in with your Ottto account in the browser. You never paste an API key.
:::

If you do not have Ottto yet, follow the [Quickstart](/docs/quickstart/) first.

## Connect Ottto

Ottto is not in the Claude or ChatGPT app directory yet, so searching for it there finds nothing. You add it yourself with the Ottto server address. Open the steps for the app you use. Each section has every step you need, including the address.

<details id="claude">
<summary>Claude: Free, Pro, Max and Ultra plans</summary>

The steps are the same on claude.ai and in the Claude desktop app for Mac or Windows. On the Free plan you can add one custom connector.

1. Open [claude.ai](https://claude.ai) or the Claude desktop app, and sign in.

2. In the sidebar, select **Plugins**.

   If your sidebar shows **Customize** instead, select **Customize**, then the **Connectors** tab.

3. Select **Add** at the top right, then **Add custom connector**.

4. In **Name**, enter `Ottto`.

5. In **MCP server URL**, paste the Ottto server address:

   ```text
   https://mcp.ottto.net/mcp
   ```

6. Select **Continue**. Keep the sign-in settings Claude detects, and select **Continue** or **Add** until the window closes.

7. If Ottto shows a **Connect** button, select it. The Ottto sign-in page opens.

8. Sign in with your Ottto account. Review the permissions on the Ottto screen and select **Allow**.

9. Start a new chat. Select **+** in the message box, open **Connectors** (or **Plugins**), and turn on Ottto.

10. Ask a question, for example "How much did I spend on AI coding agents this month?" The first time, Claude asks before it uses Ottto. Select **Allow once** or **Always allow**.

After you add Ottto on the web or desktop app, it also works in the Claude mobile app.

</details>

<details id="claude-team">
<summary>Claude: Team and Enterprise plans</summary>

An Owner adds Ottto for the organization once. Then each member connects with their own Ottto account.

**Owner: add Ottto for the organization**

1. Open [claude.ai](https://claude.ai) or the Claude desktop app, and sign in as an Owner.

2. Open **Organization settings**, then **Connectors**.

   If your organization settings show **Plugins** instead, open **Plugins**.

3. Select **Add**, point to **Custom**, then select **Web**.

4. In **Name**, enter `Ottto`.

5. In **MCP server URL**, paste the Ottto server address:

   ```text
   https://mcp.ottto.net/mcp
   ```

6. Select **Continue**. Keep the sign-in settings Claude detects, and select **Continue** or **Add** until the window closes.

**Each member: connect your Ottto account**

1. Open [claude.ai](https://claude.ai) or the Claude desktop app, and sign in.

2. In the sidebar, select **Plugins**. If your sidebar shows **Customize** instead, select **Customize**, then the **Connectors** tab.

3. Find Ottto (it is marked as custom) and select **Connect**.

4. Sign in with your Ottto account. Review the permissions on the Ottto screen and select **Allow**.

5. Start a new chat. Select **+** in the message box, open **Connectors** (or **Plugins**), and turn on Ottto.

6. Ask a question, for example "How much did I spend on AI coding agents this month?"

Each member sees only their own Ottto data, limited by their role in Ottto.

</details>

<details id="chatgpt">
<summary>ChatGPT</summary>

You add Ottto as a custom MCP server on chatgpt.com in a web browser. Your ChatGPT plan must allow custom MCP servers. On Business, Enterprise and Edu workspaces, an admin or owner adds it, or gives you permission to.

1. Open [chatgpt.com](https://chatgpt.com) in a web browser and sign in.

2. Open **Plugins** in the sidebar (under **Customize**), or go to [chatgpt.com/plugins](https://chatgpt.com/plugins).

3. Select **Add** at the top right, then **Add custom MCP server**.

4. In **Name**, enter `Ottto`. You can leave **Description** empty.

5. Under **Connection**, keep **Server URL** selected and paste the Ottto server address:

   ```text
   https://mcp.ottto.net/mcp
   ```

6. Under **Authentication**, keep **OAuth**.

7. Read the warning and tick **I understand and want to continue**.

8. Select **Create as a plugin**.

9. If ChatGPT shows **Install** or **Connect** for Ottto, select it. The Ottto sign-in page opens.

10. Sign in with your Ottto account. Review the permissions on the Ottto screen and select **Allow**.

11. On the Ottto plugin page, select **Try in chat**. Or start a new chat, type `@` in the message box and pick Ottto. Then ask your question, for example "How much did I spend on AI coding agents this month?"

</details>

<details id="claude-code">
<summary>Claude Code</summary>

You add Ottto with one command, then sign in from Claude Code. This works whatever model provider Claude Code uses, including Amazon Bedrock and Google Cloud.

1. Open a terminal.

2. Add Ottto for every project:

   ```bash wrap
   claude mcp add --transport http --scope user ottto https://mcp.ottto.net/mcp
   ```

   To add it for the current project only, leave out `--scope user`.

3. Start Claude Code with `claude`.

4. Type `/mcp`, select **ottto**, then select **Authenticate**. Your browser opens the Ottto sign-in page.

5. Sign in with your Ottto account. The Ottto screen says **Connect App on this computer to Ottto**. Select **Allow** only if you just started this sign-in yourself.

6. Back in Claude Code, check that it says `Authentication successful. Connected to ottto.` In `/mcp`, Ottto now shows as connected.

7. Ask a question, for example "How much did I spend on AI coding agents this month?"

</details>

<details id="codex">
<summary>Codex</summary>

You add Ottto and sign in with two commands in the Codex CLI.

1. Open a terminal.

2. Add Ottto:

   ```bash wrap
   codex mcp add ottto --url https://mcp.ottto.net/mcp
   ```

3. Sign in:

   ```bash
   codex mcp login ottto
   ```

   Your browser opens the Ottto sign-in page. If it does not, open the link Codex prints.

4. Sign in with your Ottto account. The Ottto screen says **Connect App on this computer to Ottto**. Select **Allow** only if you just started this sign-in yourself.

5. Back in the terminal, check that Codex says `Successfully logged in to MCP server 'ottto'`.

6. Start Codex with `codex` and ask a question, for example "How much did I spend on AI coding agents this month?"

</details>

Other apps on your computer can connect the same way if they sign in through your browser and come back to `localhost`. Apps that come back through their own link, such as `cursor://`, cannot connect yet.

## What you can ask

Ask in your own words. Some examples:

- "How much did I spend on AI coding agents this month, split by app?"
- "How much of my Claude plan limits have I used, and when do they reset?"
- "What were my five most expensive sessions last week?"
- "Which MCP servers take up the most context in my Claude Code setup?"
- "Which projects cost the most?" Ottto may reply with a few ways to answer this and ask you to pick one.

Ottto can answer questions about:

- Spend and tokens for any period, by model, app, machine, repository or subscription
- Subscription limits, how much you have used and when they reset, and limit alerts
- Sessions and agent runs
- Automation such as skills, templates and agent kinds
- Activity by hour of the day
- The health of your connected apps' data
- MCP servers and how much context they use
- Context, prompt caching and reasoning effort
- Model cost per session
- Changes to your agent configuration over time
- Ottto recommendations
- Provider changes, such as pricing or limit changes from AI providers

## How answers work

Ottto gives Claude and ChatGPT one question tool, `ask_ottto`. Claude or ChatGPT sends it your question (up to 1,024 characters) and shows you the answer.

- **Read-only.** `ask_ottto` reads your Ottto data. It never changes settings, runs SQL or fetches web pages. Answer pages can be stored temporarily.
- **Same data as the web app.** Answers use the data you can see in the Ottto web app, shown the same way. Your Ottto role still applies, so you never see more in Claude or ChatGPT than you see in the web app.
- **One organization.** Answers cover only the Ottto organization you signed in to when you connected.
- **Missing data stays visible.** When data is missing or partial, the answer says so. Ottto never shows unknown cost as zero.

Each question ends in one of these outcomes:

- **An answer.** The data you asked for.
- **A choice.** Ottto needs you to pick what you mean, for example how to group the numbers. Claude or ChatGPT shows you the options. Pick one and ask again.
- **Refused.** Ottto cannot answer this question, for example a request to delete or change data. Use the Ottto web app instead.
- **Temporarily unavailable.** Ottto cannot answer right now. Try again in a few minutes.

Long answers come back in pages. Claude or ChatGPT reads the next page with a second tool, `read_ottto_answer_page`. If an answer page has expired, ask the question again.

## Permissions

When you connect, the Ottto consent screen lists each permission with a short description. All of them are read permissions.

The permission that lets Ottto answer your questions is **Your Ottto data, as the web app shows it**. It lets Ottto answer with the data you can see in the Ottto web app for this organization, shown the same way. It never includes passwords, keys or staff-only data.

The consent screen can also list other read permissions for parts of your account, such as cost, source health, connected apps, saved reports and recommendations.

## Disconnect

You can disconnect Ottto from the AI app, from Ottto, or both.

- **In Claude:** select **Plugins** in the sidebar (or **Customize**, then **Connectors**) and open Ottto. Select **Disconnect** to sign out, or open the **...** menu and select **Remove**. Team and Enterprise Owners remove it for the organization in **Organization settings**.
- **In ChatGPT:** open **Plugins** in the sidebar and select Ottto under **Installed**. Open the **...** menu and select **Disconnect**.
- **In Claude Code:** type `/mcp`, select **ottto**, then **Clear authentication**. This also disconnects it in Ottto. To remove it from Claude Code too, run `claude mcp remove --scope user ottto`. If you added it for one project only, run `claude mcp remove ottto` in that project.
- **In Codex:** `codex mcp logout ottto` signs out on your computer only. Also disconnect it in Ottto, as below.
- **In Ottto:** in the Ottto web app, open **Settings**, then **Connected apps**. Select **Disconnect** next to an app, or **Disconnect all**. Claude Code and Codex show there as **App on this computer**.

Disconnecting in Ottto stops the app's access right away, in every chat. Your Ottto data stays as it is. To connect again, sign in and approve the permissions again.

## Troubleshooting

- **Claude or ChatGPT asks you to sign in again, or shows a 401 error.** Your connection was disconnected or has expired. Remove Ottto from the AI app and connect it again.
- **You connected with an older Ottto address.** Remove that connector and connect again with `https://mcp.ottto.net/mcp`.
- **Ottto tools are missing in Claude.** Start a new conversation, select **+** in the message box and check that Ottto is turned on under **Connectors** (or **Plugins**). If the tools are still missing, remove Ottto and connect it again.
- **"This answer is not available."** The answer page expired or was replaced by a newer answer. Ask the question again.
- **Numbers are empty or partial.** Check in the Ottto web app that your Mac is connected and your apps are reporting.

For more fixes, see [Troubleshooting](/docs/troubleshooting/). To contact Ottto, see [Support](/docs/support/).

## Privacy

Ottto in Claude and ChatGPT follows the [Ottto Privacy Policy](https://app.ottto.net/privacy) and the [Ottto connector privacy supplement](https://app.ottto.net/chatgpt-app/privacy). They state how your questions are processed, how long data is kept and which service providers Ottto uses. For a plain-language overview, see [Privacy and data](/docs/privacy/).

Claude and ChatGPT handle your conversation under their own privacy terms.