Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Hkopenai Hk Election

FreeNot checked

Hong Kong election and legislature MCP Server providing election and legislature data tools

GitHubEmbed

About

Hong Kong election and legislature MCP Server providing election and legislature data tools

README

GitHub Repository License: MIT

This is an MCP server that provides access to government security incident data through a FastMCP interface.

Features

  • Registered Electors Data: Retrieve the number of registered electors in Hong Kong's geographical constituencies for a specified range of years.

Data Source

  • Registered electors data from Registration and Electoral Office (voterregistration.gov.hk)

Examples

  • List number of registered electors in geographical constituencies in Hong Kong between 2009 and 2024

Setup

  1. Clone this repository
  2. Install Python dependencies:
    pip install -r requirements.txt
    
  3. Run the server:
    python server.py
    

Running Options

  • Default stdio mode: python server.py
  • SSE mode (port 8000): python server.py --sse

Cline Integration

To connect this MCP server to Cline using stdio:

  1. Add this configuration to your Cline MCP settings (cline_mcp_settings.json):
{
  "hk-election": {
    "disabled": false,
    "timeout": 3,
    "type": "stdio",
    "command": "uvx",
    "args": [
      "hkopenai.hk-election-mcp-server"
    ]
  }
}

Testing

Tests are available in the tests/ directory. Run with:

pytest

from github.com/hkopenai/hk-election-mcp-server

Installing Hkopenai Hk Election

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/hkopenai/hk-election-mcp-server

FAQ

Is Hkopenai Hk Election MCP free?

Yes, Hkopenai Hk Election MCP is free — one-click install via Unyly at no cost.

Does Hkopenai Hk Election need an API key?

No, Hkopenai Hk Election runs without API keys or environment variables.

Is Hkopenai Hk Election hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Hkopenai Hk Election in Claude Desktop, Claude Code or Cursor?

Open Hkopenai Hk Election on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Hkopenai Hk Election with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs