Skip to content
Skillpedia
βœ“ Official Β· CARTO☁️ RemoteπŸ”‘ Needs an API keyData and databases

CARTO MCP Server

Lets your AI agent query data warehouses, run workflows and render maps from your CARTO workspace.

by CARTOUpdated β€”

How to install

This MCP is remote: it runs in the cloud.

Nothing to install. Copy the address and paste it into your AI app:

Server address

https://<region>.api.carto.com/mcp/<account_id>
  • β€ΊClaude (site or app): Settings β†’ Connectors β†’ Add custom connector.
  • β€ΊChatGPT: Settings β†’ Apps β†’ Create app (developer mode), and paste the address.
  • β€ΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.

Paste in the terminal:

claude mcp add --transport http carto https://<region>.api.carto.com/mcp/<account_id>

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Show me the tables in my connected warehouse and what columns they have.
Build a map from this table and color the layer by population.

What it is

This server puts the CARTO location-data platform inside your AI assistant. The agent can explore connected data warehouses, build and edit maps, author and run workflows, run spatial SQL and manage workspace items. The AI model runs in your assistant, and CARTO only receives the tool calls.

What it can do

  • Explore data: list connections, browse and search warehouse tables
  • Create and edit Builder maps from a table or SQL query
  • Build, validate, run and schedule workflows
  • Run spatial SQL, geocode addresses and compute routes
  • Import and export geospatial files
  • Manage connections, credentials and projects, and admin tasks for admins

When to use

  • β€ΊWhen you want to explore a data warehouse table and make a map from it
  • β€ΊWhen you need to build and run a spatial analysis workflow by describing it
  • β€ΊWhen you want to geocode a list of addresses or compute routes

What you need

A CARTO account. Connect with OAuth for full use, or an API Access Token for a read-and-discovery setup. Copy the server URL from your CARTO Workspace.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it made by CARTO?

Yes. The registry verified that the server is published by the owner of carto.com.

How do I sign in?

With OAuth, where each person signs in as themselves, or with an API Access Token for a read-and-discovery subset. Claude and Claude Code connect with just the URL.

What can the agent do with an API token?

Only a read-and-discovery subset: browse data, run SQL, and check workflow runs. It cannot author maps or workflows.

Where do I find the server URL?

In your CARTO Workspace, under Developers or Settings. Copy it rather than building it by hand.

Do maps show inline?

Only in clients that support MCP Apps, such as Claude.ai, ChatGPT and Claude Desktop. Others return a text confirmation.

Is what the agent does recorded?

Yes. It is recorded in your organization's Activity Data and counts toward your usage quota.

If it does not work

  • β€ΊA bare 405 Not Allowed usually means a wrong URL path. Copy the URL from your CARTO Workspace.
  • β€ΊOn self-hosted deployments the path is your domain plus /api/mcp/ and the account id.
  • β€ΊIf your organization uses single sign-on, use the separate SSO login URL shown in the Workspace.

5 new skills a week. 1 minute to read.