[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Montana GIS search](https://spiral.ai/integrations/muse-code/montana-gis-search)

# How to Use Montana GIS search in Muse Code

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

|  |  |
| --- | --- |
| Model | Montana GIS search |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Montana GIS search in Muse Code

- 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.
- 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 Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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.

```bash
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.

```bash
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: Muse Code finds Montana GIS search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Montana GIS search tools and prices

- [Montana State Library MSDI framework layers · Search](https://spiral.ai/tools/alexandria/ftpgeoinfo-msl-mt-gov/gis-layers/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | next_cursor from the previous page. Carries the layer, the segment/filter, the pinned publication (editingInfo.dataLastEditDate) and the last OBJECTID. When the layer has been republished since, the call fails with invalid_input and issue code `publication_changed`: restart from page one. Pattern: ^[0-9a-f]+$. |
| segment |  | — | Optional county restriction (parcels: CountyName; addresses: County; roads: County_L). Pattern: ^[A-Za-z][A-Za-z .'-]*$. |
| page_size | 1 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_owner |  | — | 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. |

## What can you do with Montana GIS search in Muse Code?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Montana GIS search in other agents

- [Amp](https://spiral.ai/integrations/amp/montana-gis-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/montana-gis-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/montana-gis-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/montana-gis-search)
- [Cline](https://spiral.ai/integrations/cline/montana-gis-search)
- [Codex](https://spiral.ai/integrations/codex/montana-gis-search)
- [Cursor](https://spiral.ai/integrations/cursor/montana-gis-search)
- [Devin](https://spiral.ai/integrations/devin/montana-gis-search)
- [dots](https://spiral.ai/integrations/dots/montana-gis-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/montana-gis-search)
- [Gemini](https://spiral.ai/integrations/gemini/montana-gis-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/montana-gis-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/montana-gis-search)
- [goose](https://spiral.ai/integrations/goose/montana-gis-search)
- [Grok](https://spiral.ai/integrations/grok/montana-gis-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/montana-gis-search)
- [Hermes](https://spiral.ai/integrations/hermes/montana-gis-search)
- [Instinct](https://spiral.ai/integrations/instinct/montana-gis-search)
- [Manus](https://spiral.ai/integrations/manus/montana-gis-search)
- [Muse](https://spiral.ai/integrations/muse/montana-gis-search)
- [n8n](https://spiral.ai/integrations/n8n/montana-gis-search)
- [Notion](https://spiral.ai/integrations/notion/montana-gis-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/montana-gis-search)
- [opencode](https://spiral.ai/integrations/opencode/montana-gis-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/montana-gis-search)
- [Raycast](https://spiral.ai/integrations/raycast/montana-gis-search)
- [VS Code](https://spiral.ai/integrations/vscode/montana-gis-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/montana-gis-search)
- [Zapier](https://spiral.ai/integrations/zapier/montana-gis-search)

## More Muse Code guides

- [Montana GIS records](https://spiral.ai/integrations/muse-code/montana-gis-records)
- [Montana address and road updates](https://spiral.ai/integrations/muse-code/montana-address-and-road-updates)
- [Montana GIS record lookup](https://spiral.ai/integrations/muse-code/montana-gis-record-lookup)
- [Montgomery County permit details](https://spiral.ai/integrations/muse-code/montgomery-county-permit-details)
- [Montana GIS publication status](https://spiral.ai/integrations/muse-code/montana-gis-publication-status)
- [Montgomery County permit search](https://spiral.ai/integrations/muse-code/montgomery-county-permit-search)

## Questions about Montana GIS search in Muse Code

**Can Muse Code use Montana GIS search?**

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

**How much does Montana GIS search cost in Muse Code?**

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

**Do I need an Alexandria account to use Montana GIS search in Muse Code?**

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 Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Montana GIS search runs?**

Montana GIS search runs in the background. Muse Code 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.

