Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.malkreide/bag-health-mcp

PYPI · BAG-HEALTH-MCP

BAG public-health open data: indicators, programmes, statistics

Available components

−19 this week 75 Trust /100

Last scanned (5 hours ago)

Scores higher than 73% of PyPI servers

Category Health and Science

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security50
  • Malware scan not yet available for this package.Unverified
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
  • 1 of 33 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to malkreide/bag-health-mcp). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 38 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability81
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 2199 tokens (~169/item across 13 items; 10 tools + 3 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management70
  • Stability observed for 21 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage71
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 0% of tool parameters carry a description.Fail
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 10 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 12 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
What we tested

Checks we ran (15)

  • Known CVEs
  • Install scripts
  • Dependency health
  • Source repository
  • Provenance
  • License
  • Maintenance
  • Security disclosure
  • Schema quality
  • Stability
  • Tool coverage
  • Injection markers
  • Destructive annotations
  • Judged manipulation
  • MCP protocol

Checks we could not complete (1)

These are gaps on our side, not findings about this package. We only credit what we can confirm, so a category made up entirely of them scores 0.

  • Malware scan in Supply Chain SecurityMalware scan not yet available for this package.

Does not apply to this package (2)

  • Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
  • Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.

The score does not measure everything. What the score does not measure →

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 5 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
  • 4 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 63 to 67. That category is still filling its 30-day observation window: 19 days of observed history at the previous scan, 20 at this one. The score rises as the window fills, whether or not the server changes.

  • 2 Nov 26 −5
    • Stability: pass → 0.60 functional
  • 22 Oct 26 0
    • Stability: 0.97 → pass security
  • 21 Oct 26 0
    • Stability: pass → 0.97 functional
  • 20 Oct 26 0
    • Security disclosure: unverified → pass ▲ functional
  • 19 Oct 26 0
    • Security disclosure: pass → unverified ▼ functional
  • 17 Oct 26 +3
    • Stability: 0.80 → pass security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 5 Nov 2026 · Analysed pypi/bag-health-mcp@0.4.1

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem pypi
Reason Verified
Discovered via Registry attestation endpoint
Source repo malkreide/bag-health-mcp
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/malkreide/bag-health-mcp/.github/workflows/publish.yml@refs/tags/v0.4.1
Rekor log index 2977785732
Predicate type PyPI publish attestation https://docs.pypi.org/attestations/publish/v1
Subject digest sha256:89e8c52f9aafbfad85761357367fdba484f1f381fa100cd5ce617aad2f97f289

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend Known build tool hatchling.build

Background: Why install scripts are a supply-chain risk →

Dependencies 33 packages
Packages resolved 33
No linked repository 1
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 10 exposed · ~2,015 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
bag_health_mcp__download_export ~147

Download a complete export dataset from the BAG IDD as CSV or JSON. Returns the raw data content for a specific disease file. Useful for bulk analysis. Files are updated weekly.<use_case>Retrieve a full raw dataset (all rows) for one disease for downstream/offline analysis.</use_case><important_notes>The preview is truncated at 3000 chars; for very large datasets use the IDD web interface. Get file names from bag_health_mcp__list_export_files.</important_notes><example>bag_health_mcp__download_export(file='INFLUENZA_oblig', format='csv') -> raw CSV content.</example>

NameTypeReqDescription
params–yes–
NameTypeReqDescription
filestringyes–
formatstringyes–
notestringyes–
previewstringyes–
provenance–––
rows–yes–
size_bytesintegeryes–

No examples provided.

bag_health_mcp__get_canton_situation ~202

Get a public health situation overview for a specific canton or Switzerland. Combines current incidence data for key school-relevant diseases (influenza, measles, norovirus proxy via acute_respiratory_infection) with trend information. Designed for school authorities and city administration Public Health Reporting. <use_case>One-call situational overview for a canton (Schulamt / city administration) without orchestrating multiple series queries.</use_case><important_notes>Aggregates several series; a single unavailable series is reported as a per-disease status, not a failure of the whole call.</important_notes><example>bag_health_mcp__get_canton_situation(canton='ZH') -> per-disease latest value, trend and change for Zurich. Anchor query: 'Wie ist die aktuelle Grippesituation im Kanton Zürich?'</example>

NameTypeReqDescription
cantonstring––
include_wastewaterboolean––
NameTypeReqDescription
cantonstringyes–
diseasesobjectyes–
notestringyes–
provenance–––
school_relevancestringyes–

No examples provided.

bag_health_mcp__get_data_version ~121

Get the current data version of the BAG IDD. Returns the date of the last data update (format YYYYMMDD). IDD is updated every Wednesday.<use_case>Check how fresh the data is / which weekly snapshot you are looking at.</use_case><important_notes>Data is updated only weekly (Wednesdays); not real-time.</important_notes><example>bag_health_mcp__get_data_version() -> version='20260325', date='2026-03-25'.</example>

NameTypeReqDescription
params–yes–
NameTypeReqDescription
datestringyes–
notestringyes–
provenance–––
versionstringyes–

No examples provided.

bag_health_mcp__get_disease_data ~159

Fetch time-series surveillance data for a disease from the BAG IDD. Returns weekly or yearly case counts, incidence rates, or other metrics. Data updated every Wednesday. <use_case>Get the actual numbers/trend for a disease in a canton over time — the core data-retrieval tool.</use_case><important_notes>Call bag_health_mcp__get_series_details first for valid filters. 'incValue' = incidence per 100'000; 'value' = absolute count.</important_notes><example>bag_health_mcp__get_disease_data(series_id='influenza/cases/incValue/iso_week', canton='ZH') -> weekly influenza incidence for Zurich.</example>

NameTypeReqDescription
params–yes–
NameTypeReqDescription
aggregationstringyes–
filters_appliedobjectyes–
interpretationstringyes–
provenance–––
resultsarrayyes–
series_idstringyes–
summary–yes–
temporalitystringyes–
topicstringyes–

No examples provided.

bag_health_mcp__get_indicator_series ~426

Fetch one health indicator's time series from Obsan, the Versorgungsatlas or Sucht Schweiz (HBSC). Use an indicator_id from bag_health_mcp__search_health_indicators. Obsan publishes an indicator in several CUTS (national, by canton, by age class, by social position, as a distribution); this tool picks one, names it in 'variant' and lists the others in 'variants_available'. They are different measurements with different units, not interchangeable. Pass region='ZH' for the cantonal cut where the indicator has one. Versorgungsatlas returns a cantonal year/value series (26 cantons + a 'CH' total, 95% CIs, canton-vs-Switzerland ratio). IMPORTANT: AGGREGATED population statistics only — NOT individual advice, diagnosis or case assessment, no personal data. For 'suchtschweiz' (school-context prevention topics) the values are national HBSC survey aggregates by age/sex. <use_case>Get a national trend, or a cantonal series with a Switzerland comparison.</use_case><important_notes>Read 'variant' before reading the numbers: 'g'/'kg' are rates, 'gum' is a distribution in %. The HBSC youth series (source='suchtschweiz', ages 11-15) is national only — a canton request returns the national cut with a note, because HBSC is not cantonally representative. Some Obsan observations are pooled spans ('1998-02' = 1998–2002); those carry the full label in 'period' and its first year in 'year'. Where an indicator publishes no series, the call fails with that reason instead of returning an empty series.</important_notes><example>bag_health_mcp__get_indicator_series(source='obsan', indicator_id='obsan/lebenserwartung', region='ZH') -> ZH life expectancy from the 'kg' cut, with the source's own canton and category legends.</example>

NameTypeReqDescription
params–yes–
NameTypeReqDescription
aggregate_statistics_noticestring––
dimensionsobject––
indicator_idstringyes–
interpretationstring––
note–––
pointsarray––
provenance–––
region–––
region_note–––
sourcestringyes–
titlestringyes–
total_pointsinteger––
unit–––
values_availableboolean––
variant–––
variants_availablearray––

No examples provided.

bag_health_mcp__get_series_details ~157

Get metadata and available filter values for a specific data series. Shows which canton, age group, sex, and other dimensions are available. Always call this before bag_health_mcp__get_disease_data to know valid filter options.<use_case>Learn the valid filter values (cantons, age groups, sex) for a series so a subsequent data query uses accepted parameters.</use_case><important_notes>Available dimensions vary by series — always check here rather than assuming.</important_notes><example>bag_health_mcp__get_series_details(series_id='influenza/cases/incValue/iso_week') -> cantons=['ZH','BE',...], age_groups=[...].</example>

NameTypeReqDescription
params–yes–
NameTypeReqDescription
age_groupsarrayyes–
available_filtersobjectyes–
cantonsarrayyes–
notestringyes–
provenance–––
series_idstringyes–
sex_optionsarrayyes–

No examples provided.

bag_health_mcp__list_diseases ~136

List all 51 disease topics available in the BAG Infectious Disease Dashboard (IDD). Returns the topic slug needed for other tools, grouped by category (respiratory, enteric, STI, vector-borne, wastewater). <use_case>Discover what diseases are available before querying data.</use_case><important_notes>Start here; the topic slugs returned are required inputs for the other tools.</important_notes><example>bag_health_mcp__list_diseases() -> categories incl. 'influenza', 'measles', 'covid19'.</example>

NameTypeReqDescription
params–yes–
NameTypeReqDescription
categoriesobjectyes–
provenance–––
total_topicsintegeryes–
usagestringyes–

No examples provided.

bag_health_mcp__list_export_files ~165

List all available export file names from the BAG IDD. These are complete datasets (CSV/JSON) per disease, e.g. INFLUENZA_oblig, COVID19_wastewater_sequencing, MEASLES_oblig. Use with bag_health_mcp__download_export to get raw data files.<use_case>Discover which complete bulk datasets can be downloaded for offline/bulk analysis.</use_case><important_notes>Returns file names, not the data — pass one to bag_health_mcp__download_export.</important_notes><example>bag_health_mcp__list_export_files() -> ['INFLUENZA_oblig', 'COVID19_wastewater_sequencing', ...].</example>

NameTypeReqDescription
params–yes–
NameTypeReqDescription
filesarrayyes–
provenance–––
total_filesintegeryes–
usagestringyes–
versionstringyes–

No examples provided.

bag_health_mcp__list_series ~149

List all available data series for a specific disease topic. Each series is identified by 'topic/chapter/aggregation/temporality'. Returns series IDs to use with bag_health_mcp__get_series_details and bag_health_mcp__get_disease_data.<use_case>Find which exact series exist for a disease (e.g. weekly cases vs yearly incidence) before fetching data.</use_case><important_notes>Needs a valid topic slug from bag_health_mcp__list_diseases.</important_notes><example>bag_health_mcp__list_series(topic='influenza') -> 'influenza/cases/incValue/iso_week', ...</example>

NameTypeReqDescription
params–yes–
NameTypeReqDescription
chaptersobjectyes–
provenance–––
series_idsarrayyes–
topicstringyes–
total_seriesintegeryes–
usagestringyes–

No examples provided.

bag_health_mcp__search_health_indicators ~353

Search health indicators across three Swiss sources: 'obsan' (Swiss Health Observatory — hundreds of indicators incl. the HBSC youth-survey series), 'versorgungsatlas' (Swiss health-care supply atlas, ~124 indicators), and 'suchtschweiz' (addiction / HBSC series, served via Obsan's official mirror). Returns matching indicator_ids to pass to bag_health_mcp__get_indicator_series. IMPORTANT: this serves AGGREGATED population statistics (prevalences/metrics by age/sex/region) — NOT individual advice, diagnosis or case assessment, and no personal data. Especially for 'suchtschweiz' (prevention topics in a school context): the figures are population-level survey aggregates only. <use_case>Find which indicators exist for a topic (e.g. youth alcohol) before fetching a series.</use_case><important_notes>The catalogue does not state which cuts an indicator publishes — get_indicator_series reports that per indicator ('variant', 'variants_available'). Most Obsan indicators DO have a cantonal cut (50 of 60 sampled); the HBSC youth series (source='suchtschweiz', ages 11-15) is the exception and is national only, as HBSC is not cantonally representative. Other 'monam' indicators come from the Swiss Health Survey and are cantonal. A few catalogue entries have no series at all; the series call names that case rather than returning nothing.</important_notes><example>bag_health_mcp__search_health_indicators(source='suchtschweiz', topic='alkohol') -> Obsan HBSC alcohol-prevalence indicators.</example>

NameTypeReqDescription
params–yes–
NameTypeReqDescription
aggregate_statistics_noticestring––
indicatorsarrayyes–
provenance–––
queryobjectyes–
sourcestringyes–
total_matchesintegeryes–
usagestringyes–

No examples provided.

Install

How do I install the io.github.malkreide/bag-health-mcp server?

io.github.malkreide/bag-health-mcp runs locally as a PyPI package, launched with uvx bag-health-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · bag-health-mcp

# add to Claude Code
claude mcp add malkreide-bag-health-mcp -- uvx bag-health-mcp
Common questions

What is the io.github.malkreide/bag-health-mcp server?

io.github.malkreide/bag-health-mcp is listed in the public MCP registry as io.github.malkreide/bag-health-mcp. BAG public-health open data: indicators, programmes, statistics. This page covers its PyPI package (bag-health-mcp).

Is the io.github.malkreide/bag-health-mcp server safe to use?

io.github.malkreide/bag-health-mcp scores 75 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.malkreide/bag-health-mcp server expose?

io.github.malkreide/bag-health-mcp exposes 10 tools: bag_health_mcp__list_diseases, bag_health_mcp__list_series, bag_health_mcp__get_series_details, bag_health_mcp__get_disease_data, bag_health_mcp__list_export_files, and 5 more. Their descriptions and schemas cost roughly 2,015 tokens of context every time the server is loaded.

Is the io.github.malkreide/bag-health-mcp server still maintained?

io.github.malkreide/bag-health-mcp is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.malkreide/bag-health-mcp server under?

io.github.malkreide/bag-health-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

What did VerifyMCP test on the io.github.malkreide/bag-health-mcp server?

VerifyMCP ran 15 checks on io.github.malkreide/bag-health-mcp, covering Known CVEs, Install scripts, Dependency health, Source repository and 11 more. One item could not be completed, a gap on our side rather than a finding about io.github.malkreide/bag-health-mcp: Malware scan. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.