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
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.txt
- Run the server:
python app.py
Running Options
- Default stdio mode:
python app.py - SSE mode (port 8000):
python app.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:
pytest
Metadata
Release files for hkopenai.hk-law-mcp-server 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hkopenai_hk_law_mcp_server-0.1.8.tar.gz | 5.4 kB | Details |
Release files / hkopenai_hk_law_mcp_server-0.1.8.tar.gz
| Download URL | hkopenai_hk_law_mcp_server-0.1.8.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a8dac673a0097c74fe8c182afc0ba104ea546ee68600f0551bcd46358481e78
|
|
BLAKE2b-256 checksum How to use checksums |
11afad3cee20fcc3d7a1eea90e9bb0242b3fbd70365828c35c88564e697e566a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|