← Back to search

io.github.cyanheads/openstates-mcp-server

cyanheads streamable_http Scanned 1d ago

Search bills, legislators, committees, and events across all 50 US states, DC, and Puerto Rico.

B
87.4 / 100

Versions

0.1.1latest
first seen Jun 5, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 10

openstates_search_events
annotations: verified low

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 often indicate the state lacks event data rather than no events occurring.

id string input object output object
readOnlyHint true openWorldHint true idempotentHint true
openstates_get_committee
annotations: verified low

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.

id string url string input object output object classification string
readOnlyHint true openWorldHint true idempotentHint true
openstates_get_bill
annotations: verified low

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.

id string input object output object session string subject array identifier string classification array first_action_date string
readOnlyHint true openWorldHint true idempotentHint true
openstates_search_people
annotations: verified low

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), 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.

readOnlyHint true openWorldHint true idempotentHint true
openstates_get_event
annotations: verified low

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.

id string url string input object output object status string end_date string event_id string start_date string classification string
readOnlyHint true openWorldHint true idempotentHint true
openstates_get_legislators_by_location
annotations: verified low

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.

id string input object party string output object district string latitude number org_classification string
readOnlyHint true openWorldHint true idempotentHint true
openstates_get_jurisdiction
annotations: verified low

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.

id string url string input object output object classification string latest_bill_update string
readOnlyHint true openWorldHint true idempotentHint true
openstates_list_jurisdictions
annotations: verified low

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").

url string input object output object classification string
readOnlyHint true openWorldHint true idempotentHint true
openstates_search_committees
annotations: verified low

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.

input object output object
readOnlyHint true openWorldHint true idempotentHint true
openstates_search_bills
annotations: verified low

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.

sponsor string
readOnlyHint true openWorldHint true idempotentHint true

Permissions 3

network medium
Server uses network capabilities via: fetch()
shell high
Server uses shell capabilities via: child_process, spawn(), spawnSync()
env_vars low
Server uses env_vars capabilities via: process.env

Scan Findings 31

info
Tool 'openstates_search_events' annotations are consistent annotation_checker · 80%
info
Tool 'openstates_get_committee' annotations are consistent annotation_checker · 80%
info
Tool 'openstates_get_bill' annotations are consistent annotation_checker · 80%
info
Tool 'openstates_search_people' annotations are consistent annotation_checker · 80%
info
Tool 'openstates_get_event' annotations are consistent annotation_checker · 80%
info
Tool 'openstates_get_legislators_by_location' annotations are consistent annotation_checker · 80%
info
Tool 'openstates_get_jurisdiction' annotations are consistent annotation_checker · 80%
info
Tool 'openstates_list_jurisdictions' annotations are consistent annotation_checker · 80%
info
Tool 'openstates_search_committees' annotations are consistent annotation_checker · 80%
info
Tool 'openstates_search_bills' annotations are consistent annotation_checker · 80%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
info
package.json metadata manifest_parser · 100%
info
Tool: openstates_search_events manifest_parser · 75%
info
Tool: openstates_get_committee manifest_parser · 75%
info
Tool: openstates_get_bill manifest_parser · 75%
info
Tool: openstates_search_people manifest_parser · 75%
info
Tool: openstates_get_event manifest_parser · 75%
info
Tool: openstates_get_legislators_by_location manifest_parser · 75%
info
Tool: openstates_get_jurisdiction manifest_parser · 75%
info
Tool: openstates_list_jurisdictions manifest_parser · 75%
info
Tool: openstates_search_committees manifest_parser · 75%
info
Tool: openstates_search_bills manifest_parser · 75%
info
Transport: streamable-http manifest_parser · 80%
info
Required env vars (4) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 70%
high
Permission: shell access detected permission_analyzer · 95%
low
Permission: env_vars access detected permission_analyzer · 90%
info
SBOM generated: 11 components sbom_generator · 100%
high
Hardcoded Password found in cyanheads-openstates-mcp-server-254be0a/framework-skills/api-utils/references/security.md secret_scanner · 65%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%