MCP OpenFEC Server

search_candidates

Search for candidates by name or other criteria

Input Schema

NameRequiredDescriptionDefault
election_yearNoOptional: Filter by election year
nameYesCandidate name search string
officeNoOptional: H for House, S for Senate, P for President
stateNoOptional: Two-letter state code

Input Schema (JSON Schema)

{ "properties": { "election_year": { "description": "Optional: Filter by election year", "type": "number" }, "name": { "description": "Candidate name search string", "type": "string" }, "office": { "description": "Optional: H for House, S for Senate, P for President", "enum": [ "H", "S", "P" ], "type": "string" }, "state": { "description": "Optional: Two-letter state code", "type": "string" } }, "required": [ "name" ], "type": "object" }