Skip to main content
Glama

hko-mcp

A Streamable HTTP MCP server for Hong Kong Observatory open data, built with Bun.

Run

bun install
bun run start

The MCP endpoint is:

http://localhost:3000/mcp

Set a custom port with:

PORT=8787 bun run start

Related MCP server: mcp-hko

Tools

  • get_weather_information: HKO weather forecast, current report, warnings, warning details, and special weather tips.

  • get_earthquake_information: quick earthquake messages and locally felt earth tremor reports.

  • get_open_data: climate and weather open-data datasets such as tides, sun/moon events, lightning counts, visibility, daily temperatures, and weather/radiation reports.

  • get_lunar_date: Gregorian to lunar date conversion.

  • get_hourly_rainfall: past-hour rainfall from automatic weather stations.

  • list_supported_datasets: dataset codes, languages, and station groups.

Example Requests

{
  "dataType": "rhrread",
  "lang": "en"
}
{
  "dataType": "LTMV",
  "rformat": "json",
  "lang": "en"
}
{
  "date": "2026-06-20"
}

The implementation follows HKO Open Data API documentation version 1.12, dated November 2024.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables 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.
    8
    8
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Provides access to Hong Kong Observatory weather data APIs, enabling retrieval of forecasts, earthquake info, tide data, and more via natural language.
    20
    2
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Provides access to Hong Kong government environment data, including the current Air Quality Health Index (AQHI) from monitoring stations across Hong Kong.
    1
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides read-only access to Taiwan's Central Weather Administration (CWA) Open Data API, offering 36 tools across 7 categories including weather forecasts, observations, earthquakes, and astronomy.
    MIT