Skip to main content
Glama

Server Details

Search bills, legislators, committees, and events across all 50 US states, DC, and 5 US territories.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
cyanheads/openstates-mcp-server
GitHub Stars
3
Server Listing
@cyanheads/openstates-mcp-server
ChatGPT
–
Claude
–

TDQS

A4.4/5.0

Scored across 10 tools

Disambiguation5/5

Each tool targets a distinct resource and action: get_* fetches a single entity, search_* queries lists, and list_jurisdictions enumerates coverage. The only near-overlap (search_people vs. get_legislators_by_location, or get_jurisdiction vs. list_jurisdictions) is explicitly disambiguated in the descriptions (names/IDs vs. coordinates, single detail vs. full listing). Descriptions also cross-reference each other to steer tool choice.

Naming Consistency5/5

All ten tools share the openstates_ prefix followed by a consistent verb_noun pattern (get_bill, search_bills, list_jurisdictions), entirely in snake_case. No mixed conventions or vague verbs anywhere in the set.

Tool Count5/5

Ten tools map cleanly onto the domain's resources (bills, committees, events, people, jurisdictions) with a search/get pairing for each plus a geolocation lookup. Nothing feels redundant or missing at the count level; every tool earns its place.

Completeness4/5

The surface covers discovery and detail retrieval across all major entities, with includes folding votes, actions, sponsorships, documents, and offices into detail calls. Minor gaps remain — no standalone person-detail tool beyond search_people by ID, and no bulk/multi-bill fetch — but core legislative research workflows are fully supported.

Available Tools

10 tools
openstates_get_billGet BillA
Read-onlyIdempotent
Inspect

Fetch full detail for a specific state bill. Accepts either the three-part path (jurisdiction + session + bill_id) or a direct OCD bill ID (openstates_id from search results). Use include to request votes, actions, sponsorships, documents, and versions in one call rather than searching again. include=votes returns the full vote tally and per-legislator positions. include=actions returns the complete action history. Prefer openstates_id when available to avoid session identifier lookup.

Inputs: bill_id, include, session, jurisdiction, +1 more. Returns: id, error, title, votes, +21 more

openstates_get_committeeGet CommitteeA
Read-onlyIdempotent
Inspect

Fetch committee detail by OCD organization ID. Returns name, classification, and membership roster when include=memberships is requested. Experimental — not all states have committee data in Open States. Obtain the committee_id from openstates_search_committees.

Inputs: committee_id (required), include. Returns: id, name, error, links, +4 more

openstates_get_eventGet EventA
Read-onlyIdempotent
Inspect

Fetch full event detail by OCD event ID. Returns agenda, participants, media links, and associated documents when requested via include. Experimental — event coverage is limited in Open States. Obtain the event_id from openstates_search_events.

Inputs: event_id (required), include. Returns: id, name, error, links, +12 more

openstates_get_jurisdictionGet JurisdictionA
Read-onlyIdempotent
Inspect

Fetch full metadata for a specific jurisdiction including all legislative sessions, their identifiers, and coverage dates. Use when you need to know the exact session identifier for a state before filtering bill searches — session formats vary widely (e.g., "2025", "2025rs", "2025s1"). Jurisdiction IDs follow OCD format: ocd-jurisdiction/country:us/state:{abbr}/government (e.g., ocd-jurisdiction/country:us/state:wa/government). State names (e.g., "Washington") and two-letter abbreviations (e.g., "wa") are also accepted.

Inputs: jurisdiction_id (required), include. Returns: id, url, name, error, +6 more

openstates_get_legislators_by_locationGet Legislators by LocationA
Read-onlyIdempotent
Inspect

Find every legislator representing a geographic coordinate — both tiers. Pass latitude and longitude to get the state senators and representatives for that location (and potentially governor/executive officials), plus the coordinate's two US Senators and its US Representative. jurisdiction.classification separates the tiers: "state" is a state legislature, "country" is the US Congress. current_role.org_classification does not — it is "upper"/"lower" for a US Senator exactly as for a state senator. Useful for constituent-to-representative matching, address-based policy research, and electoral boundary analysis. This server does not geocode addresses — the caller must provide decimal-degree coordinates. Use include=offices to get contact information alongside the legislator list.

Inputs: latitude (required), longitude (required), include. Returns: count, error, notice, stateCount, +2 more

openstates_list_jurisdictionsList JurisdictionsA
Read-onlyIdempotent
Inspect

List all jurisdictions covered by Open States — all 50 states, DC, and 5 US territories (American Samoa, Guam, Northern Mariana Islands, Puerto Rico, and the US Virgin Islands): 56 in total, returned complete in a single default call. Returns coverage metadata: latest bill update time, latest people update time, and optionally all legislative sessions with their identifiers. Use this when you need to discover valid session identifiers for a state before calling openstates_search_bills with a session filter. The legislative_sessions include option returns all historical and current sessions — always check valid session identifiers here before using them in bill searches, since formats vary widely by state (e.g., "2025", "2025-2026", "2025rs", "2025s1").

Inputs: page, include, per_page, classification. Returns: page, error, maxPage, results, +2 more

openstates_search_billsSearch BillsA
Read-onlyIdempotent
Inspect

Search state legislative bills across all covered US jurisdictions. Supports full-text search, jurisdiction/session filtering, subject tags, sponsor lookups, and sort order. Either jurisdiction or q (full-text) is required, and pairing them is the reliable form — a q-only search spans all 56 jurisdictions and exceeds the upstream timeout for a common term, though a distinctive one still returns quickly. include=sponsorships,actions returns sponsor and action history inline. sort=latest_action_desc surfaces bills currently moving. openstates_get_jurisdiction with include=legislative_sessions returns valid session identifiers for session filtering.

Inputs: q, page, sort, chamber, +11 more. Returns: page, error, notice, maxPage, +4 more

openstates_search_committeesSearch CommitteesA
Read-onlyIdempotent
Inspect

List committees for a jurisdiction. jurisdiction is required — a request spanning all 56 jurisdictions exceeds the upstream timeout, so scope every call to a single state; use openstates_list_jurisdictions to pick one. Experimental — Open States is actively working to restore committee support and not all states have data. Use chamber to scope to upper (senate) or lower (house) committees. Use classification=subcommittee to find subcommittees of a parent. Use include=memberships to get the full roster with member roles. The coverageNote field in the output will always note the experimental coverage limitations.

Inputs: jurisdiction (required), page, parent, chamber, +3 more. Returns: page, error, maxPage, results, +4 more

openstates_search_eventsSearch EventsA
Read-onlyIdempotent
Inspect

Search hearings, floor sessions, and committee meetings. jurisdiction is required — the Open States events endpoint has no all-states search, so scope every call to a single state; use openstates_list_jurisdictions to pick one. Experimental — most states do not publish event data to Open States. Use after and before to scope to a date range. Set require_bills=true to filter to events with bills on the agenda, which is the most useful filter for tracking legislation through committee. Use include=agenda,participants for full meeting context. Empty results from an unfiltered search often indicate the state lacks event data rather than no events occurring.

Inputs: jurisdiction (required), page, after, before, +3 more. Returns: page, error, notice, maxPage, +5 more

openstates_search_peopleSearch PeopleA
Read-onlyIdempotent
Inspect

Search state legislators and officials by name, jurisdiction, chamber, or district, or fetch specific people by OCD person ID. Party is reported on every result but cannot be filtered on — narrow by party after the call. Either jurisdiction or id is required — a search spanning all 56 jurisdictions exceeds the upstream timeout, including a name-only one, so scope every call to a single state or to specific person IDs. Use openstates_list_jurisdictions to pick a jurisdiction, or openstates_get_legislators_by_location when you have coordinates but no state. id takes the person IDs that openstates_get_bill sponsorships and openstates_get_committee memberships hand back, and resolves any number of them in one call. Supports name substring matching (case-insensitive). org_classification targets a role type: "upper" for Senate, "lower" for House/Assembly, "executive" for governors and executive officials, and "legislature" for every legislator — both chambers merged into one paginated set (all upper members, then all lower), or the single body in Nebraska and the DC Council, which excludes executive-branch officials. Omitting org_classification is not the same as "legislature": it returns every officeholder, executive officials included. include=offices adds phone, fax, and address. include=links adds website and social links.

Inputs: id, name, page, include, +4 more. Returns: page, error, notice, maxPage, +4 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching US state bills by keyword, sponsor, committee, status, or chamber, and searching speaker-attributed committee hearing testimony across all 50 states and DC. Also retrieves full bill details, hearing transcripts, speaker activity histories, and the list of states with available data.
      49 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides access to legislative data from all 50 US states through the LegiScan API, enabling comprehensive search and retrieval of bills, votes, legislators, and legislative session information.
      10
      26 npm
      12
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Access U.S. state legislative data including bills, legislators, and votes across all 50 states via the OpenStates API.
      129 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.