# Ukhsa [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-ukhsa  
**GitHub Stars:** 0  
**npm Downloads (last month):** 538  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ukhsa

## Description
UK Health Security Agency (UKHSA) data dashboard MCP — keyless.

## Tools
Capabilities this server exposes over MCP:

- **navigate** — Walk the UKHSA surveillance hierarchy one level at a time to discover valid values. Pass the levels you already know (in order: theme, sub_theme, topic, geography_type, geography) and you get back the list of options for the NEXT level. With no args it lists themes (e.g. infectious_disease, immunisation, climate_and_environment, medicines). With theme="infectious_disease" it lists sub_themes (respiratory, gastrointestinal, vaccine_preventable, ...). Continue down to topics (COVID-19, Influenza, Measles, ...), geography_types (Nation, NHS Region, ...), geographies (England, ...), and finally metrics. Each item has {name, link}. Feed the chosen name into the next-level arg, then call get_metric_data once you have all six.
- **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.
- **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.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "ukhsa": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-ukhsa"]
  }
}
```

## Documentation

## What Ukhsa does

Ukhsa provides MCP access to data from the UK Health Security Agency surveillance dashboard. It is designed for agents that need to identify available surveillance dimensions and then retrieve observations for a particular metric, geography, and time period.

The data model is hierarchical. Values are selected in this order: theme, sub-theme, topic, geography type, geography, and metric. Examples of themes include infectious disease, immunisation, climate and environment, and medicines. Topics can include COVID-19, influenza, and measles, while geography values can include England.

The integration is an independent, unofficial connection and is not affiliated with, endorsed by, or published by the upstream provider.

## How it works

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/ukhsa/mcp`. An MCP client connects to that URL and can call the Ukhsa tools through the Pipeworx gateway.

For local client configurations, the `@pipeworx/mcp-ukhsa` npm package acts as a stdio bridge. The client starts it with `npx`, and the bridge forwards requests to the same hosted endpoint. Network access is required because the package does not provide offline operation.

The gateway also exposes shared Pipeworx meta-tools on the hosted pack endpoint. These include routing and discovery functions such as `ask_pipeworx`, which can direct a natural-language request to tools across the wider catalog. The local bridge lists only the Ukhsa pack tools by default; setting `PIPEWORX_META_TOOLS=1` adds the shared tools.

## Setup and configuration

For an HTTP-capable MCP client, add the hosted endpoint to the client configuration:

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

To use the local bridge instead, configure the client to run:

```json
{
  "mcpServers": {
    "ukhsa": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-ukhsa"]
    }
  }
}
```

Anonymous calls are supported and are limited to 50 calls per day. A free Pipeworx account increases the allowance to 200 calls per day. Supply the account key as `PIPEWORX_API_KEY`; requests use it as a Bearer token and are metered through the gateway.

The gateway can also be called directly over HTTP. For example, posting `{}` to `/v1/tools/navigate` invokes the navigation tool without an MCP client.

## Tools and capabilities

- `navigate` reveals the valid values at the next hierarchy level. Start without arguments to list themes, then pass the selected values in order until metrics are available.
- `list_metrics` skips iterative navigation when all five location levels are already known. It returns metric names suitable for `get_metric_data`.
- `get_metric_data` retrieves a metric's time series after all six arguments are supplied. Results are paginated and include fields such as date, metric value, year, month, epidemiological week, sex, age, stratum, and geography code. Year, page size, and page number can be used to refine retrieval.

## Limitations and notes

The main tools require exact hierarchy values, so discovery or prior knowledge of the five location levels is needed before retrieving a metric. Anonymous usage has a daily call limit, while authenticated usage requires a Pipeworx account key. The local package depends on network connectivity and does not support offline use. Proxy users may need to enable Node's environment proxy behavior with `NODE_USE_ENV_PROXY=1` on supported Node releases.

The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/ukhsa/readme_

