Bag Health MCP logo

Bag Health MCP

Queries Swiss BAG surveillance and health-indicator data with canton, demographic, export, and time-series access.

Install Bag Health MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "bag-health-mcp": {
      "command": "uvx",
      "args": [
        "bag-health-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 10 tools correctly ().

Overview

The bag-health-mcp MCP server exposes read-only Swiss public-health data from the BAG Infectious Disease Dashboard and several health-indicator sources. It lets agents discover diseases and series, retrieve surveillance or indicator time series, inspect canton-level situations, and download complete exports. Reach for it when you need structured population statistics, disease monitoring, or source data for Switzerland and Liechtenstein; its data is updated weekly.

Use cases

  • Monitor infectious-disease trends by canton
  • Compare health indicators across regions and years
  • Check wastewater surveillance signals
  • Download complete public-health datasets
  • Draft a canton situation brief

Key features

  • BAG surveillance data for 51 disease topics
  • Obsan, Versorgungsatlas, and Sucht Schweiz indicators
  • Canton, age, sex, and year-range filtering
  • CSV and JSON export downloads
  • 95% confidence intervals for indicator series
  • Read-only MCP tools, resources, and prompts

Tools10

What Bag Health MCP lets your agent do. Expand a tool for its parameters.

Verified live~4.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 79d

What it can do

From the 10 tools this server returned when we ran it; 10 declare their own safety hints.

Makes network requests · 10Read-only tools · 10
Network at startup2 connections
Files written at startup11

Observed 2026-11-08 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1d ago via OSV.dev · bag-health-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit17d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed10Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Bag Health MCP works

What bag-health-mcp does

The bag-health-mcp MCP server gives AI agents read-only access to Swiss public-health datasets. Its primary source is the Swiss Federal Office of Public Health (BAG) Infectious Disease Dashboard, covering 51 disease topics and 1,386 data series across Switzerland, Liechtenstein, and the 26 Swiss cantons. The available subjects include influenza, COVID-19, measles, wastewater surveillance, and other infectious-disease indicators.

It also provides a health-indicator layer drawing from the Swiss Health Observatory (Obsan), the Versorgungsatlas, and Sucht Schweiz data exposed through the Obsan mirror. These sources cover population-level measures rather than personal records or individual medical assessments.

How it works

The server exposes ten parameterized MCP tools. Calls read from allow-listed upstream public-data APIs and do not modify external state. Tool annotations identify the operations as read-only, non-destructive, and idempotent, while indicating that they reach external systems.

A typical workflow starts by finding a disease or indicator, examining the available dimensions, and then requesting the relevant series. Disease data can be filtered by dimensions such as canton, age, and sex when the selected series supports them. Indicator queries can specify a source, topic, region, and year range. Results identify the selected indicator cut, such as national, cantonal, age-based, social-position, or distribution data.

The server also includes static MCP resources for canton codes, disease categories, and data-licence information. Two reusable prompts package workflows for drafting a canton situation brief and checking whether a disease is currently elevated.

Tools and capabilities

The bag-health-mcp MCP server includes these capabilities:

  • List the 51 disease topics grouped by category.
  • Enumerate series for a selected disease.
  • Inspect available series dimensions, including canton, age, and sex.
  • Retrieve infectious-disease surveillance time series.
  • Produce a situational overview for a canton, including the documented Schulamt use case.
  • List and download complete CSV or JSON export files.
  • Check the current data version, which is updated every Wednesday.
  • Search Obsan, Versorgungsatlas, and Sucht Schweiz indicators by source, topic, region, and year range.
  • Retrieve an indicator series with its selected variant and other available variants; indicator results include 95% confidence intervals.

For Versorgungsatlas data, the documented output contains cantonal and national series, confidence intervals, and a canton-to-Switzerland ratio. Some Obsan indicators are available only in particular cuts, and some catalogue entries have no series.

Limitations and notes

The indicator layer contains aggregated population statistics only. It is not intended for diagnosis, individual advice, case assessment, or access to personal data. An indicator that appears relevant to a canton may still be national-only; for example, the documented HBSC youth alcohol-consumption series is not cantonally representative. The response identifies this limitation through a region note.

Coverage and availability depend on the upstream source and the selected series. Health data is live or externally retrieved, while the fixed reference resources can be fetched without an upstream call. Users should cite the relevant source: BAG data requires attribution under Swiss Open Government Data terms, and Obsan data should cite its per-indicator source. Versorgungsatlas and Sucht Schweiz results likewise reflect the source-specific datasets described by the server.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Bag Health MCP

bag-health-mcp is an MCP server that connects AI models to Swiss public-health data from the BAG Infectious Disease Dashboard, Obsan, Versorgungsatlas, and Sucht Schweiz. Its main tools list diseases and series, retrieve surveillance or indicator time series, summarize a canton’s situation, inspect data versions, and download exports.

The repository identifies the project as Python 3.11+ and publishes a PyPI package, but no installation command or client configuration is documented here.

The source describes MCP tools, resources, and prompts but does not name any supported client.

It uses the BAG Infectious Disease Dashboard, the Swiss Health Observatory (Obsan), the Versorgungsatlas, and Sucht Schweiz data available through the Obsan mirror. The sources provide infectious-disease surveillance, health-care supply, and aggregated population indicators.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBag Health MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/bag-health-mcp?style=directory)](https://allmcps.com/mcp/bag-health-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/bag-health-mcp"><img src="https://allmcps.com/api/badge/bag-health-mcp?style=directory" alt="Bag Health MCP on AllMCPs" /></a>