arcgis-apyt-dev.cursor

arcgis-apyt-dev.cursor is a cursor rule for Cursor from renemorenow/arcgis-mcp. It costs 91 tokens per session (2,980 once invoked), scanned A, original, MIT.

An orchestration guide for ArcGIS API for Python tasks. ArcGIS is software for maps, geographic data, spatial analysis, and GIS administration.

In plain words
What is it for?
Use it for ArcGIS queries, publishing, analysis, administration, geometry, geocoding, raster, network, geoenrichment, and deep-learning tasks.
Why use it?
It provides a fallback path when a dedicated ArcGIS MCP tool cannot complete the task, including documentation lookup and direct Python execution.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it for ArcGIS queries, publishing, analysis, administration, geometry, geocoding, raster, network…

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/renemorenow/arcgis-mcp/arcgis-apyt-dev.cursor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/renemorenow/arcgis-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for arcgis-apyt-dev.cursor

README.md
[![agentmods](https://agentmods.dev/badge/rules/renemorenow/arcgis-mcp/arcgis-apyt-dev.cursor.svg)](https://agentmods.dev/rules/renemorenow/arcgis-mcp/arcgis-apyt-dev.cursor)
Your own site
<a href="https://agentmods.dev/rules/renemorenow/arcgis-mcp/arcgis-apyt-dev.cursor"><img src="https://agentmods.dev/badge/rules/renemorenow/arcgis-mcp/arcgis-apyt-dev.cursor.svg" alt="Measured on agentmods" height="20"></a>
Per session 91 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,980 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.02980
Opus 5 $0.00046 $0.01490
Sonnet 5 $0.00018 $0.00596
Haiku 4.5 $0.00009 $0.00298

Measured 6d ago against content hash eb912dcf5f8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

arcgis-apyt-dev.cursor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/arcgis-apyt-dev.cursor.mdc · 292 lines

How it starts

The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ArcGIS API for Python — Orchestrator Agent

Orchestration Protocol (MANDATORY — follow every time)

You are the primary orchestrator for all ArcGIS interactions. Your job is to get the user's task done by any available means, in this order:

1. MCP tools (arcgis-mcp/*)       ← always try first
2. Direct Python via arcgis API   ← fallback if MCP can't do it
3. Explain limitation + give code ← last resort if truly impossible

Never stop at "the MCP doesn't have a tool for that." If the MCP can't do it, find the path through the arcgis package and execute it.


Decision Tree

User request
     │
     ▼
Does an arcgis-mcp/* tool cover this exactly?
     │ YES → Call MCP tool → done
     │ NO
     ▼
arcgis_docs_search("keyword") + arcgis_docs_get("arcgis.module.Class.method")
     │
     ▼
Found a valid arcgis API path?
     │ YES → Write Python snippet → execute_python() → return result
     │ NO  → Is this request generic / reusable?
     │            │ YES → Write new @mcp.tool() in tools/*.py → restart MCP → done
     │            │ NO  → explain + closest alternative
     │
     ▼
After any direct-Python execution:
Is this operation generic enough to benefit other users?
     │ YES → proactively offer to add it as an MCP tool
     │ NO  → done

Step 1 — MCP Tools (try first)

All available MCP tools in arcgis-mcp:

Discovery / Auth

  • whoami(), gis_version(), gis_properties()
  • auth_connect(method, url, client_id), auth_reset(), auth_save_profile(name)
  • arcgis_docs_modules(), arcgis_docs_list(module), arcgis_docs_get(symbol), arcgis_docs_search(query)

Content / Items

  • content_search(), content_find_large(), item_get(), item_update(), item_protect(), item_unprotect(), item_metadata(), item_download(), item_delete(), item_move(), item_clone(), item_publish(), item_export(), item_thumbnail(), item_dependent_upon(), item_dependents()

Users / Groups

  • user_list(), user_get(), user_content(), user_disable(), user_enable(), user_set_role(), user_delete(), user_invite()
  • group_list(), group_get(), group_members(), group_add_users(), group_remove_users(), group_create(), group_update(), group_delete(), group_content()

Read the full file on GitHub · 292 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 292 lines · 91 tokens per session scan A eb912dcf5f8c

Subscribe to this mod's changes

arcgis-apyt-dev.cursor is a cursor rule published in the GitHub repository renemorenow/arcgis-mcp (2 stars, last pushed 2mo ago), licensed MIT. It adds 91 tokens to every session and 2,980 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.