openstates-mcp-server
Search bills, legislators, committees, and events across all 50 US states, DC, and 5 US territories.
Documentation & Preview
{ "mcpServers": { "mcp-openstates-mcp-server-9ec45d0d3576a66f56c3": { "command": "npx", "args": [ "-y", "--package", "@cyanheads/openstates-mcp-server@0.5.0", "openstates-mcp-server" ], "env": { "OPENSTATES_API_KEY": "${ENV_OPENSTATES_API_KEY}", "OPENSTATES_DAILY_REQUEST_BUDGET": "${ENV_OPENSTATES_DAILY_REQUEST_BUDGET}", "OPENSTATES_REQUEST_TIMEOUT_MS": "${ENV_OPENSTATES_REQUEST_TIMEOUT_MS}", "OPENSTATES_TOTAL_REQUEST_BUDGET_MS": "${ENV_OPENSTATES_TOTAL_REQUEST_BUDGET_MS}", "MCP_LOG_LEVEL": "${ENV_MCP_LOG_LEVEL}" } } }, "setup": { "fields": [ { "id": "ENV_OPENSTATES_API_KEY", "label": "OPENSTATES_API_KEY", "description": "Open States API key from open.pluralpolicy.com. Required to make any API requests.", "required": true, "secret": false, "default": "" }, { "id": "ENV_OPENSTATES_DAILY_REQUEST_BUDGET", "label": "OPENSTATES_DAILY_REQUEST_BUDGET", "description": "Maximum upstream Open States requests per rolling 24 hours. Rejects before the request is issued once spent. Defaults to the v3 free-tier daily cap.", "required": false, "secret": false, "default": "250" }, { "id": "ENV_OPENSTATES_REQUEST_TIMEOUT_MS", "label": "OPENSTATES_REQUEST_TIMEOUT_MS", "description": "Per-attempt upstream request deadline in milliseconds (minimum 1000). Expiry is non-retryable. Open States answers a scoped query in under a second to ~57s and its gateway gives up near 60s.", "required": false, "secret": false, "default": "45000" }, { "id": "ENV_OPENSTATES_TOTAL_REQUEST_BUDGET_MS", "label": "OPENSTATES_TOTAL_REQUEST_BUDGET_MS", "description": "Wall-clock ceiling in milliseconds for one call across every retry attempt and the backoff between them. Bounds a slow upstream that keeps failing retryably. Must be at least OPENSTATES_REQUEST_TIMEOUT_MS; startup rejects a lower value.", "required": false, "secret": false, "default": "90000" }, { "id": "ENV_MCP_LOG_LEVEL", "label": "MCP_LOG_LEVEL", "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').", "required": false, "secret": false, "default": "info" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.cyanheads/openstates-mcp-server", "registryVersion": "0.5.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Fopenstates-mcp-server/versions/0.5.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@cyanheads/openstates-mcp-server", "version": "0.5.0", "integrity": "sha512-0sSQDIl736Mrr+DV8eOxdyON65mIpJRt15aGy/lg0lL4OLgIcP8wwQ9sPAQX8TkGmInUse4mRm10p6h+iB/qwQ==", "registryNameMatched": "io.github.cyanheads/openstates-mcp-server", "checkedAt": "2026-11-21T18:20:13.563Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }