MCP ExplorerExplorer

Hk Health Mcp Server

@hkopenaion 15 days ago
1 MIT
FreeCommunity
AI Systems
#ai#artificial-intelligence#healthcare#hong-kong#hongkong#mcp#mcp-server#open-data
This is an MCP server that provides access to health related data in Hong Kong through a FastMCP interface.

Overview

What is Hk Health Mcp Server

hk-health-mcp-server is an MCP server that provides access to health-related data in Hong Kong through a FastMCP interface.

Use cases

Use cases include news reporters checking current hospital waiting times, healthcare professionals monitoring emergency department loads, and developers integrating health data into applications.

How to use

To use hk-health-mcp-server, clone the repository, install the required Python dependencies, and run the server using the command ‘python app.py’. You can also run it in SSE mode on port 8000.

Key features

Key features include the ability to retrieve current Accident and Emergency Department waiting times by hospital in Hong Kong.

Where to use

hk-health-mcp-server can be used in healthcare applications, news reporting, and any platform that requires real-time health data from Hong Kong.

Content

Hong Kong Health Data MCP Server

GitHub Repository
License: MIT

This is an MCP server that provides access to health related data in Hong Kong through a FastMCP interface.

Features

  1. Get current Accident and Emergency Department waiting times by hospital in Hong Kong
  2. Get current waiting times for new case bookings for specialist outpatient services by specialty and cluster in Hong Kong
  3. Get average number of general outpatient clinic quotas for the preceding 4 weeks across 18 districts in Hong Kong

Examples

  • As a news reporter, you are interested in knowing the current waiting times at hospitals in Hong Kong. Please remind the audience not to abuse the service. Report in Chinese.
  • As a healthcare professional, you need to check the current waiting times for specialist outpatient services in different clusters to advise patients on the best options for timely care.

Data Source

  • Hong Kong Hospital Authority

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):
{
  "hk-health": {
    "disabled": false,
    "timeout": 3,
    "type": "stdio",
    "command": "uvx",
    "args": [
      "hkopenai.hk-health-mcp-server"
    ]
  }
}

Testing

Tests are available in the tests/ directory. Run with:

pytest

Tools

No tools

Comments