search_committees
Pack: open-fec · Endpoint: https://gateway.pipeworx.io/open-fec/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/search_committees for the schema, then POST the same URL with its arguments for the data.
Search political committees (PACs, Super PACs, party committees) by name. Returns committee ID, name, type, designation, party, treasurer, and associated candidates. Example: search_committees(“ActBlue”)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | OpenFEC API key |
query | string | yes | Committee name to search (e.g., “Americans for Prosperity”) |
Example call
Arguments
{
"query": "ActBlue",
"_apiKey": "your-open-fec-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/open-fec/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_committees","arguments":{"query":"ActBlue","_apiKey":"your-open-fec-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_committees', {
"query": "ActBlue",
"_apiKey": "your-open-fec-api-key"
});
Response shape
Always returns: query, total, returned, committees
| Field | Type | Description |
|---|---|---|
query | string | Search query used |
total | number | Total count of committees matching search criteria |
returned | number | Number of committees returned in this response |
committees | array | Array of committee records |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query used"
},
"total": {
"type": "number",
"description": "Total count of committees matching search criteria"
},
"returned": {
"type": "number",
"description": "Number of committees returned in this response"
},
"committees": {
"type": "array",
"description": "Array of committee records",
"items": {
"type": "object",
"properties": {
"committee_id": {
"type": [
"string",
"null"
],
"description": "FEC committee ID"
},
"name": {
"type": [
"string",
"null"
],
"description": "Committee name"
},
"type": {
"type": [
"string",
"null"
],
"description": "Committee type (e.g., Super PAC, Party Committee)"
},
"designation": {
"type": [
"string",
"null"
],
"description": "Committee designation"
},
"party": {
"type": [
"string",
"null"
],
"description": "Associated party"
},
"state": {
"type": [
"string",
"null"
],
"description": "State code"
},
"treasurer": {
"type": [
"string",
"null"
],
"description": "Treasurer name"
},
"organization_type": {
"type": [
"string",
"null"
],
"description": "Organization type"
},
"filing_frequency": {
"type": [
"string",
"null"
],
"description": "Filing frequency"
},
"cycles": {
"type": "array",
"items": {
"type": "number"
},
"description": "Election cycles for which committee filed"
},
"candidate_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Associated candidate IDs"
}
}
}
}
},
"required": [
"query",
"total",
"returned",
"committees"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"open-fec": {
"url": "https://gateway.pipeworx.io/open-fec/mcp"
}
}
}
See Getting Started for client-specific install steps.