/openstates-mcp-server:openstates-guidefrom openstates-mcp-server
Identifier chains and gates for the openstates_* tools (US state legislatures via Open States). Use when tracing a state bill's fate, votes, or sponsors; finding who represents a location and their committees; finding hearings; or comparing states. Read before naming a bill, reporting who voted how, or concluding that a record, vote, or hearing does not exist.
Ships in openstates-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
State legislatures through Open States: bills, votes, legislators, committees, and hearings for the 50 states, DC, and the five US territories, scraped from each legislature's site and trailing it by hours to days.
| ID | Form | Comes from | Feeds |
|---|---|---|---|
| Jurisdiction | ocd-jurisdiction/country:us/state:tx/government; tools also take Texas or tx | openstates_list_jurisdictions | every jurisdiction input, including the jurisdiction resource URI |
| Session | 89R, 892, 20252026, 2025-2026 | the identifier of each legislative session from openstates_get_jurisdiction | session filters, the openstates_get_bill path lookup |
| Bill (OCD) | ocd-bill/<uuid> | id on openstates_search_bills results | openstates_get_bill direct lookup, copied verbatim |
| Bill (legislature) | HB 2, SB 1090 | a bill's identifier, its related bills, event agenda entries | openstates_get_bill with jurisdiction and session |
| Person | ocd-person/<uuid> | legislator results, sponsorships, vote positions, committee memberships | openstates_search_people by id; the bill sponsor filter |
| Committee | ocd-organization/<uuid> | openstates_search_committees | openstates_get_committee; the parent filter for subcommittees |
| Event | ocd-event/<uuid> | openstates_search_events | openstates_get_event |
A person ID is stable across sessions. A bill's IDs are not: a bill reintroduced next session gets a new identifier and a new OCD ID.
Pin the session before naming a bill. A bill identifier is unique only within one session of one jurisdiction. HB 2 is a different bill in every session, special sessions included, and Texas's 2025 alone runs 89R, 891, and 892. Read the sessions from openstates_get_jurisdiction, choose by start and end dates, and pass the exact identifier, never a year or the session's name. When "this session" spans a regular session and called sessions, say which one you answered for.
Unicameral bodies have no upper or lower chamber. Nebraska and DC classify their members and bills as legislature, so an upper or lower chamber filter matches nothing there. Leave chamber filters off; on openstates_search_people, the legislature role filter returns their members.
Read votes one event at a time. A bill usually carries several vote events (committee, each reading, concurrence, both chambers), and their motion text can be identical: all five vote events on Texas's 89R HB 2 read "passage". Identify each by its date and tally, and match it to the same-date entry in the action history to name the chamber and stage. Never add tallies across events.
An empty vote list is not "no vote". A voice vote leaves no roll call. A bill set aside for its companion carries none of the floor action: when its actions show the companion taken up in its place (Texas: "Companion considered in lieu of"), look up the companion from its related bills with openstates_get_bill, using that bill's listed session and identifier, and read the votes there.
Read status from the whole action history. Action descriptions are each legislature's own wording; the classification tags (introduction, referral-committee, committee-passage, passage, executive-receipt, executive-signature) are what compare across states. Read the full sequence, not the last tag or the latest passage date: tags also land on formalities. Texas tags "Signed in the Senate", a step after both chambers pass the bill, as passage, and the bill's latest passage date follows it.
Committee assignments come from roster scans. No tool looks up a legislator's committees. Page through openstates_search_committees for the jurisdiction with memberships included, 20 to a page, and match on the person ID, not the name.
Find hearings by date, then filter the topic yourself. openstates_search_events takes no keyword. Bound it with dates, include the agenda, and match the topic against agenda descriptions and subjects. Agenda entries name bills by identifier only; resolve each with openstates_get_bill using the jurisdiction, the session in effect on the event date, and that identifier. Most states publish few or no events, and a state's events may link no bills at all, so the bills-on-agenda filter can empty a state that does hold events. Report "no hearings found in Open States", never "no hearings scheduled".
Compare states with full-text search, one state at a time. Subject tags are each state's own scraper vocabulary. California's are run-together phrases (housingdevelopmentapprovals) and Washington assigns none, so a subject filter does not carry across states. Run the same query per jurisdiction with each state's own session pinned, and compare outcomes through action classifications.
Spend upstream requests deliberately. Every uncached call draws on the server's daily request budget (250 by default, shared by every caller of the server) and on Open States' cap of about 10 requests a minute. An identical call you repeat within minutes is served from cache and costs nothing.
A bill's fate and its votes. Sessions from openstates_get_jurisdiction → openstates_get_bill by jurisdiction, session, and identifier, with actions, votes, sponsorships, and related bills included → the companion bill when the gate above applies → openstates_search_people with the linked person IDs of the sponsors or dissenters you name.
Who represents an address. Geocode → openstates_get_legislators_by_location, keeping the state tier → the committee roster scan above for each legislator's assignments.
A legislator's bills across sessions. Pass the person ID as the sponsor filter on openstates_search_bills with no session to cover every session. It matches cosponsorships too, so include sponsorships and check the legislator's own entry when only primary bills count. To follow one bill into a later session, search that session by text and sponsor, since the reintroduced bill carries new IDs.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
openstates-mcp-server@cyanheads is listed by cyanheads/cyanheads — review the source before installing
npx claudepluginhub cyanheads/cyanheads --plugin openstates-mcp-server