io.github.cyanheads/openstates-mcp-server
Search bills, legislators, committees, and events across all 50 US states, DC, and 5 US territories.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/cyanheads/openstates-mcp-server
- Server address
https://openstates.caseyjhand.com/mcp(streamable-http)- Version
- 0.5.0
- Author
- cyanheads (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 21, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: OPENSTATES_API_KEY, OPENSTATES_DAILY_REQUEST_BUDGET, OPENSTATES_REQUEST_TIMEOUT_MS, OPENSTATES_TOTAL_REQUEST_BUDGET_MS, MCP_LOG_LEVEL.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http openstates-mcp-server https://openstates.caseyjhand.com/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://openstates.caseyjhand.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://openstates.caseyjhand.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"openstates-mcp-server": {
"url": "https://openstates.caseyjhand.com/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"openstates-mcp-server": {
"type": "http",
"url": "https://openstates.caseyjhand.com/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add openstates-mcp-server -e OPENSTATES_API_KEY=YOUR_OPENSTATES_API_KEY -e OPENSTATES_DAILY_REQUEST_BUDGET=YOUR_OPENSTATES_DAILY_REQUEST_BUDGET -e OPENSTATES_REQUEST_TIMEOUT_MS=YOUR_OPENSTATES_REQUEST_TIMEOUT_MS -e OPENSTATES_TOTAL_REQUEST_BUDGET_MS=YOUR_OPENSTATES_TOTAL_REQUEST_BUDGET_MS -e MCP_LOG_LEVEL=YOUR_MCP_LOG_LEVEL -- npx -y @cyanheads/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"openstates-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"OPENSTATES_API_KEY": "YOUR_OPENSTATES_API_KEY",
"OPENSTATES_DAILY_REQUEST_BUDGET": "YOUR_OPENSTATES_DAILY_REQUEST_BUDGET",
"OPENSTATES_REQUEST_TIMEOUT_MS": "YOUR_OPENSTATES_REQUEST_TIMEOUT_MS",
"OPENSTATES_TOTAL_REQUEST_BUDGET_MS": "YOUR_OPENSTATES_TOTAL_REQUEST_BUDGET_MS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"openstates-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"OPENSTATES_API_KEY": "YOUR_OPENSTATES_API_KEY",
"OPENSTATES_DAILY_REQUEST_BUDGET": "YOUR_OPENSTATES_DAILY_REQUEST_BUDGET",
"OPENSTATES_REQUEST_TIMEOUT_MS": "YOUR_OPENSTATES_REQUEST_TIMEOUT_MS",
"OPENSTATES_TOTAL_REQUEST_BUDGET_MS": "YOUR_OPENSTATES_TOTAL_REQUEST_BUDGET_MS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"openstates-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"OPENSTATES_API_KEY": "YOUR_OPENSTATES_API_KEY",
"OPENSTATES_DAILY_REQUEST_BUDGET": "YOUR_OPENSTATES_DAILY_REQUEST_BUDGET",
"OPENSTATES_REQUEST_TIMEOUT_MS": "YOUR_OPENSTATES_REQUEST_TIMEOUT_MS",
"OPENSTATES_TOTAL_REQUEST_BUDGET_MS": "YOUR_OPENSTATES_TOTAL_REQUEST_BUDGET_MS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 10:27 (test run by L’Atlas)
- Response time
- 2,101 ms (whole test)
- Tools found
- 10
- Announced name
- openstates-mcp-server 0.5.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (10)
openstates_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 themopenstates_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,openstates_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 jurisdictionopenstates_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 Uopenstates_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 Sopenstates_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 openstaopenstates_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. Experimentalopenstates_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_eveopenstates_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. Returopenstates_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 v
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.cyanheads/openstates-mcp-server · L’Agora · Tested on
[io.github.cyanheads/openstates-mcp-server — L’Agora](https://lagora.dev/en/entry/io.github.cyanheads/openstates-mcp-server)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.cyanheads/openstates-mcp-server)HTML
<a href="https://lagora.dev/en/entry/io.github.cyanheads/openstates-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/openstates-mcp-server.svg?lang=en" alt="io.github.cyanheads/openstates-mcp-server on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
io.github.cyanheads/clinicaltrialsgov-mcp-server Responds
io.github.cyanheads/openlibrary-mcp-server Responds
io.github.cyanheads/arxiv-mcp-server Responds