[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [U.S. House representative voting history](https://spiral.ai/integrations/opencode/u-s-house-representative-voting-history)

# How to Use U.S. House representative voting history in opencode

Returns a current representative’s recent roll call positions from the House Clerk. Use it to review recent voting activity, with 10 rows per page and additional pages available.

|  |  |
| --- | --- |
| Model | U.S. House representative voting history |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with U.S. House representative voting history in opencode

- Use U.S. House representative voting history for Pete Aguilar, Bioguide ID A000371, and build a table of his latest 30 returned voting records in this project.
- Use U.S. House representative voting history to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from U.S. House representative voting history and tell me what changed since last week.
- Check U.S. House representative voting history and summarize what you find in three bullet points.
- Pull the newest data from U.S. House representative voting history and give me the result as a table.

## How to set up U.S. House representative voting history 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 U.S. House representative voting history**: 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": "clerk-house-gov/legislative-votes/member_votes",
    "input": {
      "bioguide_id": "<bioguide_id>"
    }
  }'
```

Then paste one of the prompts above: opencode finds U.S. House representative voting history on Spiral, shows the price and runs it.

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

## U.S. House representative voting history tools and prices

- [U.S. House Clerk roll call votes and members · Member votes](https://spiral.ai/tools/alexandria/clerk-house-gov/legislative-votes/member_votes) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 1000 | — | Page of 10 rows, 1 by default. The continuation cursor is the next page number. |

## What can you do with U.S. House representative voting history in opencode?

Build a House voting dashboard that connects roll call results with current representatives and their districts. Coding agents can turn the Clerk’s records into searchable tables and links between a representative’s position and the complete vote.

### Local newsroom delegation coverage

Identify a state’s current delegation, add district and committee context, and review recent voting activity. Find the relevant roll calls, check individual positions, and explain the chamber’s result in a local legislative report.

### Trade association legislative briefing

Prepare a factual briefing on House action affecting an industry. Combine the relevant delegation and committee assignments with recent voting records, bill roll calls, individual positions, and overall results.

### Civics lesson with actual House records

Build a lesson around a state delegation and a real bill. Introduce the representatives and their committee work, review recent activity, then compare a specific representative’s position with the complete roll call.

### Public legislative reporting dashboard

Populate a dashboard with a current delegation directory, representative profiles, recent voting records, searchable roll calls, and detailed results. Let readers move from a representative’s recorded position to the chamber-wide vote.

### Recent voting activity digest

Summarize recent roll call positions for a current delegation. Add the full vote result when readers need to understand how an individual position compared with the chamber.

## Overview

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

## U.S. House representative voting history in other agents

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

## More opencode guides

- [U.S. House representative vote](https://spiral.ai/integrations/opencode/u-s-house-representative-vote)
- [U.S. House roll call details](https://spiral.ai/integrations/opencode/u-s-house-roll-call-details)
- [U.S. House representative roster](https://spiral.ai/integrations/opencode/u-s-house-representative-roster)
- [U.S. House roll call search](https://spiral.ai/integrations/opencode/u-s-house-roll-call-search)
- [U.S. House representative profile](https://spiral.ai/integrations/opencode/u-s-house-representative-profile)
- [UK IPO owner trade marks](https://spiral.ai/integrations/opencode/uk-ipo-owner-trade-marks)

## Questions about U.S. House representative voting history in opencode

**Can opencode use U.S. House representative voting history?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run U.S. House representative voting history like any built-in tool.

**How much does U.S. House representative voting history 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 U.S. House representative voting history in opencode?**

No. Spiral runs U.S. House representative voting history on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up U.S. House representative voting history in opencode?**

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

**Does opencode wait while U.S. House representative voting history runs?**

U.S. House representative voting history runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**How far back do the House Clerk’s online voting records go?**

The online roll call archive begins in 1990, the second session of the 101st Congress. That historical coverage differs from the current roster and recent voting records.

**How quickly does the House publish vote results?**

House roll call tallies are posted online directly following the vote. This describes the House’s publication timing, not a guaranteed refresh interval for an API response.

**Does the representative directory include historical rosters?**

The documented roster covers current representatives. Use the roll call archive for historical votes rather than treating today’s roster as the House’s composition in an earlier Congress.

**How many voting records appear on one page?**

U.S. House roll call search returns 10 results per page. U.S. House representative voting history also returns 10 rows per page and continues with the next page number.

**Why can a search for H.R. 1 return other bills?**

The Clerk’s bill search matches prefixes. HR1 can also match HR1366, so check the complete bill number before using a result.

