MCP server exposing 2 tools for elections-canada.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/elections-canada/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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 province. query is required; province optionally narrows it. Example: elections_canada_districts({ query: "Ottawa" }).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 valid votes for each candidate with party, rejected ballots and electors, plus district totals and the elected candidate. Optionally narrow to one polling division number. Paged: use offset and limit. Example: elections_canada_poll_results({ district: "Ottawa Centre", limit: 5 }).Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/elections-canada/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io