DATA.GOV.HK

DATA.GOV.HK

mcp-open-data-hk

Provides access to Hong Kong government's official open data portal, allowing you to search, browse, and retrieve metadata for thousands of public datasets from DATA.GOV.HK.

4344 views4Local (stdio)

What it does

  • Search datasets by keywords and metadata
  • Browse datasets by category and format
  • Retrieve detailed dataset information and metadata
  • List available data categories and formats
  • Filter datasets by file format (CSV, JSON, GeoJSON, etc.)
  • Get faceted search results for data exploration

Best for

Researchers analyzing Hong Kong public sector dataDevelopers building applications with HK government dataData scientists exploring official Hong Kong datasetsCitizens accessing public information and statistics
No API key neededAccess to official Hong Kong government data8+ specialized search and filtering tools

Tools (8)

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

Alternatives