hk-law-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hk-law-mcp-server get foreign domestic helpers statistics for 2023"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hong Kong law Data MCP Server
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: Hong Kong Government Data MCP Server
Data Source
Foreign Domestic Helpers statistics from Immigration Department
Examples
Get Foreign Domestic Helpers statistics for 2023
Get all Foreign Domestic Helpers statistics
Setup
Clone this repository
Install Python dependencies:
pip install -r requirements.txtRun the server:
python server.py
Running Options
Default stdio mode:
python server.pySSE 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-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:
pytestAvailable Tools
2 toolsget_foreign_domestic_helpers_statisticsB
Statistics on Foreign Domestic Helpers in Hong Kong. Data source: Immigration Department
Inputs: year. Returns: object
get_student_visa_statisticsA
Statistics on Student Visa / Entry Permit Approved in Hong Kong. Data source: Immigration Department
Inputs: year. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools target clearly distinct statistics topics: Student Visa/Entry Permit versus Foreign Domestic Helpers. There is no overlap in purpose or data source.
Both tool names follow the exact same 'get_' + descriptive noun pattern, making the naming convention consistent and predictable.
With only 2 tools, the server feels thin for a domain like Hong Kong law/immigration statistics, but it is not unreasonably small for a focused niche.
The tools cover only two specific immigration statistics categories, leaving out many other visa types and legal data that could be expected from a Hong Kong law server. This is a notable gap.
Maintenance
Related MCP Connectors
Hong Kong Census and Statistics Department (C&SD) open-data MCP.
MCP server for Chinese law lookup: statutes, regulations and articles by keyword or law name.
MCP server for FormBro Canadian immigration application automation.
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server providing access to Hong Kong transportation data, including passenger traffic statistics at control points and real-time bus arrival information for KMB and Long Win Bus services.28 PyPI5MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides access to Hong Kong government city data, including ambulance service indicators, via a FastMCP interface.31 PyPI2MIT
- AlicenseAqualityCmaintenanceProvides access to Hong Kong financial data like business registrations, mortgage statistics, and HIBOR rates through a FastMCP interface.1345 PyPI13MIT
- AlicenseAqualityDmaintenanceMCP server for discovering, downloading, parsing, and searching Hong Kong listed company announcements from HKEXnews through 6 structured tools.627 PyPI4MIT