About Hk Election MCP Server
Hk Election MCP Server is an MCP server in the Science category: this is an MCP server that provides access to government election and legislature data through a FastMCP interface.
Install
git clone https://github.com/hkopenai/hk-election-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Hk Election MCP Server
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Hong Kong Government Election and Legislature MCP Server
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
- Clone this repository
- Install Python dependencies:
pip install -r requirements.txt - 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:
- 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
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.