Basic information
About DATA.GOV.HK MCP Server
Access Hong Kong government datasets with DATA.GOV.HK for easy search, filtering, and metadata tools. Ideal for researchers and developers.
DATA.GOV.HK is a MCP server in the Analytics Data category listed in the AddMCP.net directory, published by mcp-open-data-hk. It exposes 8 tools, including list_datasets, get_dataset_details, list_categories, get_category_details and more. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: analytics-data, community.
Setup
{
"mcpServers": {
"mcp-open-data-hk": {
"command": "uvx",
"args": [
"mcp-open-data-hk"
]
}
}
}
{
"mcpServers": {
"mcp-open-data-hk": {
"command": "uvx",
"args": [
"mcp-open-data-hk"
]
}
}
}
{
"servers": {
"mcp-open-data-hk": {
"command": "uvx",
"args": [
"mcp-open-data-hk"
]
}
}
}
DATA.GOV.HK MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-open-data-hk": {
"command": "uvx",
"args": [
"mcp-open-data-hk"
]
}
}
}
DATA.GOV.HK MCP Server tools
- 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
Overview
What is DATA.GOV.HK?
Mcp Open Data Hk 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.
How to use DATA.GOV.HK?
Key features of DATA.GOV.HK
- Provides access to Hong Kong government open data.
Frequently asked questions
1 What is the source of the data?
The data comes from DATA.GOV.HK, the official open data portal of the Hong Kong government.
2 What protocol does Mcp Open Data Hk use?
It uses the Model Context Protocol (MCP).
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In