Skip to main content

Hong Kong Weather MCP Server providing climate and weather data tools

Project description

HKO MCP Server

GitHub Repository License: MIT

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

  1. Clone this repository
  2. Install Python dependencies:
    pip install -r requirements.txt
    
  3. 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:

  1. 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

hkopenai_hk_climate_mcp_server-0.1.7.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file hkopenai_hk_climate_mcp_server-0.1.7.tar.gz.

File metadata

File hashes

Hashes for hkopenai_hk_climate_mcp_server-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b36ea82396a727c2a2112b37f07e19d2ba93571467d86cd2b05981269f3c4ad7
MD5 9835cce2f53c2d98ab233bc1be5a26dc
BLAKE2b-256 21bc72a346009ae8c3118d085482544e49cdb82f87e5113831929c2751248181

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page