hk-food-mcp-server

hkopenai/hk-food-mcp-server

3.2

If you are the rightful owner of hk-food-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Hong Kong Food Data MCP Server provides access to food-related data in Hong Kong through a FastMCP interface, focusing on wholesale food prices.

Hong Kong Food Data MCP Server

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

Features

Wholesale Food Prices

  • Get daily wholesale prices of major fresh food in Hong Kong
  • Filter by date range (start_date, end_date in DD/MM/YYYY format)
  • Select output language (en/zh, default English)

Data Source

  • Wholesale food prices from Agriculture, Fisheries and Conservation Department

Examples

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

Testing

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

pytest