@pipeworx/elections-canada

Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/elections-canada’s. Install: one-click buttons

Connect to just the @pipeworx/elections-canada pack

https://gateway.pipeworx.io/elections-canada/mcp — only @pipeworx/elections-canada’s own tools, nothing else in the catalog.

No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.

Tools: 2

Official poll-by-poll results for Canadian federal electoral districts in the 45th general election (28 April 2025): votes by candidate and party for every polling division, with district totals and the elected candidate.

Tools

  • elections_canada_districts({ query, province? }) — find a riding and its 5-digit district number by name fragment, optionally within a province or territory.
  • elections_canada_poll_results({ district, poll?, limit?, offset? }) — per-polling-division valid votes by candidate (with party), rejected ballots and electors, plus district totals. Paged.

Auth

Keyless.

Data sources

  • Elections Canada, Official Voting Results (raw data), 45th general election — the agency’s published poll-by-poll results, one file per electoral district. Human-facing page: the Elections Canada results section of its website.

Gotchas

  • Each call reads the district list and, for poll results, one district’s results from the publisher live; nothing is stored, so a call needs the publisher to be reachable.
  • Results are the official voting results as published by Elections Canada, dated 12 November 2025 on the publisher page. Other elections (2021 and earlier) and provincial or municipal elections are not covered.
  • Polling division numbers are strings, not integers: “45A” and “48-3” occur. Advance and special polls appear as their own divisions.
  • A poll can be flagged void, “no poll held”, or combined with another poll’s number; those flags are returned as-is and their votes may be zero by design.
  • District names use dashes (“Ottawa-Vanier-Gloucester”) and accents (“Beauport-Limoilou”, “Quebec”); matching ignores accents and dashes. An ambiguous name returns found: false with candidates; pass the 5-digit number.
  • The results file is UTF-8 with a byte-order mark and quoted fields containing commas; the parser strips the mark and handles quoting.

Tools

  • elections_canada_districts — Find Canadian federal electoral districts (ridings) and their 5-digit district numbers from the Elections Canada official results for the 45th general election (2025). Filter by a name fragment and/or
  • elections_canada_poll_results — Official poll-by-poll votes by candidate for one Canadian federal electoral district in the 45th general election (28 April 2025), from Elections Canada official voting results: per polling division v

Tools

  • elections_canada_districts — Find Canadian federal electoral districts (ridings) and their 5-digit district numbers from the Elections Canada official results for the 45th general election (2025). Filter by a name fragment and/or
  • elections_canada_poll_results — Official poll-by-poll votes by candidate for one Canadian federal electoral district in the 45th general election (28 April 2025), from Elections Canada official voting results: per polling division v

Regenerated from source · build December 1, 2026