Skip to main content
Glama

ARCclaude

An open-source MCP server that gives AI assistants complete access to the ArcGIS Pro ecosystem.

ARCclaude connects Large Language Models — Claude, GPT, Gemini, local models, or anything that speaks MCP — to ArcGIS Pro through ArcPy. It is not a chatbot that answers GIS questions: it's a copilot that does the work — running geoprocessing tools, writing and debugging ArcPy, inspecting projects and data, automating maps, and building complete analysis pipelines from natural language.

"Buffer every school in the city by 500 m, clip to the district boundary, and tell me how many parcels intersect" — and it actually happens, in your local ArcGIS Pro install, with full messages and outputs reported back.

How it works

Claude / GPT / any MCP client
        │  MCP over stdio
        ▼
ARCclaude server (lightweight Python, managed by uv)
        │  JSON-lines over pipes
        ▼
ArcPy worker — persistent session on ArcGIS Pro's own Python
        ▼
ArcGIS Pro  (all licensed tools & extensions)

The mental model (read this first)

There is no chat window inside ArcGIS Pro, and you never "open" ARCclaude. The relationship is flipped:

  1. You talk to your AI app (Claude Desktop, Claude Code, Cursor, …) in plain English: "Create a shapefile of the 5 largest lakes in Ontario with name and area fields."

  2. The AI drives ArcGIS Pro's engine through ARCclaude, in the background — Pro doesn't even need to be running.

  3. You open the results in Pro like any other data: Map → Add Data → your new shapefile/geodatabase is just there, fields and all.

Pro can be open at the same time; just avoid pointing both Pro and the AI at the same geodatabase simultaneously (file locks). An in-Pro chat panel is on the roadmap (Phase 3).

Two design decisions make this robust:

  1. Esri's Python environment is never modified. The worker script uses only the standard library + arcpy, so nothing is ever installed into arcgispro-py3. No env cloning, no admin rights, upgrade-safe.

  2. The arcpy session is persistent. The slow arcpy import (~20–60 s license checkout) is paid once; after that every call is fast, and variables persist across calls like a REPL — the AI can build up state over a long workflow.

Related MCP server: ArcGIS Pro MCP

Requirements

  • Windows with ArcGIS Pro 3.x installed and licensed

  • uv (installs its own Python — you don't need one)

Install (everyone) — one command, then just talk to Claude

You do not need this repo, git, or any coding. Paste one line into PowerShell:

irm https://raw.githubusercontent.com/thaparSAAB14/ARCclaude/main/install.ps1 | iex

It checks ArcGIS Pro, installs what's needed, and auto-connects ARCclaude to Claude Desktop and Claude Code. Then open Claude Desktop (or Claude Code) and just talk: "make a shapefile of the 3 biggest parks near me." That's the whole product — Claude is the interface; ARCclaude works invisibly underneath. Re-running the same line updates you to the latest version.

Note: Claude must run on the same PC as ArcGIS Pro (Claude Desktop or Claude Code). The claude.ai website in a browser cannot reach software on your machine — a hosted/remote mode is on the roadmap.

Manual install (nerds)

git clone https://github.com/thaparSAAB14/ARCclaude.git
cd ARCclaude
uv sync

New to this? The complete setup guide walks through everything from a blank machine, including client configs and troubleshooting.

Claude Code

The repo ships a project-scoped .mcp.json, so opening this folder in Claude Code just works. To register it globally instead:

claude mcp add arcclaude --scope user -- uv --directory C:\path\to\arcclaude run arcclaude

Claude Desktop

Add to %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "arcclaude": {
      "command": "uv",
      "args": ["--directory", "C:\\path\\to\\arcclaude", "run", "arcclaude"]
    }
  }
}

Any other MCP-capable client (Cursor, Windsurf, open-source agents, GPT/Gemini via MCP adapters) configures the same way: uv --directory <repo> run arcclaude over stdio.

Tools

Tool

What it does

arcpy_execute

Run any Python/ArcPy code in the persistent session (REPL semantics)

pro_live_execute

Cowork mode: run code inside the user's OPEN ArcGIS Pro app — live map changes, CURRENT project

search_gp_tools

Search all ~1800 geoprocessing tools, incl. extension toolboxes

describe_gp_tool

Syntax + full documentation for any GP tool

run_gp_tool

Execute a GP tool by name with parameters; returns outputs + messages

create_features

Make vector data from GeoJSON — shapefiles or geodatabase feature classes, fields auto-created, geometry type inferred

export_features

Read any vector dataset back as GeoJSON (SQL where filter, row limit)

export_to_qgis

Convert a whole .aprx to a QGIS project (.qgz) — layers, CRS, symbology carried across, free (details)

describe_data

Dataset profile: type, CRS, extent, fields, row count

list_workspace

Inventory a geodatabase or folder

inspect_project

Maps, layers, sources, layouts of an .aprx

session_status

License level, workspace, live session variables

restart_session

Kill and restart the ArcPy session (clears state, releases locks)

Because discovery is dynamic (arcpy.ListTools), newly installed extensions and custom toolboxes are exposed automatically — no code changes needed.

No Claude subscription? The nerd door (terminal chat)

ARCclaude also ships a standalone agentic CLI (bring your own API key — Anthropic, OpenAI, Gemini-compat, Groq, or a free local model via Ollama):

uv run arcclaude login    # one-time: pick provider, paste key
uv run arcclaude chat     # Codex-style AI GIS terminal

Works in any Windows terminal, including ArcGIS Pro's own Python Command Prompt.

Cowork mode — live changes in the OPEN ArcGIS Pro

An open project is locked to outside processes, so ARCclaude ships a Live Link: run uv run arcclaude live, paste the printed one-liner into Pro's Python window (View ribbon → Python), and the AI can now drive the session you're looking at — add layers to the current map, restyle, zoom, save — via the pro_live_execute tool.

Cowork rules (experimental feature): while active, Pro's Python window is busy — don't type more commands into it, and don't close Pro to end it. Stop from any terminal with uv run arcclaude live stop; it also auto-exits after 10 minutes with no commands. See PRODUCT.md for the architecture — the Phase-3 add-in replaces this with proper in-app threading.

Security model

arcpy_execute runs arbitrary Python code on your machine with your permissions. That is the point — it's what makes the copilot universal — but understand it:

  • Run it only with MCP clients that show you tool calls and let you approve them (Claude Code and Claude Desktop both do).

  • The worker inherits your ArcGIS license and file access; it can edit and delete data you can.

  • Never expose the server over a network transport without adding authentication.

Configuration

Environment variable

Purpose

Default

ARCCLAUDE_ARCGIS_PYTHON

Explicit path to arcgispro-py3\python.exe

auto-discover (registry → known paths)

ARCCLAUDE_STARTUP_TIMEOUT

Seconds to wait for arcpy import

180

ARCCLAUDE_REQUEST_TIMEOUT

Default per-request timeout (seconds)

300

Project documents

Full index: docs/README.md. The essentials:

  • Setup guide — complete walkthrough: install, client configs, troubleshooting

  • Security & privacy — data flow, offline mode, network surface (read this, IT folks)

  • Comparison — vs. Esri's Pro Assistant, community MCP servers, and Kue

  • Vision — the full scope this project is building toward

  • Architecture — design decisions and worker protocol

  • Roadmap — phased plan from this MVP to the full vision

  • Contributing

Status

Alpha (v0.5.0). The core execution engine works end-to-end. The surface area of the vision — Pro SDK add-in for live session control, ArcGIS Online/Enterprise, open-data connectors — is roadmap. Issues and PRs welcome.

License

Apache-2.0. ArcGIS, ArcPy and ArcGIS Pro are trademarks of Esri. This is an independent community project, not affiliated with or endorsed by Esri.

Available Tools

12 tools
arcpy_executeA

Execute Python code in the persistent ArcPy session.

arcpy is already imported. Variables persist between calls, so you can build up state across multiple invocations. If the last statement is a bare expression its repr is returned (like a REPL). stdout is captured.

Use this for anything ArcPy can do: geoprocessing, arcpy.da cursors, arcpy.mp map automation, raster algebra, arcpy.Describe, etc.

Inputs: code (required), timeout_seconds. Returns: result

create_featuresA

Create vector data (shapefile or geodatabase feature class) from GeoJSON.

This is the fastest way to MAKE data from scratch: emit a GeoJSON FeatureCollection and pick an output path. output_path decides the format: C:\data\roads.shp creates a shapefile, C:\data\my.gdb\roads a file-geodatabase feature class. Attribute fields are created from the feature properties automatically. Coordinates must be WGS84 lon/lat (the GeoJSON spec); use run_gp_tool 'Project_management' afterwards if you need another CRS. Existing outputs are overwritten. The geometry type is inferred from the data; set geometry_type (POINT, MULTIPOINT, POLYLINE, POLYGON) only when the collection mixes types and you must pick one. Returns a description of the created dataset.

Inputs: geojson (required), output_path (required), geometry_type, timeout_seconds. Returns: result

describe_dataB

Describe a dataset: type, spatial reference, extent, fields, row count.

Works on feature classes, shapefiles, rasters, tables, workspaces — anything arcpy.Describe understands.

Inputs: path (required). Returns: result

describe_gp_toolB

Get the syntax and full documentation for a geoprocessing tool.

Inputs: tool (required). Returns: result

export_featuresA

Read vector data (shapefile, feature class, layer) as GeoJSON.

The inverse of create_features — lets you inspect actual geometries and attributes. Optional where is a SQL where-clause to filter rows (e.g. "POP > 10000"); limit caps returned features (response says if truncated). Output coordinates are WGS84.

Inputs: path (required), limit, where, timeout_seconds. Returns: result

inspect_projectB

Inspect an ArcGIS Pro project (.aprx): maps, layers, data sources, layouts and default geodatabase.

Inputs: path (required). Returns: result

list_workspaceB

Inventory a workspace (geodatabase or folder): feature classes, rasters, tables and datasets it contains.

Inputs: path (required). Returns: result

pro_live_executeA

Execute Python INSIDE the currently open ArcGIS Pro application.

Unlike arcpy_execute (headless background session), this runs in the live Pro session the user is looking at: arcpy.mp.ArcGISProject("CURRENT") works, added layers appear immediately, the open project can be saved. Requires the user to have cowork mode running — if no listener responds, the error includes the exact one-liner they must paste into Pro's Python window. Variables persist between calls (separate namespace from arcpy_execute). Caution: prefer data/layer/symbology operations; avoid rapid or repeated view/camera manipulation, which can destabilize Pro. Pass action as a short human label ("Applying symbology") - it shows in the user's add-in activity log. House rules: don't create new .aprx files, maps, layouts or layers unless the user asked; after changing a map or layout, call its .openView() so the change appears instantly.

Inputs: code (required), action, timeout_seconds. Returns: result

restart_sessionA

Restart the ArcPy worker process. Clears all session variables and releases any locks/licenses. Use after a hang, crash, or to free state.

Inputs: no named parameters. Returns: result

run_gp_toolA

Run a geoprocessing tool by name and return its outputs and messages.

tool accepts either the flat name ('Buffer_analysis') or module form ('analysis.Buffer'). Positional parameters go in args, named parameters in kwargs. Use describe_gp_tool first if unsure of the signature.

Inputs: tool (required), args, kwargs, timeout_seconds. Returns: result

search_gp_toolsA

Search all available geoprocessing tools (including extension toolboxes).

Space-separated terms are ANDed, matched against tool names like 'Buffer_analysis'. Empty query lists everything (up to limit).

Inputs: limit, query. Returns: result

session_statusA

Check the ArcPy session: license level, workspace, live variables. Starts the session if it isn't running yet (first start is slow).

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 12 tools

    Disambiguation4/5

    Tools are mostly distinct, with clear descriptions differentiating similar ones like arcpy_execute (headless) and pro_live_execute (live Pro session). Potential confusion between run_gp_tool and arcpy_execute for running tools, but descriptions clarify the structured vs. open-ended usage.

    Naming Consistency3/5

    Naming pattern is inconsistent: some tools follow verb_noun (create_features, describe_data), others start with product name (arcpy_execute, pro_live_execute), and one is noun_noun (session_status). The use of underscores and abbreviations (gp) also varies.

    Tool Count5/5

    With 12 tools covering code execution, data creation/description, project inspection, session management, and tool searching, the count is well-scoped for an ArcPy/ArcGIS Pro server. No tools feel redundant or missing for core functionality.

    Completeness4/5

    The surface covers essential operations: code execution, data import/export, metadata inspection, project browsing, and tool running. Minor gaps exist (e.g., no direct update/delete features tool, no raster management), but these are achievable via arcpy_execute, making the set nearly complete.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables natural language control of live ArcGIS Pro sessions through the Model Context Protocol, allowing inspection of projects, layers, and attributes, and execution of geoprocessing tasks.
      25
      3
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Lets AI assistants control a live ArcGIS Pro session through arcpy, including layer management, attribute queries, geoprocessing, symbology, and export.
      114
      76
      AGPL 3.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to externally drive a running ArcGIS Pro instance to run GP tools and Python, with real-time human-readable feedback in the Pro panel.
      8
      MIT