Elections Canada MCP Server logo

Elections Canada MCP Server

by ThreeFortyThree-Canada

This is a Model Context Protocol (MCP) server that provides access to Canadian federal election data. It currently supports results from the 2021 and 2025 elections.

View on GitHub

Last updated: N/A

What is Elections Canada MCP Server?

The Elections Canada MCP Server is a Model Context Protocol server that provides access to Canadian federal election data, including results from the 2021 and 2025 elections. It is designed to be used with MCP clients like Claude Desktop.

How to use Elections Canada MCP Server?

To use the server, install it via pip (uv pip install elections-canada-mcp-server). If using Claude Desktop, configure the claude_desktop_config.json file with the server's command and arguments. Then, you can query the server using natural language questions.

Key features of Elections Canada MCP Server

  • Access to Canadian federal election data

  • Support for 2021 and 2025 election results

  • Integration with MCP clients like Claude Desktop

  • Tools for searching ridings, getting party votes, and summarizing results

  • Resources for accessing data on all ridings, single ridings, and provinces

Use cases of Elections Canada MCP Server

  • Analyzing election results

  • Comparing party performance across ridings

  • Predicting future election outcomes

  • Providing data for political analysis and commentary

FAQ from Elections Canada MCP Server

What election data is available?

Currently, the server supports results from the 2021 and 2025 elections.

How do I install the server?

You can install the server using pip: uv pip install elections-canada-mcp-server.

How do I use the server with Claude Desktop?

Configure your claude_desktop_config.json file with the server's command and arguments as described in the README.

What tools are available?

The server provides tools for searching ridings, getting party votes, summarizing province and national results, finding closest ridings, and identifying best/worst results for a party.

What resources are available?

Resources include URIs for accessing data on all ridings, single ridings, and provinces.