Hong Kong Weather MCP Server providing climate and weather data tools
Project description
HKO MCP Server
This is an MCP server that provides access to climate and weather data through a FastMCP interface.
Data Source
- Hong Kong Observatory
Features
- Current weather: Get current weather observations from HKO (supports optional region parameter)
Setup
- Clone this repository
- Install Python dependencies:
pip install -r requirements.txt
- Run the server:
python app.py
Running Options
- Default stdio mode:
python app.py - SSE mode (port 8000):
python app.py --sse
Cline Integration
To connect this MCP server to Cline using stdio:
- Add this configuration to your Cline MCP settings (cline_mcp_settings.json):
{
"hko-server": {
"disabled": false,
"timeout": 3,
"type": "stdio",
"command": "python",
"args": [
"c:/Projects/hkopenai/hk-climate-mcp-server/app.py"
]
}
}
Testing
Tests are available in tests. Run with:
pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hkopenai_hk_climate_mcp_server-0.1.7.tar.gz.
File metadata
- Download URL: hkopenai_hk_climate_mcp_server-0.1.7.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b36ea82396a727c2a2112b37f07e19d2ba93571467d86cd2b05981269f3c4ad7
|
|
| MD5 |
9835cce2f53c2d98ab233bc1be5a26dc
|
|
| BLAKE2b-256 |
21bc72a346009ae8c3118d085482544e49cdb82f87e5113831929c2751248181
|