Koskamo

OpenStates MCP

An MCP server that provides tools to search and retrieve data on US state legislative bills, legislators, committees, and events across all 50 states, DC, and 5 US territories. It supports STDIO or Streamable HTTP connections and offers functionality for full-text search, jurisdiction filtering, and fetching detailed metadata for legislative entities.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

OpenStates MCP logo, by cyanheadsCommunity listingLocal stdioSource reviewed; not executedPublished by cyanheads
Vendor documentation

What you can do with it

  • Search state legislative bills with full-text search and jurisdiction filtering
  • Find legislators representing a specific geographic location
  • Retrieve details on committees and their membership rosters
  • Search for legislative hearings, floor sessions, and committee meetings

Source and maintenance

Community listingRegistry 0.4.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@cyanheads/openstates-mcp-server 0.4.0

npmnpx
@cyanheads/openstates-mcp-server package definition
{
  "version": "0.4.0",
  "transport": "stdio",
  "identifier": "@cyanheads/openstates-mcp-server",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "OPENSTATES_API_KEY",
      "format": "string",
      "isRequired": true,
      "description": "Open States API key from open.pluralpolicy.com. Required to make any API requests."
    },
    {
      "name": "OPENSTATES_DAILY_REQUEST_BUDGET",
      "format": "number",
      "default": "250",
      "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."
    },
    {
      "name": "OPENSTATES_REQUEST_TIMEOUT_MS",
      "format": "number",
      "default": "45000",
      "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."
    },
    {
      "name": "OPENSTATES_TOTAL_REQUEST_BUDGET_MS",
      "format": "number",
      "default": "90000",
      "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."
    },
    {
      "name": "MCP_LOG_LEVEL",
      "format": "string",
      "default": "info",
      "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "openstates-mcp-cyanheads-openstates-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/openstates-mcp-server@0.4.0"
      ],
      "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>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "openstates-mcp-cyanheads-openstates-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/openstates-mcp-server@0.4.0"
      ],
      "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "openstates-mcp-cyanheads-openstates-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/openstates-mcp-server@0.4.0"
      ],
      "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>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "openstates-mcp-cyanheads-openstates-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/openstates-mcp-server@0.4.0"
      ],
      "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>"
      }
    }
  }
}

Let your agent find its tools

Find servers like OpenStates MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.