io.github.cyanheads/openstates-mcp-server
Search bills, legislators, committees, and events across all 50 US states, DC, and 5 US territories.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
C’est votre projet ? Revendiquez la fiche pour répondre aux questions, être prévenu des avis et apparaître comme auteur.
- Dépôt
- github.com/cyanheads/openstates-mcp-server
- Adresse du serveur
https://openstates.caseyjhand.com/mcp(streamable-http)- Version
- 0.5.0
- Auteur
- cyanheads (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 21 nov. 2026)
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Questions à l’auteur
Pas encore de question.
Connectez-vous pour poser une question à l’auteur. L’auteur n’a pas encore revendiqué cette fiche : il ne sera prévenu que s’il la revendique. Les autres membres peuvent répondre.
Comment l’installer
Variables à renseigner : OPENSTATES_API_KEY, OPENSTATES_DAILY_REQUEST_BUDGET, OPENSTATES_REQUEST_TIMEOUT_MS, OPENSTATES_TOTAL_REQUEST_BUDGET_MS, MCP_LOG_LEVEL.
Serveur distant (rien à installer)
Claude Code
Dans un terminal :
claude mcp add --transport http openstates-mcp-server https://openstates.caseyjhand.com/mcpClaude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://openstates.caseyjhand.com/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://openstates.caseyjhand.com/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"openstates-mcp-server": {
"url": "https://openstates.caseyjhand.com/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"openstates-mcp-server": {
"type": "http",
"url": "https://openstates.caseyjhand.com/mcp"
}
}
}Sur votre machine
Claude Code
Le serveur tourne sur votre machine (paquet npm). Dans un terminal :
claude mcp add openstates-mcp-server -e OPENSTATES_API_KEY=VOTRE_OPENSTATES_API_KEY -e OPENSTATES_DAILY_REQUEST_BUDGET=VOTRE_OPENSTATES_DAILY_REQUEST_BUDGET -e OPENSTATES_REQUEST_TIMEOUT_MS=VOTRE_OPENSTATES_REQUEST_TIMEOUT_MS -e OPENSTATES_TOTAL_REQUEST_BUDGET_MS=VOTRE_OPENSTATES_TOTAL_REQUEST_BUDGET_MS -e MCP_LOG_LEVEL=VOTRE_MCP_LOG_LEVEL -- npx -y @cyanheads/[email protected]Claude Desktop claude_desktop_config.json
Réglages, Développeur, Modifier la configuration, puis ajoutez :
{
"mcpServers": {
"openstates-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"OPENSTATES_API_KEY": "VOTRE_OPENSTATES_API_KEY",
"OPENSTATES_DAILY_REQUEST_BUDGET": "VOTRE_OPENSTATES_DAILY_REQUEST_BUDGET",
"OPENSTATES_REQUEST_TIMEOUT_MS": "VOTRE_OPENSTATES_REQUEST_TIMEOUT_MS",
"OPENSTATES_TOTAL_REQUEST_BUDGET_MS": "VOTRE_OPENSTATES_TOTAL_REQUEST_BUDGET_MS",
"MCP_LOG_LEVEL": "VOTRE_MCP_LOG_LEVEL"
}
}
}
}Cursor ~/.cursor/mcp.json
Dans ~/.cursor/mcp.json :
{
"mcpServers": {
"openstates-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"OPENSTATES_API_KEY": "VOTRE_OPENSTATES_API_KEY",
"OPENSTATES_DAILY_REQUEST_BUDGET": "VOTRE_OPENSTATES_DAILY_REQUEST_BUDGET",
"OPENSTATES_REQUEST_TIMEOUT_MS": "VOTRE_OPENSTATES_REQUEST_TIMEOUT_MS",
"OPENSTATES_TOTAL_REQUEST_BUDGET_MS": "VOTRE_OPENSTATES_TOTAL_REQUEST_BUDGET_MS",
"MCP_LOG_LEVEL": "VOTRE_MCP_LOG_LEVEL"
}
}
}
}VS Code .vscode/mcp.json
Dans .vscode/mcp.json :
{
"servers": {
"openstates-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"OPENSTATES_API_KEY": "VOTRE_OPENSTATES_API_KEY",
"OPENSTATES_DAILY_REQUEST_BUDGET": "VOTRE_OPENSTATES_DAILY_REQUEST_BUDGET",
"OPENSTATES_REQUEST_TIMEOUT_MS": "VOTRE_OPENSTATES_REQUEST_TIMEOUT_MS",
"OPENSTATES_TOTAL_REQUEST_BUDGET_MS": "VOTRE_OPENSTATES_TOTAL_REQUEST_BUDGET_MS",
"MCP_LOG_LEVEL": "VOTRE_MCP_LOG_LEVEL"
}
}
}
}ChatGPT
ChatGPT se connecte seulement à des serveurs distants (une adresse https). Ce paquet tourne en local : utilisez l’une des applications ci-dessus.
Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 10:27 (test fait par L’Atlas)
- Temps de réponse
- 2 101 ms (test complet)
- Outils trouvés
- 10
- Nom annoncé
- openstates-mcp-server 0.5.0
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (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
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Citer cette fiche
Pour un article ou une comparaison, utilisez ce lien permanent et précisez la date du test. La description appartient à sa source ; les avis sont ceux des membres. Un test réussi ne constitue pas un audit de sécurité.
io.github.cyanheads/openstates-mcp-server · L’Agora · Test du
[io.github.cyanheads/openstates-mcp-server — L’Agora](https://lagora.dev/fiche/io.github.cyanheads/openstates-mcp-server)
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/io.github.cyanheads/openstates-mcp-server)HTML
<a href="https://lagora.dev/fiche/io.github.cyanheads/openstates-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/openstates-mcp-server.svg" alt="io.github.cyanheads/openstates-mcp-server sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.
Du même auteur
io.github.cyanheads/clinicaltrialsgov-mcp-server Répond
io.github.cyanheads/openlibrary-mcp-server Répond
io.github.cyanheads/arxiv-mcp-server Répond