io.github.malkreide/bag-health-mcp
PYPI · BAG-HEALTH-MCP · SCANNED SEP 20
BAG public-health open data: indicators, programmes, statistics
Available components
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 Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs hatchling.build at install time, a recognised native-build step with no shell scripting around it. View diagnostics → Pass
- 1 of 34 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency35
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- License check failed: the license (MIT License) isn't a recognized OSI-approved license. See how to fix → Fail
- Actively maintained (last published 50 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability82
- 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 2007 tokens (~154/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 Management87
- Stability observed for 26 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
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
claude mcp add malkreide-bag-health-mcp -- uvx bag-health-mcp
{
"mcpServers": {
"malkreide-bag-health-mcp": {
"command": "uvx",
"args": [
"bag-health-mcp"
]
}
}
} {
"servers": {
"malkreide-bag-health-mcp": {
"command": "uvx",
"args": [
"bag-health-mcp"
]
}
}
} codex mcp add malkreide-bag-health-mcp -- uvx bag-health-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"malkreide-bag-health-mcp": {
"type": "local",
"command": [
"uvx",
"bag-health-mcp"
],
"enabled": true
}
}
} openclaw mcp add malkreide-bag-health-mcp --command uvx --arg bag-health-mcp
mcp_servers:
malkreide-bag-health-mcp:
command: "uvx"
args: ["bag-health-mcp"] {
"McpServers": {
"malkreide-bag-health-mcp": {
"Transport": "stdio",
"Command": "uvx",
"Arguments": [
"bag-health-mcp"
]
}
}
} assistant mcp add malkreide-bag-health-mcp -t stdio -c uvx -a bag-health-mcp
{
"mcpServers": {
"malkreide-bag-health-mcp": {
"command": "uvx",
"args": [
"bag-health-mcp"
]
}
}
} 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.
- 20 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.
- 18 Sept 26 −2
- Stability: pass → 0.80 functional
- 17 Sept 26 0
- Stability: 0.97 → pass security
- 16 Sept 26 +1
- Security disclosure: unverified → pass ▲ functional
- 15 Sept 26 0
- Security disclosure: pass → unverified ▼ functional
- 13 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.
- 11 Sept 26 −2
- Stability: pass → 0.80 functional
- 10 Sept 26 0
- Stability: 0.97 → pass security
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 20 Sept 2026 · Analysed pypi/bag-health-mcp@0.3.0
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | pypi |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 34 packages
| Packages resolved | 34 |
|---|---|
| No linked repository | 1 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
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 →
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>
| Name | Type | Req | Description |
|---|---|---|---|
| params | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| file | string | yes | – |
| format | string | yes | – |
| note | string | yes | – |
| preview | string | yes | – |
| provenance | – | – | – |
| rows | – | yes | – |
| size_bytes | integer | yes | – |
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>
| Name | Type | Req | Description |
|---|---|---|---|
| canton | string | – | – |
| include_wastewater | boolean | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| canton | string | yes | – |
| diseases | object | yes | – |
| note | string | yes | – |
| provenance | – | – | – |
| school_relevance | string | yes | – |
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>
| Name | Type | Req | Description |
|---|---|---|---|
| params | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| date | string | yes | – |
| note | string | yes | – |
| provenance | – | – | – |
| version | string | yes | – |
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>
| Name | Type | Req | Description |
|---|---|---|---|
| params | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| aggregation | string | yes | – |
| filters_applied | object | yes | – |
| interpretation | string | yes | – |
| provenance | – | – | – |
| results | array | yes | – |
| series_id | string | yes | – |
| summary | – | yes | – |
| temporality | string | yes | – |
| topic | string | yes | – |
No examples provided.
bag_health_mcp__get_indicator_series ~327
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/suchtschweiz return national year/value points (with 95% confidence intervals and sex/category dimensions where available); versorgungsatlas returns a cantonal year/value series (26 cantons + a 'CH' national total, with 95% CIs and a canton-vs-Switzerland ratio) — pass region='ZH' for a canton. 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 (obsan/suchtschweiz) or a cantonal series with a Switzerland comparison (versorgungsatlas).</use_case><important_notes>obsan/suchtschweiz indicators are national — passing a canton returns the national series with an explanatory note (HBSC is not cantonally representative). versorgungsatlas supports cantons: region='ZH' returns ZH plus a canton-vs-CH comparison.</important_notes><example>bag_health_mcp__get_indicator_series(source='versorgungsatlas', indicator_id='_003/b', region='ZH') -> ZH cantonal series with 95% CIs and its ratio to the Swiss average.</example>
| Name | Type | Req | Description |
|---|---|---|---|
| params | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| aggregate_statistics_notice | string | – | – |
| dimensions | object | – | – |
| indicator_id | string | yes | – |
| interpretation | string | – | – |
| note | – | – | – |
| points | array | – | – |
| provenance | – | – | – |
| region | – | – | – |
| region_note | – | – | – |
| source | string | yes | – |
| title | string | yes | – |
| total_points | integer | – | – |
| unit | – | – | – |
| values_available | boolean | – | – |
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>
| Name | Type | Req | Description |
|---|---|---|---|
| params | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| age_groups | array | yes | – |
| available_filters | object | yes | – |
| cantons | array | yes | – |
| note | string | yes | – |
| provenance | – | – | – |
| series_id | string | yes | – |
| sex_options | array | yes | – |
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>
| Name | Type | Req | Description |
|---|---|---|---|
| params | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| categories | object | yes | – |
| provenance | – | – | – |
| total_topics | integer | yes | – |
| usage | string | yes | – |
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>
| Name | Type | Req | Description |
|---|---|---|---|
| params | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| files | array | yes | – |
| provenance | – | – | – |
| total_files | integer | yes | – |
| usage | string | yes | – |
| version | string | yes | – |
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>
| Name | Type | Req | Description |
|---|---|---|---|
| params | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| chapters | object | yes | – |
| provenance | – | – | – |
| series_ids | array | yes | – |
| topic | string | yes | – |
| total_series | integer | yes | – |
| usage | string | yes | – |
No examples provided.
bag_health_mcp__search_health_indicators ~260
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>Most indicators are national; cantonal breakdowns are rare (HBSC youth surveys are not cantonally representative).</important_notes><example>bag_health_mcp__search_health_indicators(source='suchtschweiz', topic='alkohol') -> Obsan HBSC alcohol-prevalence indicators.</example>
| Name | Type | Req | Description |
|---|---|---|---|
| params | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| aggregate_statistics_notice | string | – | – |
| indicators | array | yes | – |
| provenance | – | – | – |
| query | object | yes | – |
| source | string | yes | – |
| total_matches | integer | yes | – |
| usage | string | yes | – |
No examples provided.
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 80 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 2026. 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 1,823 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 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.