Skip to main content
Glama
hkopenai

hk-law-mcp-server

by hkopenai

Hong Kong law Data MCP Server

GitHub Repository License: MIT

This is an MCP server that provides access to law and security related data in Hong Kong through a FastMCP interface.

Features

Foreign Domestic Helpers Statistics

  • Get statistics on the number of Foreign Domestic Helpers in Hong Kong by country and year

Related MCP server: ph-civic-data-mcp

Data Source

  • Foreign Domestic Helpers statistics from Immigration Department

Examples

  • Get Foreign Domestic Helpers statistics for 2023

  • Get all Foreign Domestic Helpers statistics

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-law": {
    "disabled": false,
    "timeout": 3,
    "type": "stdio",
    "command": "uvx",
    "args": [
      "hkopenai.hk-law-mcp-server"
    ]
  }
}

Testing

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

pytest
A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hkopenai/hk-law-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server