# swiss-health-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/remoprinz/swiss-health-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 271  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/swiss-health-mcp

## Description
Swiss health insurance premiums (Krankenkassen-Prämien) 2016-2026. 1.6M records from BAG.

## Tools
Capabilities this server exposes over MCP:

- **lookup_region** — Findet Kanton und Prämien-Region für eine Schweizer Postleitzahl. Nutze dies ZUERST, wenn der Benutzer nur seine PLZ nennt.
- **get_premium_quote** — Sucht aktuelle Krankenkassen-Prämien für 2026. Gibt die günstigsten Angebote zurück, sortiert nach Preis. Inkl. Statistiken und Vergleichschart.
- **get_cheapest_premiums** — Findet die günstigsten Versicherungen für vordefinierte Profile (z.B. "single_adult", "family_2kids"). Einfacher als get_premium_quote, da Profile bereits optimale Parameter enthalten.
- **get_premium_timeline** — Zeigt die Preisentwicklung einer Krankenkasse über mehrere Jahre (2016-2026). Perfekt für: "Wie hat sich Assura entwickelt?" oder "War CSS früher günstiger?"
- **get_premium_inflation** — Berechnet die jährliche Inflationsrate der Krankenkassenprämien für einen Kanton. Zeigt wie stark die Prämien über die Jahre gestiegen sind.
- **compare_years** — Vergleicht Prämien zwischen zwei Jahren. Zeigt welche Kassen teurer oder günstiger geworden sind.
- **get_premium_ranking** — Zeigt welche Kassen über die Jahre konstant günstig waren. Perfekt für: "War Assura schon immer günstig?" oder "Welche Kasse ist langfristig am besten?"

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

```json
"mcpServers": {
  "swiss-health-mcp": {
    "command": "npx",
    "args": ["-y","@prinz_esox/swiss-health-mcp"],
    "env": {
      "SUPABASE_URL": "",
      "SUPABASE_SERVICE_ROLE_KEY": ""
    }
  }
}
```

**Requires environment variables:** `SUPABASE_URL`, `SUPABASE_SERVICE_ROLE_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What swiss-health-mcp does

The swiss-health-mcp MCP server exposes Swiss health insurance premium data through four read-only MCP tools. The underlying dataset contains more than 1.6 million records covering 55 insurers, all 26 Swiss cantons, 11 years from 2016 through 2026, 11 deductible levels, five insurance models, and three age bands.

Data comes from BAG Priminfo, the official database of the Swiss Federal Office of Public Health. The server is intended for informational queries rather than policy changes or account operations. Responses include BAG attribution and a notice that premiums are informational only. No write operations or personal data are described.

## How it works

The server runs over the MCP stdio transport and uses the MCP SDK with a Supabase PostgreSQL database. An MCP-compatible client starts the package as a Node.js process, then sends tool calls with a canton, year, age band, deductible, insurer, or other supported filters.

`get_cheapest_insurers` returns the five lowest-priced insurers for a selected profile. `compare_insurers` compares named insurers under the same canton, year, age band, and deductible. `get_price_history` returns one insurer’s premium development over a requested year range, including year-over-year percentage changes. `get_database_stats` provides coverage and metadata without parameters.

Insurer lookup supports fuzzy matching across insurer names and sub-brands. For example, a request for a major insurer name can resolve associated insurer IDs in the data. The available premium dimensions include standard, HMO, telmed, family-doctor, and diverse models, although model selection is only exposed by the cheapest-insurers tool.

## Setup and configuration

Install the package through npm or run it directly with `npx`. A typical MCP configuration starts `@prinz_esox/swiss-health-mcp` with the `-y` flag. The server requires two environment variables: `SUPABASE_URL`, containing the Supabase project URL, and `SUPABASE_SERVICE_ROLE_KEY`, containing the database access key.

The documented runtime is Node.js 18 or newer. The package can also be installed globally with npm. For local development, the repository instructions use `npm install`, `npm run dev` for the tsx development process, and `npm run build` to compile the TypeScript source.

## Tools and capabilities

- Find the five cheapest insurers for a canton, year, age band, deductible, model, and accident-coverage choice.
- Compare selected insurers for a shared canton, year, age band, and deductible profile.
- Review one insurer’s premium history from a configurable start year to an end year.
- Inspect database record, insurer, canton, year, franchise, model, and age-band coverage through the statistics tool.
- Resolve insurer names across supported names and sub-brands.
- Retrieve premiums without modifying the source database.

## Limitations and notes

The swiss-health-mcp MCP server only supports the dimensions and year range represented in its dataset. Canton values use codes such as `ZH`, `BE`, and `GE`; years are documented from 2016 to 2026. Supported age bands are child, young adult, and adult, while deductible values must come from the listed CHF levels.

The comparison tool does not list model type or accident coverage as parameters, so those options cannot be selected there through the documented interface. The price-history tool requires a single insurer and does not expose model type or accident coverage either. Premium results are informational and should not be treated as a personal insurance recommendation.

_Full upstream README: https://allmcps.com/mcp/swiss-health-mcp/readme_

