Ukhsa
v0.2.1UK Health Security Agency (UKHSA) data dashboard MCP — keyless.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_metrics
Shortcut to list all available metric names for a fully-specified location — supply all five levels (theme, sub_theme, topic, geography_type, geography) at once rather than calling navigate iteratively. Returns metric names like "COVID-19_cases_casesByDay" ready to pass to get_metric_data.(theme, sub_theme, topic, geography_type, geography), without walking each level. Returns metric names like "COVID-19_cases_casesByDay" or "COVID-19_deaths_ONSByDay" ready to pass to get_metric_data.
| Parameter | Type | Description |
|---|---|---|
geography * | string | e.g. "England". |
geography_type * | string | e.g. "Nation". |
sub_theme * | string | e.g. "respiratory". |
theme * | string | e.g. "infectious_disease". |
topic * | string | e.g. "COVID-19". |
get_metric_data
Pull the time series for one fully-specified UKHSA metric. Requires all six levels (theme, sub_theme, topic, geography_type, geography, metric). Returns paginated observations {count, next, previous, results[]} where each result has date, metric_value, year, month, epiweek, sex, age, stratum, geography_code, etc. Optionally filter by year and control page_size / page. Example: infectious_disease / respiratory / COVID-19 / Nation / England / COVID-19_cases_casesByDay.
| Parameter | Type | Description |
|---|---|---|
geography * | string | e.g. "England". |
geography_type * | string | e.g. "Nation". |
metric * | string | Dotted/underscored metric name, e.g. "COVID-19_cases_casesByDay". |
sub_theme * | string | e.g. "respiratory". |
theme * | string | e.g. "infectious_disease". |
topic * | string | e.g. "COVID-19". |
page | number | Optional. 1-based page number for paging through results. |
page_size | number | Optional. Observations per page (default 5 here, max ~365). |
year | number | Optional. Filter to a single calendar year, e.g. 2024. |