> For the complete documentation index, see [llms.txt](https://docs.carto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carto.com/carto-for-agents/connect-your-platform/claude.md).

# Claude

Claude is the simplest CARTO connection. Claude.ai and Claude Desktop support **Client ID Metadata Document (CIMD)** registration, so CARTO recognizes them automatically — there's **no OAuth client to create and nothing to register**. You point Claude at the MCP Server URL and sign in. Both also [render CARTO maps inline](/carto-for-agents/connect-your-platform.md#which-platforms-render-maps-inline) in the conversation.

{% hint style="info" %}
This zero-config sign-in is a property of CIMD, which Claude clients support and most others don't. See [Connecting with OAuth](/carto-for-agents/mcp-server/connecting-with-oauth.md#the-simplest-path-clients-that-support-cimd) for how CARTO handles clients that lack it.
{% endhint %}

For the terminal coding agent, see [Claude Code](/carto-for-agents/connect-your-platform/claude-code.md).

**Before you start:** copy your **MCP Server URL** from CARTO Workspace under **Developers > Workflow API & MCP Server**.

## Claude.ai (web)

1. In Claude, open **Settings > Connectors**.
2. Click **Add custom connector**.
3. Give it a name (e.g. `CARTO`) and paste your **MCP Server URL**.
4. Click **Add**, then **Connect**. You're redirected to CARTO — log in to authorize access.

The CARTO tools are now available in your conversations. Ask something like *"List my CARTO connections"* to confirm.

<figure><img src="/files/HtSebfb7kkUIHG8x3uej" alt=""><figcaption></figcaption></figure>

## Claude Desktop

1. Open **Settings > Connectors**.
2. Click **Add custom connector**.
3. Name it and paste your **MCP Server URL**.
4. Complete the CARTO sign-in when prompted.

{% hint style="info" %}
Claude connects over OAuth, so the agent gets the **full tool surface** — creating and editing maps, authoring Workflows, and admin. If your org uses SSO, use the **SSO login** URL from the Workspace instead.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.carto.com/carto-for-agents/connect-your-platform/claude.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
