openstates-mcp-server
io.github.cyanheads/openstates-mcp-server
MCP server OK 10 tools
Search bills, legislators, committees, and events across all 50 US states, DC, and 5 US territories.
Technical sheet
- Author
- cyanheads (registry namespace)
- Repository
- github.com/cyanheads/openstates-mcp-server
- Site
- —
- Version
- 0.5.0
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://openstates.caseyjhand.com/mcp Streamable HTTP
- Packages
- @cyanheads/openstates-mcp-server 0.5.0 npm stdio
@cyanheads/openstates-mcp-server 0.5.0 npm Streamable HTTP - Tools
- 10
- Categories
- —
- Last updated
- 21 Nov 2026
- Published
- 21 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.cyanheads/openstates-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/openstates-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/openstates-mcp-server.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.cyanheads/openstates-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/openstates-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/openstates-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://openstates.caseyjhand.com/mcp
- Last result
- OK 28 Nov 2026, 10:27
- Response time
- 2,101 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- openstates-mcp-server 0.5.0
- Tools
- 10
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:27 | OK | 2,101 ms | 10 |
Exposed tools (10, from tools/list, 28 Nov 2026)
openstates_search_bills
Search Bills
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| jurisdiction | string | no | State name, two-letter abbreviation, or OCD-ID (e.g., "Washington", "wa", or "ocd-jurisdiction/country:us/state:wa/government"). Required unless q is provided. |
| q | string | no | Full-text search across bill titles, abstracts, and text. Required unless jurisdiction is provided. Pair it with jurisdiction whenever a state is known — a q-only search over every jurisdiction times out upstream for a common term. |
| session | string | no | Session identifier (e.g., "2025", "2025-2026", "2025rs"). Use openstates_get_jurisdiction with include=legislative_sessions to discover valid values. Omit to search across all sessions. |
| chamber | enum: "upper" | "lower" | no | Filter by originating chamber. "upper" = Senate, "lower" = House/Assembly. |
| classification | string | no | Bill classification: "bill", "resolution", "constitutional amendment", etc. |
| subject | array<string> | no | Filter to bills tagged with one or more subject categories. |
| sponsor | string | no | Filter by sponsor name or OCD person ID. |
| sponsor_classification | string | no | Filter sponsor type: "primary", "cosponsor". |
| sort | enum: "updated_asc" | "updated_desc" | "first_action_asc" | "first_action_desc" | "latest_action_asc" | "latest_action_desc" | no | Sort order. Use "latest_action_desc" for bills currently moving through the legislature. |
| action_since | string | no | ISO 8601 date — only return bills with an action after this date (e.g., "2025-01-01"). |
| updated_since | string | no | ISO 8601 date — only return bills updated after this date (e.g., "2025-01-01"). |
| created_since | string | no | ISO 8601 date — only return bills first entered in Open States after this date (e.g., "2025-01-01"). Use to find newly-introduced bills, as opposed to recently-updated or recently-acted-on. |
| include | array<enum: "sponsorships" | "abstracts" | "other_titles" | "other_identifiers" | "actions" | "sources" | "documents" | "versions" …> | no | Related data to inline. "sponsorships" and "actions" cover most research needs without a separate openstates_get_bill call. "votes" adds full vote tallies and per-legislator positions. |
| page | integer | no | Page number (1-indexed). |
| per_page | integer | no | Results per page. Maximum 20. Default 10. |
openstates_get_bill
Get Bill
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| openstates_id | string | no | OCD bill ID from openstates_search_bills results: "ocd-bill/" followed by a UUID (e.g., "ocd-bill/4f255ccf-42a6-46ad-bbc6-0b027ebb15f2"). Preferred over the three-part path when available. |
| jurisdiction | string | no | State name, abbreviation, or OCD-ID. Required when using path-based lookup with session + bill_id. |
| session | string | no | Session identifier. Required with jurisdiction + bill_id. |
| bill_id | string | no | Bill identifier as used by the legislature (e.g., "HB 1000", "SB 42"). Required with jurisdiction + session. |
| include | array<enum: "sponsorships" | "abstracts" | "other_titles" | "other_identifiers" | "actions" | "sources" | "documents" | "versions" …> | no | Related data to inline. "sponsorships", "actions", "votes" are most commonly needed. "versions" and "documents" provide links to bill text and fiscal notes. |
openstates_search_people
Search People
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| jurisdiction | string | no | State name, abbreviation, or OCD-ID. Required unless id is provided — an all-states search exceeds the upstream timeout, so every call must be scoped to a single jurisdiction or to specific person IDs. |
| id | array<string> | no | OCD person IDs (e.g., "ocd-person/9eddb3cd-868e-42ba-831a-b415fd7ed445"). Required unless jurisdiction is provided — it returns exactly these people, so it scopes the call on its own and needs no jurisdiction alongside it. Resolves the IDs that openstates_search_people results, openstates_get_bill… |
| name | string | no | Name or partial name to match (case-insensitive substring). Narrows within the jurisdiction; it does not substitute for one. |
| org_classification | enum: "legislature" | "executive" | "lower" | "upper" | "government" | no | Filter by role type. "upper" = Senate, "lower" = House/Assembly, "executive" = governors and executive officials, "legislature" = every legislator (both chambers merged into one paginated set, all upper members then all lower; the single body in Nebraska and the DC Council; excluding executive offi… |
| district | string | no | District label (e.g., "1", "37", "At-Large"). Formats vary by state. |
| include | array<enum: "other_names" | "other_identifiers" | "links" | "sources" | "offices"> | no | Related data to inline. "offices" includes phone, fax, and address. "links" includes website and social links. "other_names" includes alternate/former names, "other_identifiers" cross-system IDs, and "sources" the provenance URLs behind the record. |
| page | integer | no | Page number (1-indexed). |
| per_page | integer | no | Results per page. Maximum 20. |
openstates_get_legislators_by_location
Get Legislators by Location
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| latitude | number | yes | Latitude in decimal degrees (e.g., 47.6062 for Seattle, WA). |
| longitude | number | yes | Longitude in decimal degrees (e.g., -122.3321 for Seattle, WA). |
| include | array<enum: "other_names" | "other_identifiers" | "links" | "sources" | "offices"> | no | Related data to inline. "offices" includes phone, fax, and address. "links" includes website and social links. "other_names" includes alternate/former names, "other_identifiers" cross-system IDs, and "sources" the provenance URLs behind the record. |
openstates_search_committees
Search Committees
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| jurisdiction | string | yes | State name, abbreviation, or OCD-ID. Required — an all-states request exceeds the upstream timeout, so every call must be scoped to a single jurisdiction. |
| classification | enum: "committee" | "subcommittee" | no | Filter to parent committees or subcommittees only. Omit for all. |
| chamber | enum: "upper" | "lower" | no | Filter by chamber. "upper" = Senate, "lower" = House/Assembly. A chamber filter omits joint committees; omit chamber to include them. |
| parent | string | no | OCD organization ID of a parent committee to retrieve its subcommittees. |
| include | array<enum: "memberships" | "links" | "sources"> | no | Related data to inline. "memberships" includes the full roster with member roles. "links" includes the committee homepage and reference links, and "sources" the provenance URLs behind the record. |
| page | integer | no | Page number (1-indexed). |
| per_page | integer | no | Results per page. Maximum 20. |
openstates_get_committee
Get Committee
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| committee_id | string | yes | OCD organization ID (from openstates_search_committees results). |
| include | array<enum: "memberships" | "links" | "sources"> | no | Related data to inline. "memberships" includes the full roster with member roles. "links" includes the committee homepage and reference links, and "sources" the provenance URLs behind the record. |
openstates_search_events
Search Events
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| jurisdiction | string | yes | State name, abbreviation, or OCD-ID. Required — the Open States events endpoint has no all-states search, so every call must be scoped to a single jurisdiction. |
| after | string | no | ISO 8601 datetime — events starting after this time. Use to find upcoming hearings. |
| before | string | no | ISO 8601 datetime — events starting before this time. |
| require_bills | boolean | no | When true, only return events with at least one bill on the agenda. Most useful for tracking legislation through committee. |
| include | array<enum: "links" | "sources" | "media" | "documents" | "participants" | "agenda"> | no | Related data to inline. "agenda" includes the meeting agenda with bill references. "participants" includes the committee or chamber hosting the event. "links" and "media" add related URLs and recordings, "documents" the attached files, and "sources" the provenance URLs behind the record. |
| page | integer | no | Page number (1-indexed). |
| per_page | integer | no | Results per page. Maximum 20. |
openstates_get_event
Get Event
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| event_id | string | yes | OCD event ID (from openstates_search_events results). |
| include | array<enum: "links" | "sources" | "media" | "documents" | "participants" | "agenda"> | no | Related data to inline. "agenda" and "participants" are most useful; "links", "media", and "documents" add related URLs, recordings, and files, and "sources" the provenance URLs behind the record. |
openstates_list_jurisdictions
List Jurisdictions
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").
| Parameter | Type | Required | Description |
|---|---|---|---|
| classification | enum: "state" | "municipality" | "country" | no | Filter by jurisdiction type. Use "state" (default) for all 50 states, DC, and the 5 US territories. |
| include | array<enum: "organizations" | "legislative_sessions" | "latest_runs"> | no | Related data to inline. "legislative_sessions" returns all session identifiers and date ranges — required when you need to discover valid session values for bill searches. "organizations" lists the jurisdiction's legislative chambers and executive bodies, and "latest_runs" the recent scraper run hi… |
| page | integer | no | Page number (1-indexed). |
| per_page | integer | no | Results per page (upstream maximum 52). The default call returns the complete state inventory (56) in one response by fetching and merging the pages server-side; set a smaller value only to page manually. |
openstates_get_jurisdiction
Get Jurisdiction
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| jurisdiction_id | string | yes | OCD jurisdiction ID, state name (e.g., "Washington"), or two-letter abbreviation (e.g., "wa"). |
| include | array<enum: "organizations" | "legislative_sessions" | "latest_runs"> | no | Related data to inline. "legislative_sessions" returns all historical and current sessions with identifiers and date ranges. "organizations" lists the jurisdiction's legislative chambers and executive bodies. "latest_runs" shows last scraper run metadata. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://openstates.caseyjhand.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http openstates-mcp-server https://openstates.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : openstates-mcp-server ; URL : https://openstates.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : openstates-mcp-server ; Server URL : https://openstates.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"openstates-mcp-server": {
"url": "https://openstates.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"openstates-mcp-server": {
"type": "http",
"url": "https://openstates.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"openstates-mcp-server": {
"url": "https://openstates.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"openstates-mcp-server": {
"httpUrl": "https://openstates.caseyjhand.com/mcp"
}
}
}[mcp_servers.openstates-mcp-server]
url = "https://openstates.caseyjhand.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
openstates-mcp-server · L’Atlas · Tested on
[openstates-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/openstates-mcp-server)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.