Builds geocoding workflows in CARTO that convert street addresses or place names into geographic coordinates. Handles single addresses via MCP and table-scale geocoding via Workflow pipelines.
Ships in carto-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Converts street addresses or place names into geographic coordinates (point geometries) — the essential first step when tabular data has an address column but no spatial column. Two access paths, by scale:
geocode tool answers directly — operations geocode, reverse, and capabilities. No workflow needed. It runs on any MCP host, including sandboxed chat hosts where the CLI can't. Prefer it for interactive requests.carto-create-workflow for the development process, JSON structure, and validation — it covers both paths (MCP create_workflow / validate_workflow / run_workflow when attached; the carto workflows CLI otherwise; routing signals in carto-basics/references/access-paths.md).Over an API-token MCP session the ad-hoc/authoring tools are hidden (read/discovery only) — fall back to the CLI or reconnect over OAuth.
A geocoding workflow follows this pipeline:
Source Table (with address column) -> Geocode -> (Filter successful) -> Save
Use a ReadTable source node (output handle out); use native.gettablebyname only when the table name comes from a workflow variable. The input table must contain a column with address strings (e.g. address, full_address, location).
Success: Node outputs a table with at least one text column containing address data.
native.geocode is not available on PostgreSQL: tell the user table geocoding needs a BigQuery, Snowflake, Redshift, Databricks or Oracle connection; if the table has latitude/longitude columns, native.geogpoint builds the points instead. On Oracle, native.oracle_geocode uses Oracle's own geocoder instead of LDS (fetch its inputs with components get / read_workflow_components).
Use native.geocode with:
| Input | Description | Required |
|---|---|---|
source | Table with address data | Yes |
address | Column containing the address string | Yes |
country | One country for the whole table, picked from the component's English country names (e.g. "United States", "Spain", "Viet Nam"), not an ISO code or a column. For a table spanning several countries, leave it empty and include the country in the address string | No, but strongly recommended |
The address column can contain full addresses ("123 Main St, Springfield, IL 60001") or composite values built from multiple columns (concatenate street + city + postal code in a prior native.selectexpression step).
Two output handles: The geocode component produces two separate outputs:
match: Rows with a non-NULL geom (point). A carto_geocode_metadata column (a JSON string) holds the geocoder's result: address parts plus a quality field that depends on the organization's geocoding provider (relevance on Mapbox, extra.confidence on HERE, matchConfidence on TomTom bulk jobs, only matchType on the CARTO geocoder). A row in match is not proof of a good match.unmatch: Rows where geocoding failed -- geom is NULL; the metadata can carry an error key.Connect downstream nodes to the correct handle based on your needs.
Success: The geocode node is configured with the address column and (ideally) a country filter. Edges connect to the match and/or unmatch output handles.
For the match output:
match after a run (MCP run_workflow method=results, or carto workflows run output <id> <node>) to see which quality field the metadata carries, then add a native.where on match that extracts it in the warehouse's dialect (e.g. BigQuery CAST(JSON_VALUE(carto_geocode_metadata, '$.relevance') AS FLOAT64) >= 0.8). If the metadata has no score (CARTO geocoder), filter on matchType instead.For the unmatch output:
Success: High-confidence geocoded rows are isolated; failed rows are captured for review.
Use native.saveastable to persist the geocoded output — the geom column holds WGS84 (EPSG:4326) points, ready for CARTO Builder or further analysis. Then validate and upload the workflow (MCP create_workflow / validate_workflow, or carto workflows create).
The workflow component wraps the CARTO Analytics Toolbox function GEOCODE_TABLE, which:
geom column with point geometry to each rowcarto_geocode_metadata JSON-string column with the provider's result (see Step 2)unmatch. A cached re-run skips the node and is not billed again; running with no cache (MCP run_workflow noCache: true, CLI carto workflows run --no-cache) geocodes and bills every row again. Tell the user how many rows will be geocoded before running a large table.Check available quota by querying the Analytics Toolbox LDS_QUOTA_INFO() function. The fully-qualified name is provider-specific (BigQuery: `carto-un.carto`.LDS_QUOTA_INFO(); Snowflake: CARTO.CARTO.LDS_QUOTA_INFO(); Databricks: stored procedure in the dedicated AT schema). Load carto-create-workflow and consult references/providers/<provider>.md for the AT path on your warehouse.
match and unmatch. Don't connect to the wrong one -- match has geometries, unmatch has NULL geom. A spatial node on unmatch does not fail; it returns NULL or empty results."123 Main St, Springfield, IL 60001" works better than "123 main street springfield". Include city, state/region, and postal code when available.CARTO_GEOCODE_METADATA, GEOM). When writing dialect-specific SQL or referencing the AT path, see carto-create-workflow/references/providers/<provider>.md.unmatch output is not just noise -- it often reveals data quality issues (missing postal codes, abbreviated city names, non-standard formatting) that can be fixed and re-geocoded.Academy tutorials and workflow templates covering geocoding:
| Resource | Description | URL |
|---|---|---|
| Geocoding (BigQuery AT) | Step-by-step geocoding with Analytics Toolbox for BigQuery | Academy link |
| Geocoding (Snowflake AT) | Step-by-step geocoding with Analytics Toolbox for Snowflake | Academy link |
| Workflow template: Geocode street addresses | Generating new spatial data from addresses | Academy link |
| Variation | How |
|---|---|
| Composite address from multiple columns | Add a native.selectexpression step before geocoding to concatenate street, city, state, zip into one column |
| Geocode + spatial join | Chain: Geocode -> match -> Spatial Join (e.g. point-in-polygon to assign regions) |
| Geocode + enrichment | Chain: Geocode -> match -> Buffer/Isochrone -> Enrich (add demographics around each geocoded point) |
| Capture failures for re-processing | Connect both match and unmatch handles to separate native.saveastable nodes |
| Filter by quality | native.where on the match output, extracting the provider's quality field from carto_geocode_metadata |
What SKILL.md sets; muted values are Claude Code's defaults
/carto-skills:carto-geocodingfrom carto-skills
npx claudepluginhub cartodb/agent-skills --plugin carto-skills24 skills in this plugin
/carto-arcgis-migrationEnd-to-end ArcGIS Portal / AGOL → CARTO migration. Triggers when the user wants to migrate ArcGIS content to CARTO, plan a migration, asks "what's in my Portal", names a Portal/AGOL URL, or asks to migrate the datasets / web maps / simple apps. Runs three phases — discover (enumerate items + write MIGRATION_MANIFEST.md), migrate-data (Hosted Feature Layers / Tables → CARTO tables), migrate-maps (Web Maps + simple Dashboards / Web Experiences / Web Mapping Apps → CARTO Builder maps). Default mode is batch; migrated maps are always tagged `From ArcGIS` and created as private./carto-basicsStart here for first-time CARTO use. Orients on the two parallel access paths into the CARTO platform — the MCP server (the primary path for inline, in-conversation work in chat hosts, including creating and editing maps and Workflows) and the CLI (for scripting, CI/CD, headless and bulk/cross-org work, and deeper administration and auditing such as usage-log queries) — and which skills cover each. Also covers CLI install, authentication, profiles, JSON output, and async job patterns./carto-composite-scoringGuides the user through building composite score workflows when they ask about composite scores, indexes, multi-variable scores, ranking areas, site scoring, market potential, resilience indexes, risk indexes, weighted scores, PCA, or supervised/unsupervised scoring./carto-connect-datawarehouseChoose and configure the data warehouse engine connection for CARTO (BigQuery, Snowflake, Redshift, Postgres, Databricks, Oracle)./carto-create-builder-mapsAuthor, edit, publish, and validate CARTO Builder maps. Use when the user wants to create a map from a natural-language request, edit an existing map (datasets, layers, styling, privacy, popups, widgets, SQL parameters), duplicate one, upload custom marker icons, or wire up an AI agent on a map. Routes to the CARTO MCP server's map tools (`create_map`, `update_map`, `validate_map`, `read_maps`, `view_map`) when attached, and to the `carto maps` CLI — `create`, `update`, `delete`, `publish`, `validate`, `schema`, `agents`, `screenshot`, `copy`, `datasets update` — for scripted/bulk authoring, cross-org copy, screenshots, or when the server isn't attached./carto-create-workflowBuilds, schedules, and operates analytics DAGs in CARTO Workflows — the no-code/low-code orchestration layer over the data warehouse. Triggers when the user wants to author a workflow, run/edit one, schedule a DAG, or copy a workflow across profiles or orgs.Other plugins' skills for the same job