tedckh/hko-weather-mcp-server-ts
If you are the rightful owner of hko-weather-mcp-server-ts and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The HKO Weather MCP Server provides weather information from the Hong Kong Observatory using the Model Context Protocol.
HKO Weather MCP Server
This project is a Model Context Protocol (MCP) server that provides weather information from the Hong Kong Observatory (HKO).
Getting Started
Prerequisites
- Node.js
- npm
- Docker (optional)
Installation
- Clone the repository:
git clone https://github.com/tedckh/hko-weather-mcp-server-ts.git - Install the dependencies:
cd hko-weather-mcp-server-ts npm install
Running the server
You can run the server in two ways:
1. Using npm:
npm run dev
This will start the server in development mode using ts-node. The server will be available at http://localhost:3036/hko-weather-mcp.
2. Using Docker:
docker-compose up
This will build the Docker image and run the server in a container. The server will be available at http://localhost:3036/hko-weather-mcp.
Available Tools
get_current_weather
This tool retrieves the current weather report from the Hong Kong Observatory.
Input:
lang(optional): The language for the weather report. Can been(English),tc(Traditional Chinese), orsc(Simplified Chinese). Defaults toen.
Output:
A summary of the current weather conditions, including temperature, humidity, and UV index.