MO

mcp-open-data-hk/mcp-open-data-hk

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

8 stars 7 forks 品質 63 トレンド 16MIT

This is an MCP (Model Context Protocol) server that provides access to data from [DATA.GOV.HK](https://data.gov.hk), the official open data portal of the Hong Kong government.

概要

This is an MCP (Model Context Protocol) server that provides access to data from DATA.GOV.HK, the official open data portal of the Hong Kong government. To install mcp-open-data-hk for Claude Desktop automatically via Smithery: When using uv no specific installation is needed. We will use uvx to directly run mcp-server-fetch. Alternatively you can install mcp-server-fetch via pip: After installation, you can run it as a script using: After installation, configure your MCP-compatible client (like Cursor, Claude Code, or Claude Desktop) by adding the following to your settings.json: The server provides the following tools to interact with the DATA.GOV.HK API: 1. list_datasets - Get a list of dataset IDs 2. get_dataset_details - Get detailed information about a specific dataset 3. list_categories - Get a list of data categories 4. get_category_details - Get detailed information about a specific category 5.

README

以下は原文 README の抜粋です。原文を見る。

mcp-open-data-hk

This is an MCP (Model Context Protocol) server that provides access to data from DATA.GOV.HK, the official open data portal of the Hong Kong government.

Installation

Installing via Smithery

To install mcp-open-data-hk for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @mcp-open-data-hk/mcp-open-data-hk --client claude

When using uv no specific installation is needed. We will use uvx to directly run mcp-server-fetch.

Using PIP

Alternatively you can install mcp-server-fetch via pip:

pip install mcp-open-data-hk

After installation, you can run it as a script using:

python -m mcp_open_data_hk

After installation, configure your MCP-compatible client (like Cursor, Claude Code, or Claude Desktop) by adding the following to your settings.json:

Features

The server provides the following tools to interact with the DATA.GOV.HK API:

  1. list_datasets - Get a list of dataset IDs
  2. get_dataset_details - Get detailed information about a specific dataset
  3. list_categories - Get a list of data categories
  4. get_category_details - Get detailed information about a specific category
  5. search_datasets - Search for datasets by query term with advanced options
  6. search_datasets_with_facets - Search datasets and return faceted results
  7. get_datasets_by_format - Get datasets by file format
  8. get_supported_formats - Get list of supported file formats

Tools

list_datasets

Get a list of dataset IDs from DATA.GOV.HK

Parameters:

  • limit (optional): Maximum number of datasets to return (default: 1000)
  • offset (optional): Offset of the first dataset to return
  • language (optional): Language code (en, tc, sc) - defaults to “en”

get_dataset_details

Get detailed information about a specific dataset

Parameters:

  • dataset_id: The ID or name of the dataset to retrieve
  • language (optional): Language code (en, tc, sc) - defaults to “en”
  • include_tracking (optional): Add tracking information to dataset and resources - defaults to False

list_categories

Get a list of data categories (groups)

Parameters:

  • order_by (optional): Field to sort by (‘name’ or ‘packages’) - deprecated, use sort instead
GitHub で README 全文を見る

インストール

uvx mcp-open-data-hk
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mcp-open-data-hk": { "command": "uvx", "args": ["mcp-open-data-hk"] } } }