Skip to main content
Glama
cyanheads

@cyanheads/openstates-mcp-server

by cyanheads

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOGS_DIRNoDirectory for log files (Node.js only).<project-root>/logs
OTEL_ENABLEDNoEnable OpenTelemetry instrumentation.false
MCP_AUTH_MODENoAuth mode: none, jwt, or oauth.none
MCP_HTTP_PORTNoHTTP server port.3010
MCP_LOG_LEVELNoLog level (debug, info, notice, warning, error).info
MCP_PUBLIC_URLNoPublic origin override for TLS-terminating reverse-proxy deployments.
MCP_TRANSPORT_TYPENoTransport: stdio or http.stdio
OPENSTATES_API_KEYYesRequired. Open States API key from open.pluralpolicy.com.
STORAGE_PROVIDER_TYPENoStorage backend.in-memory
MCP_HTTP_ENDPOINT_PATHNoHTTP endpoint path./mcp
OPENSTATES_API_BASE_URLNoOpen States API base URL.https://v3.openstates.org
MCP_GC_PRESSURE_INTERVAL_MSNoOpt-in Bun-only forced-GC interval (ms).0
OPENSTATES_REQUEST_TIMEOUT_MSNoPer-attempt upstream deadline in milliseconds.45000
OPENSTATES_DAILY_REQUEST_BUDGETNoMaximum upstream requests per rolling 24 hours.250

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyanheads/openstates-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server