Hko MCP logo

Hko MCP

by louiscklaw

Retrieves Hong Kong Observatory forecasts, warnings, earthquake, tide, astronomy, climate, and rainfall data through MCP tools.

Install Hko MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "louiscklaw-hko-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github:louiscklaw/mcp-hko"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio louiscklaw-hko-mcp -- npx -y github:louiscklaw/mcp-hko

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y github:louiscklaw/mcp-hko

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The louiscklaw/hko-mcp MCP server exposes Hong Kong Observatory weather data APIs through the Model Context Protocol. It provides tools for forecasts, current conditions, warnings, earthquakes, tides, astronomical data, lightning, visibility, temperature records, radiation, and rainfall. Use it when an MCP client needs Hong Kong-specific meteorological or related environmental information. The repository supports stdio configuration through npx and also documents a Docker launch option.

Use cases

  • Ask for Hong Kong’s current weather
  • Check a nine-day Hong Kong forecast
  • Retrieve active weather warnings
  • Look up local earthquake reports
  • Query tide, rainfall, or astronomical data

Key features

  • Nine-day and current weather forecasts
  • Weather warnings and special weather tips
  • Earthquake and felt-tremor reports
  • Tide, astronomy, and lunar-date data
  • Temperature, radiation, lightning, and visibility records
  • Hourly rainfall information

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 70d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · github:louiscklaw/mcp-hko (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Hko MCP works

What louiscklaw/hko-mcp MCP server does

The louiscklaw/hko-mcp MCP server connects an MCP client to data published by the Hong Kong Observatory. Its tool set covers more than basic weather lookups: agents can request forecasts, warning details, earthquake reports, tide information, astronomical data, climate records, radiation levels, and rainfall measurements.

Weather coverage includes a nine-day forecast, the current weather report, a local forecast, warning information, warning summaries, and special weather tips. The server also exposes quick earthquake messages and reports for locally felt earth tremors. This makes it suitable for assistants that need to answer Hong Kong weather questions or combine weather context with other Observatory data.

How it works

The server is built with the FastMCP framework. Its tools correspond to Hong Kong Observatory API functions and are grouped in the project documentation by subject area: weather and warnings, earthquakes, tides and climate, lunar dates, and rainfall.

An MCP client sends a request through one of the exposed tools, and the server uses the matching Observatory API implementation. The README gives conversational examples such as asking about the weather now or the forecast for a future day. Tool identifiers include names such as fnd, rhrread, flw, warningInfo, qem, HHOT, SRS, and hourlyrainfall.

Setup and configuration

The documented Claude Desktop setup runs the server over standard input/output with npx:

config.json
{
  "mcpServers": {
    "mcp-hko": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:louiscklaw/mcp-hko"]
    }
  }
}

The repository also shows a Docker configuration that starts mcp-hko:latest with an interactive terminal and removes the container after it exits. For local development, install dependencies with npm install, run npm run inspect to start the MCP development server, and use npm run build to create a build.

Tools and capabilities

The louiscklaw/hko-mcp MCP server includes the following documented data functions:

  • Nine-day, current, and local weather forecasts
  • Weather warning information, summaries, and special tips
  • Quick earthquake and locally felt earthquake reports
  • Tide information through HHOT and HLT
  • Sunrise/sunset and lunar-date data
  • Lightning and visibility observations
  • Current, maximum, and minimum temperature records
  • Radiation level reports
  • Hourly rainfall data

The project states that tests cover all API functions and provides both standard and watch-mode test commands: npm test and npm run test:watch.

Limitations and notes

The documented data source is the Hong Kong Observatory, so this server is specifically oriented toward Hong Kong weather and related Observatory information. The README names Claude Desktop in its client configuration example; it does not document client-specific setup for other applications.

It also does not describe a hosted endpoint. Running the server therefore requires using the documented stdio or Docker arrangement, or inspecting the repository’s implementation for additional deployment options.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hko MCP

louiscklaw/hko-mcp is an MCP server that connects AI clients to Hong Kong Observatory weather data APIs. Its tools cover nine-day and current weather reports, local forecasts, warnings, earthquakes, tides, astronomy, lightning, visibility, temperatures, radiation, and hourly rainfall. Clients can request these datasets through MCP.

Configure it with the documented npx GitHub command or run the provided Docker image. The Claude Desktop example uses `npx -y github:louiscklaw/mcp-hko` with a stdio transport; the repository also shows `docker run -i --rm mcp-hko:latest`.

It retrieves Hong Kong Observatory forecasts, current conditions, warnings, earthquake reports, tide data, astronomical information, temperature records, radiation reports, lightning, visibility, and hourly rainfall. The README maps these capabilities to named API tools such as `fnd`, `rhrread`, `qem`, and `hourlyrainfall`.

Run `npm test` for the test suite or `npm run test:watch` for watch mode.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHko MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/louiscklaw-hko-mcp?style=directory)](https://allmcps.com/mcp/louiscklaw-hko-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/louiscklaw-hko-mcp"><img src="https://allmcps.com/api/badge/louiscklaw-hko-mcp?style=directory" alt="Hko MCP on AllMCPs" /></a>