HKLaw MCP
Click on "Install 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., "@HKLaw MCPSearch for the Companies Ordinance"
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 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: lawyer-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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceMCP server for searching and retrieving Japanese laws from the e-Gov API, enabling natural language queries for legal information.7MIT
- FlicenseAqualityDmaintenanceMCP server for Legalize.dev, enabling AI to query and understand legal frameworks across countries via a structured legislation API.131
- AlicenseAqualityAmaintenanceAn MCP server for accessing Turkish legislation (laws, regulations, decrees) via the Adalet Bakanligi API, providing search, full-text retrieval, and structured citations.4Apache 2.0
- AlicenseAqualityAmaintenanceAn 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.3Apache 2.0
Related MCP Connectors
Task-oriented MCP for Indonesian law: search, resolve citations, read laws, and MK decisions.
Public Indian legal search MCP for Roop judgments, statutes, and corpus grounding.
Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/keatko/HKLaw-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server