[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Montana county tax details](https://spiral.ai/integrations/opencode/montana-county-tax-details)

# How to Use Montana county tax details in opencode

Returns one county's published tax base, property class summary, or oil and gas collections and distributions. Use it for a focused county brief or to inspect a figure from a statewide comparison.

|  |  |
| --- | --- |
| Model | Montana county tax details |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Montana county tax details in opencode

- Use Montana county tax details for Gallatin County's 2023 tax base report and add its property type breakdown to this project's county dashboard.
- Use Montana county tax details for Richland County in the FY 2026 Q2 oil and gas distribution report and add a table separating collections, distributions, and fund allocations.
- Use Montana county tax details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Montana county tax details and tell me what changed since last week.
- Check Montana county tax details and summarize what you find in three bullet points.

## How to set up Montana county tax details in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 county tax details**: 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": "revenue-mt-gov/property-tax/records_get",
    "input": {
      "county": "<county>",
      "report": "tax_base"
    }
  }'
```

Then paste one of the prompts above: opencode finds Montana county tax details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Montana county tax details tools and prices

- [Montana Department of Revenue publications · Records get](https://spiral.ai/tools/alexandria/revenue-mt-gov/property-tax/records_get) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| edition |  | — | `county_summaries` only, `YYYY-YYYY`; default newest. |
| quarter | 1 to 4 | — | `oil_gas_distribution` only, with `fiscal_year`. |
| tax_year | 2000 to 2100 | — | `tax_base` only; default newest. |
| fiscal_year | 2000 to 2100 | — | `oil_gas_distribution` only, with `quarter`; default newest. |

## What can you do with Montana county tax details in opencode?

Build a Montana county tax comparison into a dashboard or reporting script. A coding agent can use publication metadata, county tables, or county details to turn published tax figures into charts and reviewable calculations.

### County budget briefing

Prepare a Gallatin County briefing on property values and tax allocations. Confirm the publication period, inspect the county's figures, and compare its tax mix with other counties from the same report.

### Residential tax burden comparison

Compare residential shares of property taxes across Montana counties. Use statewide totals for context, county tables for the comparison, and individual county details to examine the largest differences.

### Property class change report

Compare assessed value, taxable value, and taxes between the two years in a county summary edition. Establish the edition and statewide baseline, compare counties, and inspect the property classes behind each change.

### Agricultural land analysis

Compare reported acreage and taxable values for irrigated land, non-irrigated land, and grazing land. Select a county summary edition, calculate county comparisons, and examine agricultural counties such as Fergus in detail.

### Oil and gas revenue briefing

Explain how reported oil and gas collections differ from distributions in Richland, Fallon, and Roosevelt counties. Establish the report period and totals, compare county amounts, and inspect the fund allocations for a selected county.

### School tax allocation explainer

Show where a county's property tax dollars go in the annual tax tables. Compare school allocations across counties, inspect Yellowstone County's breakdown, and place the findings beside the report's statewide totals.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Montana county tax details in other agents

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

## More opencode guides

- [Mass.gov service overview](https://spiral.ai/integrations/opencode/mass-gov-service-overview)
- [Montana county tax tables](https://spiral.ai/integrations/opencode/montana-county-tax-tables)
- [Mass.gov page search](https://spiral.ai/integrations/opencode/mass-gov-page-search)
- [Montana tax report status](https://spiral.ai/integrations/opencode/montana-tax-report-status)
- [Mass.gov office locations](https://spiral.ai/integrations/opencode/mass-gov-office-locations)
- [NASA Exoplanet Archive planet details](https://spiral.ai/integrations/opencode/nasa-exoplanet-archive-planet-details)

## Questions about Montana county tax details in opencode

**Can opencode use Montana county tax details?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Montana county tax details like any built-in tool.

**How much does Montana county tax details cost in opencode?**

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

**Do I need an Alexandria account to use Montana county tax details in opencode?**

No. Spiral runs Montana county tax details 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 county tax details in opencode?**

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

**Does opencode wait while Montana county tax details runs?**

Montana county tax details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which places do these publications cover?**

These are Montana tax publications. The 2023 annual tax base report covers all 56 counties, with market value, taxable value, and taxes by property class.

**How fresh are the figures?**

Freshness depends on the publication: tax base tables are annual, county summaries appear in the biennial report, and oil and gas distributions are quarterly. The department delivers the biennial report every other year.

**Does the biennial edition name identify the tax years?**

Read the table headings before comparing editions. The 2022-2024 county summary appendix contains tax years 2023 and 2024, including assessed value, taxable value, average mills, and taxes.

**Does an oil and gas file's fiscal quarter match its production quarter?**

The labels can differ. The FY 2026 Q2 county distribution file was run October 28, 2025, and prints a quarter ending June 30, 2025.

**How far back do the published archives go?**

The oil and gas index includes FY 2015 Q1, while the biennial report page directs readers to Archive.org for reports before 2000. Those archive references do not establish the API's available history.

