hkopenai.hk-education-mcp-server

v0.1.8
hkopenai.hk-education-mcp-server Checked 4 days ago Published 1 year ago

Hong Kong education MCP Server providing education data tools

This is an MCP server that provides access to Hong Kong government data related to education and security incidents through a FastMCP interface. Student Enrolment Data - Get student enrolment in primary schools by district and grade in Hong Kong url 1. Clone this repository 2. Install Python dependencies: 3. Run the server:

Summary extracted from the README.

Hong Kong Education Data MCP Server

GitHub Repository License: MIT

This is an MCP server that provides access to Hong Kong government data related to education and security incidents through a FastMCP interface.

Features

Student Enrolment Data

  • Get student enrolment in primary schools by district and grade in Hong Kong url

Data Source

  • Student enrolment data from Education Bureau

Examples

  • Get student enrolment data by district and grade

Setup

  1. Clone this repository
  2. Install Python dependencies:
    pip install -r requirements.txt
    
  3. Run the server:
    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):
{
  "hk-education": {
    "disabled": false,
    "timeout": 3,
    "type": "stdio",
    "command": "uvx",
    "args": [
      "hkopenai.hk-education-mcp-server"
    ]
  }
}

Testing

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

pytest