For the complete documentation index, see llms.txt. This page is also available as Markdown.

CARTO MCP Server

The CARTO MCP Server is the fastest way to put the CARTO platform inside your AI assistant. Through the Model Context Protocol (MCP), agents like Claude, ChatGPT, Gemini Enterprise, and Microsoft Copilot Studio can work with your CARTO account directly in the conversation: explore connected data warehouses, create and edit Builder maps, author and run Workflows, render maps inline, and reach organization admin — all in natural language, over a single URL.

What your agent can do

Once connected, your agent has a broad set of CARTO tools available. It picks the right one from your natural-language request — you don't need to know tool names.

Capability
What the agent can do

Explore data

List connections, browse and search warehouse tables, inspect column distributions, and locate named sources and saved maps.

Create & edit maps

Build a Builder map from a table or SQL query, restyle layers, add widgets and popups, set privacy, and open the result — reading and updating existing maps in place.

Build & run workflows

Author an analytical workflow (filter, spatial join, group-by, enrich), validate it, run it in sync or async mode, and schedule it.

Query & analyze

Run spatial SQL, geocode addresses, compute isolines and routes, and enrich with the Data Observatory.

Import & export

Bring geospatial files into the warehouse, export results back out, and move data between connections.

Manage your workspace

Work with connections, credentials, named sources, and projects — and, for admins, users, org settings, and activity data.

Full per-tool documentation is in the MCP Tools Reference. Your team extends this catalog by publishing any Workflow as an MCP tool.

Interactive maps render inline only in MCP clients that support MCP Apps — Claude.ai, ChatGPT, and Claude Desktop today. In clients that don't, the map tool returns a text confirmation; ask the agent for the map URL and open it in CARTO instead.

Before you start: enable CARTO AI

The MCP Server lives under CARTO AI, so an Organization Admin must have CARTO AI enabled for your org first. It's the organization-wide master switch in Settings > CARTO AI — when it's off, no AI capability (the MCP Server included) is available to anyone in the org. See CARTO AI for how to turn it on. If the Developers > Workflow API & MCP Server page below is missing or empty, this is the first thing to check.

Get your MCP Server URL

Find the MCP Server URL in your CARTO Workspace under Developers > Workflow API & MCP Server (in the CARTO AI section). It follows this pattern:

If your organization signs in to CARTO through single sign-on (SSO), use the separate SSO login URL shown below the standard one. It routes the interactive login through your identity provider, so members authenticate with their SSO credentials:

The Workflow API & MCP Server page in CARTO Workspace, showing the Standard login and SSO login MCP Server URLs

Choose how to authenticate

How you authenticate decides how much of CARTO your agent can use. This is the most important setup decision.

Method
Best for
What the agent gets

Interactive clients — Claude, ChatGPT, Gemini, Copilot, Snowflake, Databricks

The full tool surface, including creating and editing maps, authoring workflows, and admin. Each person signs in as themselves.

Unattended, service-to-service access

The full surface, with no interactive login, via an M2M OAuth client.

Quick read-and-discovery setups, and hosts that only accept a static token (Oracle)

A read-and-discovery subset that depends on the token's Allowed APIs — browse data, run SQL, poll (not start) Workflow runs, search the Data Observatory. No map or Workflow authoring, no admin.

Claude and Claude Code connect with just the URL — no OAuth client to create, nothing to register. Other clients use a self-service SPA OAuth client. See Connecting with OAuth.


Available tools

The CARTO MCP Server ships with a catalog of built-in tools, organized by category. Your team adds to it by publishing Workflows as MCP tools. Full per-tool documentation, including every parameter, is in the MCP Tools Reference.

Category
What it covers

Create, update, validate, read, and render Builder maps.

Create, run, schedule, and inspect Workflows, plus any your team publishes as MCP tools.

Explore connections and tables, run SQL, geocode, route, import/export, and enrich with the Data Observatory.

Manage users, credentials, projects, and activity data.

CARTO is expanding the MCP surface over time. If there's a platform capability you'd like exposed as a tool, get in touch.

Last updated

Was this helpful?