MCP.so
登录

Elections Canada MCP Server

@ThreeFortyThree-Canada

关于 Elections Canada MCP Server

This Model Context Protocol (MCP) server provides access to Canadian federal election data. The server exposes resources and tools to query and analyze election results by riding, province, and party.

基本信息

分类

其他

许可证

MIT license

运行时

python

传输方式

stdio

发布者

ThreeFortyThree-Canada

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "elections-canada-mcp-server": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "elections-canada-mcp-server"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Elections Canada MCP Server?

Elections Canada MCP Server 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 and is designed for use with MCP clients such as Claude Desktop.

How to use Elections Canada MCP Server?

Install via PyPI with uv pip install elections-canada-mcp-server, then configure your MCP client (e.g., Claude Desktop) by adding the server to claude_desktop_config.json. After restarting, ask natural-language questions like "What were the 2021 election results in Toronto Centre?"

Key features of Elections Canada MCP Server

  • Search ridings by name (accent-insensitive)
  • Get vote share and percentages per riding
  • Find the winning party in any riding
  • Summarize province-wide or national election results
  • Identify closest ridings and best/worst party performances
  • Access riding, province, and list resources via URI

Use cases of Elections Canada MCP Server

  • Ask an AI assistant about specific riding results from 2021 or 2025
  • Analyze which ridings were most competitive for a given party
  • Generate province-by-province seat and vote summaries
  • Compare best and worst electoral performances across parties
  • Build conversational UIs or chatbots with live election data

FAQ from Elections Canada MCP Server

What elections are currently supported?

The server currently includes data from Canada’s 2021 and 2025 federal elections.

How do I install Elections Canada MCP Server?

Install it via PyPI using uv pip install elections-canada-mcp-server. You can then configure it in Claude Desktop or another MCP client.

What tools does Elections Canada MCP Server provide?

It provides seven tools: search_ridings, get_party_votes, get_winning_party, summarize_province_results, summarize_national_results, find_closest_ridings, and best_and_worst_results.

What data is available via resources?

Resources are available at three levels: all ridings (elections-canada://ridings), a single riding (elections-canada://riding/{riding_code}), and a province (elections-canada://province/{province_code}).

Who maintains Elections Canada MCP Server?

It is developed and maintained by ThreeFortyThree Canada and is available under the MIT License.

评论

其他 分类下的更多 MCP 服务器