HKLaw MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Hong Kong Law MCP
A stateless Model Context Protocol server for Hong Kong legal research, backed by official Hong Kong e-Legislation (HKeL) open-data manifests.
This is the Hong Kong foundation for a planned multi-jurisdiction service covering Hong Kong, Singapore, and Malaysia.
Current tools
The v0.1 core exposes four tools:
analyze_legal_intent— classifies a Hong Kong legal-research request and highlights source/high-stakes cautions without giving a legal conclusion.search_hk_laws— searches the official current HKeL manifest by chapter number or title.get_hk_law— returns current chapter metadata, status, version date, official HKeL URL, and machine-readable source provenance.get_hk_source_status— reports current official HKeL manifest timestamps for English and Traditional Chinese.
Related MCP server: sg-eli-mcp
Source policy
Primary source: Hong Kong Department of Justice, Hong Kong e-Legislation (HKeL).
Current manifests:
English:
https://resource.data.one.gov.hk/doj/data/hkel_list_c_all_en.jsonTraditional Chinese:
https://resource.data.one.gov.hk/doj/data/hkel_list_c_all_zh-Hant.jsonSimplified Chinese:
https://resource.data.one.gov.hk/doj/data/hkel_list_c_all_zh-Hans.json
Tool responses preserve official HKeL URLs, current version dates, status information, source filenames, and available SHA-256 provenance.
Legal-status distinction
Machine-readable data and HTML are used for research and retrieval. Where legal-status verification matters, use the official HKeL page and verified PDF copy carrying the official verification mark.
Simplified Chinese
HKeL states that its Simplified Chinese text is software-converted from Traditional Chinese and is for information only. If there is inconsistency or ambiguity, Traditional Chinese prevails. The MCP surfaces this warning whenever zh-Hans is requested.
Architecture
The current core is deliberately stateless: MCP clients call a Streamable HTTP endpoint, and the Worker retrieves current metadata from official HKeL manifests. Full-text provision indexing and point-in-time legislation can be added as separate persistence adapters without changing the public jurisdiction interface.
Local validation
Install dependencies and run:
npm run typecheck
npm testCloudflare/Wrangler deployment configuration is intentionally kept separate from this initial application-code PR.
Roadmap
HK v0.2
Add full-text provision search/read from official HKeL machine-readable packages.
Add point-in-time legislation and past-version retrieval.
Add judgment search/read using authoritative Judiciary sources.
Add amendment and legislative-history tools.
Add citation and version-fidelity evals.
Add production rate limiting and authentication where appropriate.
Singapore and Malaysia
Keep one public MCP interface with jurisdiction-specific adapters while preserving each jurisdiction's authoritative-source, commencement, versioning, citation, and court-hierarchy semantics.
Disclaimer
Research assistance only; not legal advice. Verify source text, version date, commencement/status, and any verified-copy requirements before relying on a result.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Chinese law lookup: statutes, regulations and articles by keyword or law name.
Taiwan legal research MCP by Dr.Legal (法律偵探): 22.7M court judgments, current statutes, administrative rulings and Constitutional Court decisions. Retrieval-only, per-item citations, appeal-chain history, bundle-level citation audit. Free, no API key; OAuth 2.0 dynamic registration completes automatically. 台灣法律 MCP:2,272 萬筆裁判書、法規、函釋、憲法法庭裁判,逐筆附出處並提供引用查核。免費、免金鑰。Docs: https://dr-legal.com.tw/mcp
대한민국 법령·조문·별표·연혁·판례·해석례를 법제처 국가법령정보 OPEN API 로 찾아보는 읽기 전용 MCP 서버. 코어 12 + 보조 12 도구.
Taiwan legal research MCP: 判決書、全國法規、釋字/憲判與立法歷程查詢,12 個工具,回應均附官方出處 URL。
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for searching and retrieving Japanese laws from the e-Gov API, enabling natural language queries for legal information.37 npmMIT
- AlicenseAqualityBmaintenanceAn MCP server for Singapore Statutes Online (SSO), the official portal for Singapore legislation. It browses, fetches, and cites Acts, with a verifiable citation on every response.429 PyPI4Apache 2.0
- AlicenseAqualityDmaintenanceMCP server for discovering, downloading, parsing, and searching Hong Kong listed company announcements from HKEXnews through 6 structured tools.629 PyPI4MIT
- AlicenseAqualityCmaintenanceMCP server for U.S. federal law that enables searching the U.S. Code, CFR, Federal Register, case law, and bills, with citation verification against primary sources to prevent hallucinations.11MIT