Censtatd Hk
v0.2.1Hong Kong Census and Statistics Department (C&SD) open-data MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
hongkong_unemployment_rate
Hong Kong's headline labour-market figures in ONE call — unemployment rate (seasonally adjusted and unadjusted), underemployment rate, and labour-force participation rate, latest first. PREFER for "what is Hong Kong's unemployment rate", "HK jobless rate", "Hong Kong labour force participation", "is unemployment rising in Hong Kong". Source is the Census & Statistics Department (table 210-06101), keyless. Figures are 3-MONTH MOVING AVERAGES, which is how Hong Kong publishes them — a period of "2026-06" means April–June 2026, not the month of June. Use censtatd_get_table for anything deep…
| Parameter | Type | Description |
|---|---|---|
months | number | How many recent periods to return in the series (1-120, default 12). The headline fields always describe the newest. |
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 —…
| Parameter | Type | Description |
|---|---|---|
id * | string | Table id, e.g. '310-31001' (GDP), '340-46001' (exchange rates). |
lang | string | Description language: en, tc (traditional), sc (simplified). Default en. |
param | string | OPTIONAL opaque lz-string param copied from the C&SD web_table "API Example" box. When provided, full_series is disabled and only the encoded selection is returned. Cannot be hand-constructed; omit it… |
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.
| Parameter | Type | Description |
|---|---|---|
id * | string | Table id, e.g. '310-31001'. |
lang | string | Language. Default en. |
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).
| Parameter | Type | Description |
|---|---|---|
query * | string | Keywords, e.g. 'exchange rates' or 'employment earnings'. |
limit | number | Max results (default 20, max 50). |