Hong Kong Census and Statistics Department (C&SD) open-data MCP. Provides keyless access to C&SD statistical tables via the censtatd.gov.hk API, including GDP, employment, trade, prices, and financial-market statistics.
Three well-named tools with strong descriptions (194 - 280 chars, above baseline 194). All tools have complete input schemas with typed properties and required fields. Tool names follow verb_noun pattern (get_, search_, table_info). Descriptions explain WHAT, WHEN, and dependencies clearly. However, output schemas are not documented, LLMs cannot predict response structure. Parameter descriptions are good but lack format constraints (e.g., 'id' should specify regex pattern '\d{3}-\d{5}'). Error handling is mentioned in code comments but not surfaced in tool descriptions. No tool annotations (readOnlyHint, idempotentHint) despite all three being read-only operations.
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).
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).
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.
Output schemas not documented. LLMs cannot predict response structure (fields, types, pagination). Code comments mention {header, dataSet} but tool descriptions omit this.
Parameter 'id' lacks format constraint. Description says 'e.g. 310-31001' but does not specify regex \d{3}-\d{5}. LLMs may pass invalid formats.
No tool annotations. All three tools are read-only (no side effects), but lack readOnlyHint annotation. Agents cannot distinguish safe tools from destructive ones.
Error handling not surfaced in tool descriptions. Code handles API errors (status='Fail', message arrays) but tool descriptions do not explain recovery paths or error categories.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 69 | 2026-07-28+ | v2 |
Parameter 'limit' in censtatd_search_tables lacks min/max bounds. Description says 'default 20, max 50' but schema does not enforce this. LLMs may pass invalid values.