# How to connect Elections Canada official voting results and political contributions to Cursor

> Connect Elections Canada official voting results and political contributions to Cursor with the Firecrawl MCP server.

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

Cursor uses Elections Canada official voting results and political contributions as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Elections Canada official voting results and political contributions.

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 Elections Canada official voting results and political contributions 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 Elections Canada official voting results and political contributions or Firecrawl Alexandria. The agent finds the Elections Canada official voting results and political contributions capability that fits and runs it. For example:

```text
Use Firecrawl to run Elections Canada official voting results and political contributions' List ridings capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
```

## What can Cursor do with Elections Canada official voting results and political contributions?

Elections Canada (elections.ca): official voting results of the 42nd (2015), 43rd (2019) and 44th (2021) federal general elections by electoral district (riding) and by poll, the 13 official summary tables (votes and seats by party, turnout, voting methods, candidates, returning officers), and the political financing contributions search (contributions to parties, riding associations, candidates and contestants). Results are read from the official CSV files Elections Canada publishes under the Open Government Licence - Canada; contributions from the anonymous search of the political financing database, whose records Elections Canada also publishes under that licence. Every output carries its source URL and the licence attribution.

Cursor can run any of Elections Canada official voting results and political contributions's 5 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **List ridings**: Every federal electoral district (riding) of a general election with its official result summary from table 11 of the Official Voting Results: population, electors, polling stations, valid and rejected ballots, total ballots cast, turnout and the elected candidate. Optionally one province or territory. One GET of table_tableau11.csv (~48 KB). Costs 5 Firecrawl credits per call.
- **Poll results**: Poll-by-poll results of one electoral district (format 2 of the official raw data): each polling division and Special Voting Rules group with electors, rejected ballots, void, no-poll and merged flags and the votes of every candidate, plus the district candidate list with party, incumbent and elected flags. Paged by `offset` and `limit` (default 100 polls, up to 500); `next_offset` continues. One GET of pollresults_resultatsbureau{district}.csv (100-400 KB). An unknown district number is `not_found`. Costs 5 Firecrawl credits per call.
- **Riding results**: Official result of one electoral district in one general election: the table 11 summary (electors, ballots, turnout) and every candidate with party, incumbent and elected flags, votes, share, majority, residence and occupation (tables 11 and 12 joined with the district poll-by-poll file). Three GETs of the official CSV files. An unknown district number is `not_found`. Costs 5 Firecrawl credits per call.
- **Search contributions**: Search the Elections Canada political financing database for contributions to parties, registered electoral district associations, candidates and leadership or nomination contestants: contributor name and address (city, province, postal code), party, recipient, date received, fiscal period, return and part, contributor type, monetary and non-monetary amounts. Filters are the site's: contributor and recipient names, recipient types, party, contributor province and types, amount range, date range; at least one is needed. Data as reviewed by Elections Canada by default, or as submitted. 200 contributions per page (`page`, `next_page`); a search the site judges too broad is `invalid_input` (too_broad). One POST and one GET to /WPAPPS/WPF/EN/CCS, plus one GET of the form when `party` is given. Costs 5 Firecrawl credits per call.
- **Summary table**: Any of the 13 official summary tables of a general election as columns and rows of strings, as published: 1 electors and polling stations, 2 the same for four elections, 3 ballots cast and turnout, 4 turnout for four elections, 5 valid votes by voting method, 6 valid votes under Special Voting Rules, 7 seats by party and sex, 8 valid votes by party and province, 9 percentage of valid votes by party and province, 10 candidates by vote share, 11 results by electoral district, 12 candidates and individual results, 13 returning officers. Paged by `offset` and `limit` (default 500 rows). One GET of table_tableau{NN}.csv. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name Elections Canada official voting results and political contributions or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to run Elections Canada official voting results and political contributions' List ridings capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Elections%20Canada%20official%20voting%20results%20and%20political%20contributions'%20List%20ridings%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Elections Canada official voting results and political contributions' Poll results capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Elections%20Canada%20official%20voting%20results%20and%20political%20contributions'%20Poll%20results%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Elections Canada official voting results and political contributions' Riding results capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Elections%20Canada%20official%20voting%20results%20and%20political%20contributions'%20Riding%20results%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Elections Canada official voting results and political contributions' Search contributions capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Elections%20Canada%20official%20voting%20results%20and%20political%20contributions'%20Search%20contributions%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)

### For agents

Start with the `elections-ca` 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 Elections Canada official voting results and political contributions?

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 Elections Canada official voting results and political contributions in other AI apps

- [Elections Canada official voting results and political contributions in ChatGPT](https://alexandria.firecrawl.dev/providers/elections-ca/connect/chatgpt)
- [Elections Canada official voting results and political contributions in Claude](https://alexandria.firecrawl.dev/providers/elections-ca/connect/claude)
- [Elections Canada official voting results and political contributions in Grok Bot](https://alexandria.firecrawl.dev/providers/elections-ca/connect/grok-bot)
- [Elections Canada official voting results and political contributions in Muse](https://alexandria.firecrawl.dev/providers/elections-ca/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, Elections Canada official voting results and political contributions 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 Elections Canada official voting results and political contributions MCP server for Cursor?

Cursor reaches Elections Canada official voting results and political contributions through Firecrawl's hosted MCP server, which serves Elections Canada official voting results and political contributions 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 Elections Canada official voting results and political contributions.

### What does connecting Elections Canada official voting results and political contributions to Cursor unlock?

Cursor can run all 5 of Elections Canada official voting results and political contributions's capabilities, including List ridings, Poll results and Riding results, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Cursor can combine Elections Canada official voting results and political contributions with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Elections Canada official voting results and political contributions account or API key to use it in Cursor?

No. Cursor calls Elections Canada official voting results and political contributions through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Elections Canada official voting results and political contributions account or API key.

### How much does it cost to use Elections Canada official voting results and political contributions in Cursor?

Each Elections Canada official voting results and political contributions 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 Elections Canada official voting results and political contributions?

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 Elections Canada official voting results and political contributions 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 Elections Canada official voting results and political contributions capabilities are available there. Keyless connections don't include Alexandria.
