Spiral gives your agent every tool with one account. Browse the tools →

Grok · Listings

How to Use ArcGIS dataset search in Grok

Returns public ArcGIS catalog items and their service URLs for topics such as zoning, parcels, and boundaries. Use it to find a publisher's dataset before inspecting its structure or requesting records.

Prompts to try with ArcGIS dataset search in Grok

Copy an example into Grok, or ask in your own words.

Use ArcGIS dataset search to find public zoning datasets for Washington, DC, and summarize the publishers, descriptions, and service links.

ArcGIS dataset searchGrok
Try asking
  • Use ArcGIS dataset search to find public park datasets for Portland, Oregon, and compare their stated geographic coverage.

  • Use ArcGIS dataset search to look this up and give me the result as a table.

  • Pull the latest numbers from ArcGIS dataset search and tell me what changed since last week.

  • Check ArcGIS dataset search and summarize what you find in three bullet points.

How to set up ArcGIS dataset search in Grok

Pick the way that suits you. Each takes about two minutes.

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run ArcGIS dataset search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "arcgis-com/gis-layers/search_datasets",
        "input": {
          "q": "<q>"
        }
      }'

Then paste one of the prompts above: Grok finds ArcGIS dataset search on Spiral, shows the price and runs it.

ArcGIS dataset search providers and prices

Spiral runs ArcGIS dataset search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings
ArcGIS public GIS layers · Search datasets
arcgis-com/gis-layers/search_datasets

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 100001

page

Sortrelevance, modified, views, or titlerelevance

sort

Typeany, feature_service, or map_serviceany

Service type; feature services support the richest queries.

Limit1 to 5020

limit

Every API field of ArcGIS public GIS layers · Search datasets is on its tool page: open its card above.

What can you do with ArcGIS dataset search in Grok?

Prepare a location research brief using public ArcGIS zoning, flood, and boundary data. A chat app can help identify a suitable dataset, explain its published structure, and summarize matching records.

Research zoning for a commercial site

Find the jurisdiction's zoning service, inspect its district fields, and retrieve the published zoning records around a proposed business location.

Screen locations for published flood information

Locate a public flood layer, inspect its classifications, and retrieve matching records around candidate warehouse or retail sites for an initial comparison.

Identify administrative districts

Find public boundary layers, check their geographic coverage and district fields, and look up which published boundaries contain a business or public facility.

Prepare a public land research brief

Find park or public land datasets for a study area, inspect their attributes, and assemble matching records into a brief with publisher references.

Compare replacement GIS datasets

Find candidate services for an existing map, compare their fields and coverage, and inspect sample records before choosing a replacement.

Build a regional data extract

Find a suitable public service, inspect its field definitions and record ceiling, and retrieve the required geographic subset in pages for analysis.

Questions about ArcGIS dataset search in Grok

Can Grok use ArcGIS dataset search?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run ArcGIS dataset search like any built-in tool.

How much does ArcGIS dataset search cost in Grok?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

Do I need an Alexandria account to use ArcGIS dataset search in Grok?

No. Spiral runs ArcGIS dataset search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up ArcGIS dataset search in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while ArcGIS dataset search runs?

ArcGIS dataset search runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

Does ArcGIS provide complete coverage for every location?

ArcGIS hosts data from thousands of publishers, and each catalog item has its own geographic extent. Check that extent and the publisher's description for the jurisdiction you need; a search match alone does not establish complete coverage.

How can I tell how fresh an ArcGIS dataset is?

The catalog's modified timestamp dates the item, while a layer's last-edit timestamp, when exposed, dates edits to the layer. These describe different events, so an item modification alone does not establish when its records changed.

Can I retrieve every dataset matching a broad search?

ArcGIS catalog search exposes only the top 10,000 matching items through pagination. Narrow broad searches by topic, geography, or publisher before trying to inventory results.

Why can a layer query return only part of a dataset?

Each ArcGIS layer declares a maximum record count for a single query. That server-side ceiling can require retrieving records in pages rather than treating one response as the whole dataset.

Does every ArcGIS record contain a location?

ArcGIS services can contain both spatial feature layers and nonspatial tables. Feature query responses can include geometry; records from nonspatial tables do not.

Get started

Start using ArcGIS dataset search in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options