search_legislators

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

Find state legislators. Filter by jurisdiction, name, chamber (upper/lower), party, or district. Returns name, current/prior roles, party, contact details, OpenStates IDs.

Parameters

NameTypeRequiredDescription
jurisdictionstringno2-letter state code or name
namestringnoName fragment
org_classificationstringnoupper | lower | legislature
districtstringnoDistrict identifier
partystringnoParty name (e.g., “Democratic”, “Republican”)
per_pagenumberno1-50 (default 20)
pagenumberno1-based page

Example call

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

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026