Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Hkopenai Hk Election

БесплатноНе проверен

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

GitHubEmbed

Описание

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

Установка Hkopenai Hk Election

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

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

FAQ

Hkopenai Hk Election MCP бесплатный?

Да, Hkopenai Hk Election MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Hkopenai Hk Election?

Нет, Hkopenai Hk Election работает без API-ключей и переменных окружения.

Hkopenai Hk Election — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Hkopenai Hk Election в Claude Desktop, Claude Code или Cursor?

Открой Hkopenai Hk Election на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Hkopenai Hk Election with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development