search_bills

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

Full-text search US state (and federal) legislation to find out what bills are about a given topic. Searches one state or nationwide (ALL) and returns matching bills with number, title, state, last action, and a LegiScan bill_id you can pass to get_bill. Example: search_bills({ query: “data privacy”, state: “CA” })

Parameters

NameTypeRequiredDescription
querystringyesSearch terms, e.g. “data privacy”, “minimum wage”, “abortion”
statestringno2-letter state abbreviation (e.g. “CA”, “TX”) or “ALL” to search every state. Default “ALL”.
yearnumbernoLegiScan year code: 1 = all years, 2 = current + prior session (default), or a specific year like 2024.
_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":"search_bills","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