list_sessions

Pack: legiscan · Endpoint: https://gateway.pipeworx.io/legiscan/mcp

List the legislative sessions for a US state (regular and special), with start/end years and session IDs. Useful to scope which session to track bills in. Example: list_sessions({ state: “NY” })

Parameters

NameTypeRequiredDescription
statestringyes2-letter state abbreviation, e.g. “NY”, “FL”, “CA”.
_apiKeystringnoOptional — your own LegiScan API key for higher limits; omit to use the shared Pipeworx key.

Example call

curl -X POST https://gateway.pipeworx.io/legiscan/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_sessions","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "legiscan": {
      "url": "https://gateway.pipeworx.io/legiscan/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 7, 2026