{
  "markdown": "# Swiss Health MCP Server\n\n[![npm version](https://badge.fury.io/js/%40prinz_esox%2Fswiss-health-mcp.svg)](https://www.npmjs.com/package/@prinz_esox/swiss-health-mcp)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nAn MCP server that gives AI assistants structured access to **1.6 million Swiss health insurance premium records** -- 55 insurers, 26 cantons, 11 years of official government data.\n\nBuilt on the [Model Context Protocol](https://modelcontextprotocol.io). Data sourced from [BAG Priminfo](https://priminfo.admin.ch) (Swiss Federal Office of Public Health, 2016--2026). This is the MCP companion to the [KrankenkassenGPT](https://github.com/remoprinz/KrankenkassenGPT) REST API.\n\n## Quick Start\n\nAdd this to your Claude Desktop config (`claude_desktop_config.json`) or Cursor settings (`.cursor/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"swiss-health\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@prinz_esox/swiss-health-mcp\"],\n      \"env\": {\n        \"SUPABASE_URL\": \"https://your-project.supabase.co\",\n        \"SUPABASE_SERVICE_ROLE_KEY\": \"your-service-role-key\"\n      }\n    }\n  }\n}\n```\n\nOr install globally:\n\n```bash\nnpm install -g @prinz_esox/swiss-health-mcp\n```\n\nThe server is also available on the [Smithery](https://smithery.ai) registry and the [MCP Registry](https://registry.modelcontextprotocol.io/?q=swiss-health).\n\n## Tools\n\n### `get_cheapest_insurers`\n\nFind the top 5 cheapest health insurers for a given profile.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `canton` | string | yes | Canton code (e.g. `ZH`, `BE`, `GE`) |\n| `year` | number | yes | Year (2016--2026) |\n| `age_band` | string | yes | `child` (0--18), `young_adult` (19--25), `adult` (26+) |\n| `franchise_chf` | number | yes | Deductible: 0, 100, 200, 300, 400, 500, 600, 1000, 1500, 2000, 2500 |\n| `model_type` | string | no | `standard` (default), `hmo`, `telmed`, `family_doctor`, `diverse` |\n| `accident_covered` | boolean | no | Include accident coverage (default: `true`) |\n\n### `compare_insurers`\n\nSide-by-side comparison of specific insurers for the same profile.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `insurer_names` | string[] | yes | Insurer names (e.g. `[\"CSS\", \"Helsana\", \"Swica\"]`) |\n| `canton` | string | yes | Canton code |\n| `year` | number | yes | Year (2016--2026) |\n| `age_band` | string | yes | Age group |\n| `franchise_chf` | number | yes | Deductible in CHF |\n\n### `get_price_history`\n\n10-year price development for a single insurer with year-over-year percentage change.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `insurer_name` | string | yes | Insurer name (e.g. `CSS`, `Helsana`) |\n| `canton` | string | yes | Canton code |\n| `age_band` | string | yes | Age group |\n| `franchise_chf` | number | yes | Deductible in CHF |\n| `start_year` | number | no | Start year (default: 2016) |\n| `end_year` | number | no | End year (default: 2026) |\n\n### `get_database_stats`\n\nReturns coverage statistics and metadata. No parameters.\n\n## Data\n\n| Dimension | Coverage |\n|-----------|----------|\n| Records | 1,611,386+ |\n| Insurers | 55 (CSS, Helsana, Swica, Assura, KPT, Groupe Mutuel, Sanitas, ...) |\n| Cantons | 26 (all Swiss cantons) |\n| Years | 11 (2016--2026) |\n| Franchise levels | 11 (CHF 0--2,500) |\n| Insurance models | 5 (standard, HMO, telmed, family doctor, diverse) |\n| Age bands | 3 (child, young adult, adult) |\n\nAll data comes from BAG Priminfo, the official database of the Swiss Federal Office of Public Health.\n\n## Features\n\n- **Intelligent insurer name resolution** -- fuzzy matching across 55+ insurers and their sub-brands. Ask for \"Helsana\" and the server resolves all associated insurer IDs automatically.\n- **Automatic disclaimer** -- every response includes BAG Priminfo attribution and a notice that premiums are informational only.\n- **Read-only access** -- no write operations, no personal data.\n- **Percentage change calculations** -- price history includes year-over-year trends.\n\n## Example Prompts\n\n```\n\"What are the cheapest health insurers in Zurich for 2026?\"\n\n\"Compare CSS, Helsana and Swica in Bern for an adult with CHF 300 deductible\"\n\n\"How did Assura premiums develop from 2016 to 2026?\"\n\n\"Which insurer had the smallest price increase over the last 10 years in Basel?\"\n```\n\n## Environment Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `SUPABASE_URL` | yes | Supabase project URL |\n| `SUPABASE_SERVICE_ROLE_KEY` | yes | Supabase service role key for database access |\n\n## Tech Stack\n\n- **Protocol:** MCP SDK v1.0.0 (stdio transport)\n- **Language:** TypeScript\n- **Database:** Supabase (PostgreSQL)\n- **Runtime:** Node.js 18+\n- **Package:** [@prinz_esox/swiss-health-mcp](https://www.npmjs.com/package/@prinz_esox/swiss-health-mcp)\n- **Registry ID:** `io.github.remoprinz/swiss-health-mcp`\n\n## Development\n\n```bash\ngit clone https://github.com/remoprinz/swiss-health-mcp.git\ncd swiss-health-mcp\nnpm install\nnpm run dev     # Start with tsx\nnpm run build   # Compile TypeScript\n```\n\n## Project Structure\n\n```\nsrc/index.ts       # Complete server implementation (~530 lines)\nserver.json        # MCP registry manifest\nsmithery.yaml      # Smithery registry config\nllms.txt           # LLM-readable project description\nCITATION.cff       # Citation metadata\n```\n\n## License\n\nMIT -- [Remo Prinz](https://github.com/remoprinz)\n\n## Links\n\n- [npm package](https://www.npmjs.com/package/@prinz_esox/swiss-health-mcp)\n- [MCP Registry](https://registry.modelcontextprotocol.io/?q=swiss-health)\n- [BAG Priminfo (data source)](https://priminfo.admin.ch)\n- [Model Context Protocol](https://modelcontextprotocol.io)\n- [KrankenkassenGPT REST API (companion project)](https://github.com/remoprinz/KrankenkassenGPT)\n",
  "bytes": 5913,
  "sha": "93db533f0639249459719bd3a4daf4c17f4616066d3167439f584ffb57bbdcf2",
  "repo_slug": "remoprinz/swiss-health-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_remoprinz_swiss_health_mcp_46c2b2b4/readme"
}