Skip to main content
Glama
pipeworx-io

censtatd-hk

by pipeworx-io

mcp-censtatd-hk

Hong Kong Census and Statistics Department (C&SD) open-data MCP.

Part of Pipeworx — an MCP gateway connecting AI agents to 1394+ live data sources.

Tools

Tool

Description

censtatd_get_table

Fetch a Hong Kong Census & Statistics Department statistical table as structured JSON (time series of {period, sv (measure), svDesc, figure} plus any dimension code/Desc columns). By default returns the FULL series (full_series=1) — reliable and keyless, no encoded param needed. Use this for HK GDP, employment earnings, trade, prices, money/financial-market stats, etc. Table ids look like '310-31001' (GDP) or '340-46001' (exchange rates); find ids with censtatd_search_tables. Optionally pass param — the opaque lz-string blob copied from the table's API Example box on censtatd.gov.hk — to fetch a filtered subset instead of the full series (we cannot generate this blob for you).

censtatd_table_info

Get metadata for a Hong Kong C&SD statistical table without pulling the data: title, footnotes (tablenote), and source/contact. Use to confirm a table id and read measurement caveats before calling censtatd_get_table. Returns title, notes and source for the given id.

censtatd_search_tables

Search the Hong Kong C&SD table catalogue by keyword (e.g. 'exchange rates', 'unemployment', 'merchandise trade') and get back matching table ids + titles to use with censtatd_get_table. Backed by the data.gov.hk open-data index of C&SD tablechart datasets. Note: not every C&SD table is indexed there; ids can also be read off the table URL on data.censtatd.gov.hk (the '310-31001' part of web_table.html?id=310-31001).

Related MCP server: mcp-hkma-hk

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "censtatd-hk": {
      "url": "https://gateway.pipeworx.io/censtatd-hk/mcp"
    }
  }
}

Or connect to the full Pipeworx gateway for access to all 1394+ data sources:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English:

ask_pipeworx({ question: "your question about Censtatd Hk data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables access to Hong Kong government's official open data portal (DATA.GOV.HK) through natural language queries. Supports searching datasets, browsing categories, and retrieving detailed information about Hong Kong's public data resources.
    8
    6
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides access to Hong Kong Monetary Authority public open data via MCP, enabling natural language queries without an API key.
    8
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Enables querying data from the Bulgarian National Statistical Institute (NSI) Open Data API using plain English, through the Pipeworx gateway.
    10
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides access to Singapore's official statistics from the Department of Statistics (SingStat) via MCP tools, allowing users to query data using natural language or direct tool calls.
    11
    MIT

View all related MCP servers

Related MCP Connectors

  • Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.

  • Macro data for AI agents: GDP, inflation, unemployment and more (World Bank, US BLS). No keys.

  • UK Office for National Statistics dataset catalogue + Beta JSON API

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeworx-io/mcp-censtatd-hk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server