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.

コメント

「その他」の他のコンテンツ