openstates-mcp-server
Search bills, legislators, committees, and events across all 50 US states, DC, and 5 US territories.
The record the registry holds
It also ships as a package you run yourself.
{
"server": {
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.cyanheads/openstates-mcp-server",
"description": "Search bills, legislators, committees, and events across all 50 US states, DC, and 5 US territories.",
"repository": {
"url": "https://github.com/cyanheads/openstates-mcp-server",
"source": "github"
},
"version": "0.3.0",
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "@cyanheads/openstates-mcp-server",
"version": "0.3.0",
"runtimeHint": "bun",
"transport": {
"type": "stdio"
},
"packageArguments": [
{
"value": "run",
"type": "positional"
},
{
"value": "start:stdio",
"type": "positional"
}
],
"environmentVariables": [
{
"description": "Open States API key from open.pluralpolicy.com. Required to make any API requests.",
"isRequired": true,
"format": "string",
"name": "OPENSTATES_API_KEY"
},
{
"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.",
"format": "number",
"default": "250",
"name": "OPENSTATES_DAILY_REQUEST_BUDGET"
},
{
"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.",
"format": "number",
"default": "45000",
"name": "OPENSTATES_REQUEST_TIMEOUT_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.",
"format": "number",
"default": "90000",
"name": "OPENSTATES_TOTAL_REQUEST_BUDGET_MS"
},
{
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
"format": "string",
"default": "info",
"name": "MCP_LOG_LEVEL"
}
]
},
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "@cyanheads/openstates-mcp-server",
"version": "0.3.0",
"runtimeHint": "bun",
"transport": {
"type": "streamable-http",
"url": "http://localhost:3010/mcp"
},
"packageArguments": [
{
"value": "run",
"type": "positional"
},
{
"value": "start:http",
"type": "positional"
}
],
"environmentVariables": [
{
"description": "Open States API key from open.pluralpolicy.com. Required to make any API requests.",
"isRequired": true,
"format": "string",
"name": "OPENSTATES_API_KEY"
},
{
"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.",
"format": "number",
"default": "250",
"name": "OPENSTATES_DAILY_REQUEST_BUDGET"
},
{
"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.",
"format": "number",
"default": "45000",
"name": "OPENSTATES_REQUEST_TIMEOUT_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.",
"format": "number",
"default": "90000",
"name": "OPENSTATES_TOTAL_REQUEST_BUDGET_MS"
},
{
"description": "The hostname for the HTTP server.",
"format": "string",
"default": "127.0.0.1",
"name": "MCP_HTTP_HOST"
},
{
"description": "The port to run the HTTP server on.",
"format": "string",
"default": "3010",
"name": "MCP_HTTP_PORT"
},
{
"description": "The endpoint path for the MCP server.",
"format": "string",
"default": "/mcp",
"name": "MCP_HTTP_ENDPOINT_PATH"
},
{
"description": "Authentication mode to use: 'none', 'jwt', or 'oauth'.",
"format": "string",
"default": "none",
"name": "MCP_AUTH_MODE"
},
{
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
"format": "string",
"default": "info",
"name": "MCP_LOG_LEVEL"
}
]
}
],
"remotes": [
{
"type": "streamable-http",
"url": "https://openstates.caseyjhand.com/mcp"
}
]
},
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"statusChangedAt": "2026-07-31T13:11:31.676216Z",
"publishedAt": "2026-07-31T13:11:31.676216Z",
"updatedAt": "2026-07-31T13:11:31.676216Z",
"isLatest": true
}
}
}
Draft an Agent Plugin from this
An MCP server is raw capability: some tools, wired to something. An Agent Plugin is the packaging that says what job it does, what it leaves behind and where it stops. The prompt below carries this record and asks for the packaging; your own assistant writes it, and nothing here is sent anywhere.
MCP server
These are the publisher's own words, filed by them with the official MCP registry and mirrored here. This catalog did not read them from the publisher and has not run, called or installed anything.
The publisher's own address
https://github.com/cyanheads/openstates-mcp-server
The address the publisher put in their registry record, printed as they wrote it. Nobody here has opened it.