HongKongAddressMCP
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., "@HongKongAddressMCPcorrect '科士商業中心 宏開道8號 九龍灣'"
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.
Address MCP Server
A Model Context Protocol (MCP) server for Hong Kong address lookup and correction using the Address Lookup Service (ALS) open data from the HKSAR Government.
Features
Fuzzy address matching — Corrects typos in building names, street names, estate names (Chinese & English)
Structured input parsing — Parses the standard HK address form format (室/層/樓/大廈名稱/街名及街號/地區)
Free-text search — Search by any combination of address fields
Bilingual — Full support for Traditional Chinese and English addresses
LLM-powered correction — Uses Dify LLM API to compose the final corrected full address
Offline fallback — Falls back to local-only matching if LLM is unavailable
GeoAddress & Coordinates — Returns GeoAddress identifiers and WGS84 coordinates
Related MCP server: Australian Postcodes MCP Server
Data Source
Uses the ALS GeoJSON files (18 district files) from DATA.GOV.HK:
als_addresses_(district_name).geojson— One file per District Council district
Tools
check_address
Look up and correct a Hong Kong address using structured fields.
Parameters:
Field | Description | Example |
| Building name (大廈名稱) |
|
| Street name (街名) |
|
| Street number (街號) |
|
| Estate name (屋邨/屋苑) |
|
| Village name (村) |
|
| District (地區) |
|
| Region (地區選項) |
|
| Floor (層) |
|
| Unit/Room (室) |
|
parse_and_check_address
Parse a structured Chinese address form and look up/correct it.
Input example:
室:215
層:8
樓:(未填寫)
大廈名稱:科士商業中心
屋邨/屋苑/村:(未填寫)
街名及街號:宏開道 8號
地區:九龍灣
地區選項:已勾選 九龍Output: Identifies that "科士商業中心" should be "其士商業中心" (CHEVALIER COMMERCIAL CENTRE).
correct_address ⭐ (Recommended)
The main tool — parses, looks up, and corrects an address using ALS open data + Dify LLM. Returns the final corrected full address.
Parameters:
Field | Description |
| Any address text — structured form or free text (Chinese/English) |
Example output:
CHINESE: 九龍觀塘區宏開道8號其士商業中心8樓215室
ENGLISH: Unit 215, 8/F, CHEVALIER COMMERCIAL CENTRE, 8 WANG HOI ROAD, KWUN TONG DISTRICT, KLN
GEOADDRESS: 3981120257T20050430
CORRECTIONS: 大廈名稱: "科士商業中心" → "其士商業中心" (CHEVALIER COMMERCIAL CENTRE)search_address_by_text
Free-text search for addresses.
Parameters:
Field | Description |
| Free-text query (Chinese or English) |
| Max results (default: 5) |
Setup
Install dependencies
npm installConfigure Environment Variables
Copy the example environment file and update with your credentials:
cp .env.example .envEdit .env to set your Dify API credentials:
DIFY_API_KEY=your-api-key-here
DIFY_API_ENDPOINT=https://your-dify-endpoint.com/v1Note: The .env file is gitignored to protect your credentials.
Run as MCP server
node index.jsConfigure in your MCP client
Add to your MCP settings (e.g. ~/.cursor/mcp.json or Windsurf MCP config):
{
"mcpServers": {
"address-mcp": {
"command": "node",
"args": ["/Users/hillmantam/AddressMCP/index.js"]
}
}
}Environment Variables Reference
Variable | Required | Description |
| Yes | Your Dify API key |
| Yes | Your Dify API base URL (e.g., |
Run tests
npm testExample Correction
Input: 科士商業中心 at 宏開道 8號, 九龍灣
Output:
⚠️ 大廈名稱: "科士商業中心" → "其士商業中心" (CHEVALIER COMMERCIAL CENTRE)
Correct address: 九龍觀塘區宏開道8號其士商業中心
GeoAddress:
3981120257T20050430Coordinates: 22.32133, 114.21127
Architecture
User Input → Parse structured fields → Fuse.js fuzzy search (local GeoJSON)
↓
Top 5 candidates
↓
Dify LLM API → Final corrected address
↓
(Fallback: local-only if LLM fails)Fuse.js — Fuzzy string matching for Chinese and English text
Dify LLM — AI-powered address correction and formatting
MCP SDK — Standard Model Context Protocol server over stdio
GeoJSON — All 18 district files loaded into memory with indexed search
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
- AlicenseAqualityCmaintenanceEnables access to Hong Kong government's official open data portal (DATA.GOV.HK) through natural language queries. Supports searching datasets, browsing categories, and retrieving detailed information about Hong Kong's public data resources.Last updated85MIT
- Flicense-qualityDmaintenanceEnables AI assistants to search, validate, and retrieve Australian postcode and suburb data with intelligent fuzzy matching for handling misspellings and voice queries. Provides comprehensive location services including geographic search, Local Government Area queries, and suburb-postcode validation for customer service interactions.Last updated5
- Flicense-qualityDmaintenanceProvides comprehensive building and office address information queries for enterprises in China, including fuzzy enterprise search, office address details and statistics, and building information queries to support geographical distribution and occupancy analysis.Last updated
- Flicense-qualityDmaintenanceEnables AI assistants to validate and standardize US addresses using the official USPS Address Validation API with secure OAuth2 authentication.Last updated
Related MCP Connectors
Address validation & geocoding for AI agents: 240+ countries, UK PAF, free US/CA enrichment
Hungarian postcode lookup + validation - 3,484 codes, sub-10ms lookups, bulk address endpoint.
39 Japanese locale APIs — wareki, NTA invoice, 法人番号, postal, romanization, kanji-kana (Workers AI).
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/OctHex2016/HongKongAddressMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server