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

VS Code · Lead Gen

How to Use U.S. House representative roster in VS Code

Returns the House Clerk’s current roster, with state and party filtering. Use it to identify a delegation and find Bioguide IDs before researching individual profiles or votes.

Prompts to try with U.S. House representative roster in VS Code

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

Use U.S. House representative roster to look this up and give me the result as a table. Save the result in ./assets.

U.S. House representative rosterVS Code
Try asking
  • Pull the latest numbers from U.S. House representative roster and tell me what changed since last week.

  • Check U.S. House representative roster and summarize what you find in three bullet points.

  • Pull the newest data from U.S. House representative roster and give me the result as a table.

  • Check U.S. House representative roster every morning and tell me only when something changed.

How to set up U.S. House representative roster in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code 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 U.S. House representative roster

    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/members",
        "input": {
          "party": "D"
        }
      }'

Then paste one of the prompts above: VS Code finds U.S. House representative roster on Spiral, shows the price and runs it.

U.S. House representative roster providers and prices

Spiral runs U.S. House representative roster through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
U.S. House Clerk roll call votes and members · Members
clerk-house-gov/legislative-votes/members

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
PartyD, R, or I

party

Every API field of U.S. House Clerk roll call votes and members · Members is on its tool page: open its card above.

What can you do with U.S. House representative roster in VS Code?

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.

Current delegation reference guide

Create a state delegation guide with district, party, and committee assignments. Use the roster to identify the representatives and individual profiles to supply their official legislative context.

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.

Questions about U.S. House representative roster in VS Code

Can VS Code use U.S. House representative roster?

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

How much does U.S. House representative roster cost in VS Code?

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

Do I need an Alexandria account to use U.S. House representative roster in VS Code?

No. Spiral runs U.S. House representative roster 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 roster in VS Code?

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

Does VS Code wait while U.S. House representative roster runs?

U.S. House representative roster runs in the background. VS Code 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.

Get started

Start using U.S. House representative roster in VS Code

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

Paste this into VS Code:

Set up VS Code

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