# How to connect FEC to Cursor

> Connect FEC to Cursor with the Firecrawl MCP server. Use FEC as an MCP tool in Cursor via Firecrawl Alexandria, with setup steps and example prompts.

To connect FEC to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for FEC data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

Cursor 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.

Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect FEC to Cursor?

### 1. Install the Firecrawl MCP server

Open the [install dialog in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9), check that the URL is Firecrawl's hosted server, then select Install.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9)

![Cursor's Install MCP server dialog with the Firecrawl hosted server URL](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-install-firecrawl-mcp-server.webp)

### 2. Connect your Firecrawl account

Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

![Cursor's MCP list showing Firecrawl connected with its tools enabled](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-firecrawl-mcp-connected.webp)

### 3. Ask Cursor's agent for the data

In the agent chat, ask in plain language and mention FEC or Firecrawl Alexandria. The agent finds the FEC capability that fits and runs it. For example:

```text
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 Cursor 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.

Cursor 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 Cursor?

Name FEC or Firecrawl Alexandria in the prompt so Cursor 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?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20How%20much%20has%20Elizabeth%20Warren's%20Senate%20campaign%20raised%20and%20spent%20this%20cycle%2C%20and%20how%20much%20cash%20does%20it%20have%3F)
- [Use Firecrawl to answer this: Which super PACs spent the most opposing a presidential candidate in 2024?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20Which%20super%20PACs%20spent%20the%20most%20opposing%20a%20presidential%20candidate%20in%202024%3F)
- [Use Firecrawl to answer this: What share of a campaign's individual contributions came in amounts of $200 or less?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20What%20share%20of%20a%20campaign's%20individual%20contributions%20came%20in%20amounts%20of%20%24200%20or%20less%3F)
- [Use Firecrawl to list the latest quarterly reports filed by a Senate campaign with links to the filed documents.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20list%20the%20latest%20quarterly%20reports%20filed%20by%20a%20Senate%20campaign%20with%20links%20to%20the%20filed%20documents.)

### For agents

Start with the `fec-gov` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why can't Cursor find FEC?

If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.

### Firecrawl shows a red dot in Cursor. What should I do?

Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.

## Use FEC in other AI apps

- [FEC in ChatGPT](https://alexandria.firecrawl.dev/providers/fec-gov/connect/chatgpt)
- [FEC in Claude](https://alexandria.firecrawl.dev/providers/fec-gov/connect/claude)
- [FEC in Grok Bot](https://alexandria.firecrawl.dev/providers/fec-gov/connect/grok-bot)
- [FEC in Muse](https://alexandria.firecrawl.dev/providers/fec-gov/connect/muse)

### Other data providers you can connect to Cursor

- [How to connect France public medicines database (BDPM) to Cursor](https://alexandria.firecrawl.dev/providers/base-donnees-publique-medicaments-gouv-fr/connect/cursor)
- [How to connect ClinicalTrials.gov to Cursor](https://alexandria.firecrawl.dev/providers/clinicaltrials-gov/connect/cursor)
- [How to connect CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits to Cursor](https://alexandria.firecrawl.dev/providers/cms-gov/connect/cursor)
- [How to connect CDC PLACES local health estimates (data.cdc.gov) to Cursor](https://alexandria.firecrawl.dev/providers/data-cdc-gov/connect/cursor)

Full setup guide: [Firecrawl in Cursor](https://www.firecrawl.dev/integrations/cursor)

## 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 MCP server brings those tools into Cursor, 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. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, 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 Cursor?

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

### What does connecting FEC to Cursor unlock?

Cursor 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, Cursor 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 Cursor?

No. Cursor 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 Cursor?

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 Cursor, and finding the right capability is free.

### Can Cursor use other providers besides FEC?

Yes. The same Firecrawl MCP server 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, Grok Bot, 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.
