You're viewing a demo portfolio

Join the waitlist
PRSM

get_metric_data

Active

Tool of Ukhsa

declared in 0.1.0

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.

Parameters schema

{
  "type": "object",
  "required": [
    "theme",
    "sub_theme",
    "topic",
    "geography_type",
    "geography",
    "metric"
  ],
  "properties": {
    "page": {
      "type": "number",
      "description": "Optional. 1-based page number for paging through results."
    },
    "year": {
      "type": "number",
      "description": "Optional. Filter to a single calendar year, e.g. 2024."
    },
    "theme": {
      "type": "string",
      "description": "e.g. \"infectious_disease\"."
    },
    "topic": {
      "type": "string",
      "description": "e.g. \"COVID-19\"."
    },
    "metric": {
      "type": "string",
      "description": "Dotted/underscored metric name, e.g. \"COVID-19_cases_casesByDay\"."
    },
    "geography": {
      "type": "string",
      "description": "e.g. \"England\"."
    },
    "page_size": {
      "type": "number",
      "description": "Optional. Observations per page (default 5 here, max ~365)."
    },
    "sub_theme": {
      "type": "string",
      "description": "e.g. \"respiratory\"."
    },
    "geography_type": {
      "type": "string",
      "description": "e.g. \"Nation\"."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Ukhsa

https://github.com/pipeworx-io/mcp-ukhsa

1/7 registries
View full server →