Skip to main content
Glama
hkopenai

Hong Kong community and social welfare MCP Server

by hkopenai
README.md
# Hong Kong community and social welfare MCP Server

[![GitHub Repository](https://img.shields.io/badge/GitHub-Repository-blue.svg)](https://github.com/hkopenai/hk-community-mcp-server)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

This is an MCP server that provides access to government community and social welfare data through a FastMCP interface.

## Features

### Elderly Community Care Services
- Retrieve data on the number of applicants and average waiting time for subsidized community care services for the elderly in Hong Kong [url](https://data.gov.hk/en-data/dataset/hk-swd-elderly-statistics-on-waiting-list-and-waiting-time-for-ccs)

## Data Source

- Elderly community care services data from Social Welfare Department

## Examples

* Retrieve latest waiting time data subsidized community care services for elderly community care services in Hong Kong

## Setup

1. Clone this repository
2. Install Python dependencies:
   ```bash
   pip install -r requirements.txt
   ```
3. Run the server:
   ```bash
   python server.py
   ```

### Running Options

- Default stdio mode: `python server.py`
- SSE mode (port 8000): `python server.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):
```json
{
  "hk-community": {
    "disabled": false,
    "timeout": 3,
    "type": "stdio",
    "command": "uvx",
    "args": [
      "hkopenai.hk-community-mcp-server"
    ]
  }
}
```

## Testing

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

TDQS

A3.6/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of confusing it with another tool. Its purpose is clearly defined in the name and description.

Naming Consistency5/5

The tool name follows a clear verb_noun pattern ('get_elderly_community_care_services'), which is consistent and descriptive. Even though it is a single tool, the naming convention is sound.

Tool Count2/5

A server named 'Hong Kong community and social welfare' would be expected to cover many areas, but it has only one tool focused on elderly community care. This is too few for the apparent scope.

Completeness1/5

The tool only covers one specific service (elderly community care), leaving out many other social welfare domains such as youth, family, disability, and housing support. This is a severe gap for the stated purpose.

Maintenance

ActivitySlowing
ResponsivenessNo issues