search_members
Pack: govtrack · Endpoint: https://gateway.pipeworx.io/govtrack/mcp
Search current and historical congressional members. Filter by role_type (senator | representative), state, party, current (true/false).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
role_type | string | no | senator | representative |
state | string | no | 2-letter state code |
party | string | no | Democrat | Republican | Independent |
current | boolean | no | Restrict to currently-serving members |
congress | number | no | Restrict to members serving in a specific congress |
district | number | no | House district number |
limit | number | no | 1-100 (default 20) |
offset | number | no | Pagination offset |
Example call
curl -X POST https://gateway.pipeworx.io/govtrack/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_members","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"govtrack": {
"url": "https://gateway.pipeworx.io/govtrack/mcp"
}
}
}
See Getting Started for client-specific install steps.