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

opencode · Public Records

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.

Prompts to try with Montana county tax details in opencode

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

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.

Montana county tax detailsopencode
Try asking
  • 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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.

    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.

Montana county tax details providers and prices

Spiral runs Montana county tax details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Montana Department of Revenue publications · Records get
revenue-mt-gov/property-tax/records_get

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Reporttax_base, county_summaries, or oil_gas_distribution

Which publication; see source_status.

Quarter1 to 4

oil_gas_distribution only, with fiscal_year.

Tax year2000 to 2100

tax_base only; default newest.

Fiscal year2000 to 2100

oil_gas_distribution only, with quarter; default newest.

Every API field of Montana Department of Revenue publications · Records get is on its tool page: open its card above.

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.

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.

Get started

Start using Montana county tax details in opencode

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

Paste this into opencode:

Set up opencode

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