How to Use U.S. House representative vote in Codex
Returns one representative’s recorded position on a specified House roll call. Use it to check a particular vote without retrieving the positions of the entire chamber.
Prompts to try with U.S. House representative vote in Codex
Copy an example into Codex, or ask in your own words.
Use U.S. House representative vote to retrieve Pete Aguilar’s position on roll call 145 of the 119th Congress, first session, and add the result to this project’s legislative report.
Use U.S. House representative vote 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 vote and tell me what changed since last week.
Check U.S. House representative vote and summarize what you find in three bullet points.
Pull the newest data from U.S. House representative vote and give me the result as a table.
How to set up U.S. House representative vote in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run U.S. House representative vote
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": "clerk-house-gov/legislative-votes/member_vote", "input": { "roll": 1, "session": 1, "congress": 101, "bioguide_id": "<bioguide_id>" } }'
Then paste one of the prompts above: Codex finds U.S. House representative vote on Spiral, shows the price and runs it.
U.S. House representative vote providers and prices
Spiral runs U.S. House representative vote through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Roll | 1 to 9999 | roll | |
| Session | 1 to 2 | session | |
| Congress | 101 to 200 | congress |
Every API field of U.S. House Clerk roll call votes and members · Member vote is on its tool page: open its card above.
What can you do with U.S. House representative vote in Codex?
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.
Check a claim about a legislative vote
Find a bill’s roll calls and verify the precise vote being discussed. Compare a named public official’s recorded position with the complete result before writing a correction or explanation.
More on U.S. House representative vote and Codex
Overview
U.S. House representative vote in other agents
Questions about U.S. House representative vote in Codex
Can Codex use U.S. House representative vote?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run U.S. House representative vote like any built-in tool.
How much does U.S. House representative vote cost in Codex?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need an Alexandria account to use U.S. House representative vote in Codex?
No. Spiral runs U.S. House representative vote 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 vote in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while U.S. House representative vote runs?
U.S. House representative vote runs in the background. Codex 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.
Start using U.S. House representative vote in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


