FEC API

How to connect FEC to Grok Bot

Add the Firecrawl plugin to Grok Bot once and it can call the FEC API and every other provider in Firecrawl Alexandria, with no FEC integration code.

Open Markdown

To connect FEC to Grok Bot, add the Firecrawl plugin to Grok Bot, sign in on a Firecrawl team with Alexandria enabled, and ask for FEC data in plain language. The connection works in every Bot in your Grok Bot account, and you set it up once.

Grok Bot uses FEC as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for FEC.

Grok Bot is xAI's agent app. Plugins give your Bots outside tools, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect FEC to Grok Bot?

  1. Add the Firecrawl plugin

    In Grok Bot, open Connect apps from the sidebar, find Firecrawl and select Connect. You can also open Firecrawl's plugin listing and select Add to Grok Bot, which opens the desktop app to finish the install.

    Grok Bot's Connect Apps window with Firecrawl and its Connect button
  2. Connect your Firecrawl account

    Grok Bot opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and select Authorize. The screen names Cursor, because the plugin is published on the Cursor Marketplace. No account yet? You can create one for free in the same flow.

    Firecrawl's consent screen for the Grok Bot plugin, with the team picker and Authorize button
  3. Ask your Bot for the data

    In a chat, ask in plain language and mention FEC or Firecrawl Alexandria. To make sure the Bot uses Firecrawl, type @ and choose Firecrawl first. For example:

    Use Firecrawl to answer this: How much has Elizabeth Warren's Senate campaign raised and spent this cycle, and how much cash does it have?

What can Grok Bot do with FEC?

US Federal Election Commission campaign finance data from the openFEC API: federal candidates and committees, committee financial totals per cycle, filed reports, itemized disbursements (Schedule B), independent expenditures (Schedule E) and individual-contribution aggregates by size, state and employer. Committee, candidate and aggregate data only: itemized individual contributions (Schedule A rows with contributor names) are not exposed, and Schedule B contribution refunds to individuals are withheld, because 52 U.S.C. 30111(a)(4) bars using individual contributor information for soliciting contributions or commercial purposes.

Grok Bot can run any of FEC's 7 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Candidates: Search FEC candidates for federal office (House, Senate, President) by name, ID, office, state, party, district or election year. Each row is one FEC candidate ID with party, incumbency, status, the cycles it is active in and its principal campaign committees. Costs 5 Firecrawl credits per call.
  • Committee totals: Financial totals for one FEC committee per two-year cycle, summed from its F3, F3P or F3X reports: receipts, contributions (individual itemized and unitemized, PAC, party, candidate), loans, transfers, disbursements, operating expenditures, independent expenditures, cash on hand and debts, with the coverage dates of the latest report. Newest cycle first. Costs 5 Firecrawl credits per call.
  • Committees: Search FEC-registered committees: candidate campaign committees, PACs, super PACs, hybrid PACs and party committees. Filter by name, committee ID, linked candidate, committee type, designation, state, party or cycle. Rows carry type, designation, treasurer, linked candidate IDs and active cycles. Costs 5 Firecrawl credits per call.
  • Disbursements: Itemized disbursements (FEC Schedule B): who a committee paid, how much, when and for what (purpose, category, report line), newest first or by amount. Filter by spending committee, recipient name or committee, recipient state, purpose category, transaction period, date and amount ranges. Contribution refunds to individuals (lines 20a/28a) are withheld because they name individual contributors. Costs 5 Firecrawl credits per call.
  • Filings: Reports and statements filed with the FEC (F3/F3P/F3X financial reports, F24/F5 independent-expenditure reports, F1/F2 registrations and others), newest receipt first. Filter by committee, candidate, filer name, form, report type, report year, cycle, receipt date range or most-recent version. Rows include coverage dates, summary totals, amendment state and links to the filed PDF, HTML, .fec and CSV. Costs 5 Firecrawl credits per call.
  • Independent expenditures: Independent expenditures (FEC Schedule E): spending by super PACs, PACs, parties and others expressly for or against a federal candidate, with spender, candidate, support or oppose, amount, expenditure and dissemination dates, payee and purpose. Filter by spender, candidate, support/oppose, cycle, candidate office/state/party, payee, date and amount ranges; newest first or by amount. Costs 5 Firecrawl credits per call.
  • Receipt aggregates: Aggregated individual contributions to one committee for a cycle, by contribution size (five buckets; the $200-and-under bucket includes unitemized money), by contributor state, or by contributor employer: total dollars and contribution count per bucket. Aggregates only; no contributor names. Costs 5 Firecrawl credits per call.

What should I ask Grok Bot?

Name FEC or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.

  • Use Firecrawl to answer this: How much has Elizabeth Warren's Senate campaign raised and spent this cycle, and how much cash does it have?
  • Use Firecrawl to answer this: Which super PACs spent the most opposing a presidential candidate in 2024?
  • Use Firecrawl to answer this: What share of a campaign's individual contributions came in amounts of $200 or less?
  • Use Firecrawl to list the latest quarterly reports filed by a Senate campaign with links to the filed documents.

Troubleshooting

Why doesn't my Bot use FEC?

Attach Firecrawl to the chat with @ before you ask, and name FEC or Firecrawl Alexandria in the prompt.

Add to Grok Bot doesn't open the app. What should I do?

Install the Grok Bot desktop app first, or open Connect apps in Grok Bot and search for Firecrawl.

Use FEC in other AI apps

The same Firecrawl account reaches FEC from other AI apps. Pick one for its setup steps:

Other data providers you can connect to Grok Bot

Frequently Asked Questions

What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl plugin brings those tools into Grok Bot, along with every data provider in Firecrawl Alexandria.

What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, FEC among them. Each provider returns structured data through documented capabilities. Grok Bot finds the capability that fits your question and calls it through the Firecrawl plugin, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

Is there a FEC MCP server for Grok Bot?

Grok Bot reaches FEC through Firecrawl's hosted MCP server, which serves FEC and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for FEC.

What does connecting FEC to Grok Bot unlock?

Grok Bot can run all 7 of FEC's capabilities, including Candidates, Committee totals and Committees, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: How much has Elizabeth Warren's Senate campaign raised and spent this cycle, and how much cash does it have?" In the same conversation, Grok Bot can combine FEC with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own FEC account or API key to use it in Grok Bot?

No. Grok Bot calls FEC through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate FEC account or API key.

How much does it cost to use FEC in Grok Bot?

Each FEC call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Grok Bot, and finding the right capability is free.

Can Grok Bot use other providers besides FEC?

Yes. The same Firecrawl plugin reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

Can I use FEC in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same FEC capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options