hk-election-mcp-server
Provides access to Hong Kong registered electors data from the Registration and Electoral Office, enabling queries of elector counts by year range.
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.