香港开放数据访问服务

myalone/mcp-open-data-hk
Hosted
1 Stars 1.7k 次浏览 transfer 更新于 2026-08-23
该服务暂未提供标准配置,请参考 README 手动接入

可用工具 (8 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

list_datasets 3 个参数

该工具无需必填参数,直接调用即可

get_dataset_details 3 个参数 需填 1 项

必填参数:dataset_id

list_categories 6 个参数

该工具无需必填参数,直接调用即可

get_category_details 9 个参数 需填 1 项

必填参数:category_id

search_datasets 4 个参数

该工具无需必填参数,直接调用即可

get_supported_formats

该工具无需必填参数,直接调用即可

search_datasets_with_facets 2 个参数

该工具无需必填参数,直接调用即可

get_datasets_by_format 3 个参数 需填 1 项

必填参数:file_format

服务介绍

香港开放数据访问服务 mcp-open-data-hk

一个提供香港政府官方开放数据门户DATA.GOV.HK数据访问的MCP服务器,支持数据集列表、详情查询、分类检索及格式筛选等功能。
null## 工具列表 Tool List

本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。

工具 Tool 描述 Description
list_datasets Get a list of dataset IDs from data.gov.hk Args: limit: Maximum number of datasets to return (default: 1000) offset: Offset of the first dataset to return language: Language code (en, tc, sc)
get_dataset_details Get detailed information about a specific dataset Args: dataset_id: The ID or name of the dataset to retrieve language: Language code (en, tc, sc) include_tracking: Add tracking information to dataset and resources
list_categories Get a list of data categories (groups) Args: order_by: Field to sort by ('name' or 'packages') - deprecated, use sort instead sort: Sorting of results ('name asc', 'package_count desc', etc.) limit: Maximum number of categories to return offset: Offset for pagination all_fields: Return full group dictionaries instead of just names language: Language code (en, tc, sc)
get_category_details Get detailed information about a specific category (group) Args: category_id: The ID or name of the category to retrieve include_datasets: Include a truncated list of the category's datasets include_dataset_count: Include the full package count include_extras: Include the category's extra fields include_users: Include the category's users include_groups: Include the category's sub groups include_tags: Include the category's tags include_followers: Include the category's number of followers language: Language code (en, tc, sc)
search_datasets Search for datasets by query term using the package_search API. This function searches across dataset titles, descriptions, and other metadata to find datasets matching the query term. Args: query: The solr query string (e.g., "transport", "weather", ":" for all) limit: Maximum number of datasets to return (default: 10, max: 1000) offset: Offset for pagination language: Language code (en, tc, sc) Returns: A dictionary containing: - count: Total number of matching datasets - results: List of matching datasets (up to limit) - has_more: Boolean indicating if there are more results available
get_supported_formats Get a list of file formats supported by data.gov.hk Returns: A list of supported file formats
search_datasets_with_facets Search for datasets and return faceted results for better data exploration. Args: query: The solr query string language: Language code (en, tc, sc) Returns: A dictionary containing: - count: Total number of matching datasets - search_facets: Faceted information about the results - sample_results: First 3 matching datasets
get_datasets_by_format Get datasets that have resources in a specific file format. Args: file_format: The file format to filter by (e.g., "CSV", "JSON", "GeoJSON") limit: Maximum number of datasets to return language: Language code (en, tc, sc) Returns: A dictionary containing: - count: Total number of matching datasets - results: List of matching datasets

检查服务 ## Inspector

工具在线测试: https://mcp.xiaobenyang.com/inspector/1777419076890627

Online Tool test https://mcp.xiaobenyang.com/inspector/1777419076890627

服务配置 MCP Server Config

如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?

访问小笨羊科技网站 https://xiaobenyang.com,注册用户即可获得APIKEY
Visit XiaoBenYang website https://xiaobenyang.com, register and get the APIKEY.

SSE

{
  "mcpServers": {
    "香港开放数据访问服务": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777419076890627/sse"
    }
  }
}

STREAMABLE HTTP

{
  "mcpServers": {
    "香港开放数据访问服务": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777419076890627/mcp"
    }
  }
}

STDIO

{
    "mcpServers": {
        "香港开放数据访问服务": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777419076890627",
          },
          "transport": "stdio"
        }
      }
}

相关 MCP 服务