[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [New Hampshire bill details](https://spiral.ai/integrations/opencode/new-hampshire-bill-details)

# How to Use New Hampshire bill details in opencode

Returns a New Hampshire bill's status, sponsors, docket history, and recorded roll calls. Use it to reconstruct what happened to a known bill and distinguish committee actions from floor votes.

|  |  |
| --- | --- |
| Model | New Hampshire bill 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 New Hampshire bill details in opencode

- Use New Hampshire bill details for SB416 and add a dated docket timeline to this project's legislative research page.
- Use New Hampshire bill details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from New Hampshire bill details and tell me what changed since last week.
- Check New Hampshire bill details and summarize what you find in three bullet points.
- Pull the newest data from New Hampshire bill details and give me the result as a table.

## How to set up New Hampshire bill 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 New Hampshire bill 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": "gc-nh-gov/legislation/get_bill",
    "input": {
      "bill_number": "<bill_number>"
    }
  }'
```

Then paste one of the prompts above: opencode finds New Hampshire bill details on Spiral, shows the price and runs it.

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

## New Hampshire bill details tools and prices

- [New Hampshire General Court (NH legislature) · Get bill](https://spiral.ai/tools/alexandria/gc-nh-gov/legislation/get_bill) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| include_member_votes |  | — | Add each legislator's vote to every roll call (reads the 5 MB vote file). |

## What can you do with New Hampshire bill details in opencode?

Build a New Hampshire legislative reference in your project that connects bill histories with public officials' sponsorship and voting records. Use the returned records to populate timelines, directories, or tables that retain the wording of each vote's motion.

### Prepare a municipal policy brief

Find legislation about municipal taxation, identify the relevant officials and their committees, and connect sponsorship, docket actions, and recorded votes in a brief for a town administrator.

### Build a school funding research packet

Locate education funding proposals, identify Education or Finance committee officials, and assemble their sponsorship records, bill histories, and motion-specific votes for a school board briefing.

### Check a legislative news story

Find the bill behind a claim, identify the officials involved, and check their sponsorship and voting records against the docket before describing who proposed or supported a measure.

### Research legislation affecting local businesses

Find employment or licensing proposals, identify sponsors and committee officials, and summarize their legislative work, the bills' progress, and recorded decisions for a business association.

### Reconstruct a bill's path

Locate a proposal and turn its docket into a dated timeline of referrals, hearings, committee reports, and floor actions.

### Create a classroom legislative case study

Choose a New Hampshire proposal and show how sponsorship, committee work, amendments, and recorded votes contributed to its legislative history.

## Overview

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

## New Hampshire bill details in other agents

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

## More opencode guides

- [NOAA storm event details](https://spiral.ai/integrations/opencode/noaa-storm-event-details)
- [New Hampshire bill search](https://spiral.ai/integrations/opencode/new-hampshire-bill-search)
- [NOAA storm data publication status](https://spiral.ai/integrations/opencode/noaa-storm-data-publication-status)
- [New Hampshire election calendar](https://spiral.ai/integrations/opencode/new-hampshire-election-calendar)
- [NOAA annual storm records](https://spiral.ai/integrations/opencode/noaa-annual-storm-records)
- [New Hampshire election documents](https://spiral.ai/integrations/opencode/new-hampshire-election-documents)

## Questions about New Hampshire bill details in opencode

**Can opencode use New Hampshire bill details?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run New Hampshire bill details like any built-in tool.

**How much does New Hampshire bill 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 New Hampshire bill details in opencode?**

No. Spiral runs New Hampshire bill 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 New Hampshire bill details in opencode?**

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

**Does opencode wait while New Hampshire bill details runs?**

New Hampshire bill details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which legislative years does this data cover?**

The documented coverage is New Hampshire's 2025–2026 biennium. Treat it as that legislative period rather than a complete historical archive.

**How fresh are the underlying bill records?**

The General Court says its current bill-status download refreshes on file access. That describes the source file's refresh behavior, not a guaranteed delay between legislative action and its appearance in a response.

**Does a yes vote always mean support for passing the bill?**

No. New Hampshire's records distinguish motions: HB292, for example, has separate floor-amendment and passage motions in the 2026 Senate voting record. Read the motion alongside the vote.

**Are absences counted as no votes?**

The source schema separates four tally categories: yeas, nays, present, and absent. Keep those categories separate when summarizing participation or vote totals.

**Where can I obtain an official voting record?**

The General Court directs readers to the House Clerk or Senate Clerk for official copies of legislators' voting records.

