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 | Provenance | Actions |
|---|---|---|---|---|
| hkopenai_hk_law_mcp_server-0.1.8.tar.gz | 5.4 kB | Without provenance | Details for hkopenai_hk_law_mcp_server-0.1.8.tar.gz |
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
|
Security for hkopenai.hk-law-mcp-server 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.