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

Codex · Listings

How to Use Montana GIS search in Codex

Returns Montana GIS records matching a targeted attribute query. Use it to investigate particular parcels, addresses, or roads without collecting an entire county inventory.

Prompts to try with Montana GIS search in Codex

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

Use Montana GIS search to find Main Street road records in Missoula County and add the returned names and address ranges to our data-quality report.

Montana GIS searchCodex
Try asking
  • Use Montana GIS search to look this up and give me the result as a table. Save the result in ./assets.

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

  • Check Montana GIS search and summarize what you find in three bullet points.

  • Pull the newest data from Montana GIS search and give me the result as a table.

How to set up Montana GIS search in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 Montana GIS 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": "ftpgeoinfo-msl-mt-gov/gis-layers/search",
        "input": {
          "layer": "<layer>",
          "where": "<where>"
        }
      }'

Then paste one of the prompts above: Codex finds Montana GIS search on Spiral, shows the price and runs it.

Montana GIS search providers and prices

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

AlexandriaListings
Montana State Library MSDI framework layers · Search
ftpgeoinfo-msl-mt-gov/gis-layers/search

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page size1 to 2000

Rows per page; default and maximum is the layer's maxRecordCount (2000; 1000 for addresses). A 2000-row parcel page is about 2.3 MB.

Exclude owneron or off

parcels only: do not request the MCA 2-6-1017 owner fields (OwnerName, OwnerAddress1-3, OwnerCity, OwnerState, OwnerZipCode, DbaName, CareOfTaxpayer); owner is then null. Ignored on other layers.

Every API field of Montana State Library MSDI framework layers · Search is on its tool page: open its card above.

What can you do with Montana GIS search in Codex?

Build a county GIS inventory that supports road-name checks, address review, and parcel research in your project. A coding agent can compare collected records, inspect selected identifiers, and prepare updates when Montana publishes new data.

Maintain a county road inventory

Build a Gallatin County road inventory, check for new publications, and incorporate dated updates. Search for roads needing review and retrieve individual records to inspect their address ranges.

Review public-facility addresses

Maintain an address reference for public facilities in Lewis and Clark County. Collect a baseline, monitor publications and dated edits, search candidate addresses, and recheck selected source records.

Prepare address data for broadband planning

Build a county address inventory for planning analysis, refresh it as publications change, and investigate specific address records. Summarize geographic counts without creating profiles of residents.

Investigate road-name inconsistencies

Compare road names and address ranges across a Missoula County inventory. Monitor updated records, search suspected inconsistencies, and recheck individual segments before preparing a data-quality report.

Research commercial-site parcels

Collect county parcel attributes and investigate parcels associated with a proposed commercial site. Compare acreage, assessed values, and tax districts, then recheck selected parcel identifiers before drafting a screening brief.

Questions about Montana GIS search in Codex

Can Codex use Montana GIS search?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Montana GIS search like any built-in tool.

How much does Montana GIS search cost in Codex?

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

Do I need an Alexandria account to use Montana GIS search in Codex?

No. Spiral runs Montana GIS 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 Montana GIS search in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while Montana GIS search runs?

Montana GIS search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

How often is Montana parcel data published?

Montana State Library publishes cadastral files monthly for each county. That is a publication schedule, not a promise that every underlying parcel changed that month.

What does Montana's address dataset cover?

It covers addresses statewide and selected structure types, including schools, airports, and fire stations. It is not limited to residential address points.

How many address records can the source return per query?

The address feature service publishes a maximum record count of 1,000. Larger collections require pagination.

How quickly do public-land changes appear?

The public-lands metadata says changes can take a few weeks to over a year to appear, depending on the source. A recent publication can therefore contain older land-status information.

Does a conservation easement mean the public can enter the land?

No. Montana explicitly states that these data do not imply public access to any lands.

Get started

Start using Montana GIS search in Codex

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

Paste this into Codex:

Set up Codex

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