Swiss Health MCP Server
The Swiss Health MCP Server provides AI assistants with structured access to 1.6+ million Swiss health insurance premium records from 55 insurers across 11 years (2016-2026) sourced from the official BAG Priminfo database.
Core Capabilities:
Find cheapest insurers: Get top 5 most affordable options for specific profiles (canton, year, age group, franchise, insurance model)
Compare insurers: Directly compare premiums between multiple insurers (e.g., CSS, Helsana, Swica) for identical profiles
Track price history: View premium trends for specific insurers over time (2016-2026)
Get database statistics: Access metadata including entry counts, available years, and insurer lists
Query Parameters:
26 Swiss cantons (AG, ZH, BE, GE, etc.)
Years: 2016-2026
Age bands: Child (0-18), Young Adult (19-25), Adult (26+)
Franchise levels: 0-2,500 CHF (11 options)
Insurance models: Standard, HMO, Telmed, Family Doctor, Diverse
Use Cases: Personal insurance comparison, market research and analysis, historical premium tracking, data-driven insurance switching decisions, and research on Swiss healthcare costs.
Connects to a Supabase database containing 1.6 million Swiss health insurance premium records from the BAG Priminfo database, providing tools to query and compare premiums across 55 insurers from 2016-2026.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Swiss Health MCP Serverfind the cheapest health insurance in Zurich for a 30-year-old in 2025"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Swiss Health MCP Server
An 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.
Built on the Model Context Protocol. Data sourced from BAG Priminfo (Swiss Federal Office of Public Health, 2016--2026). This is the MCP companion to the KrankenkassenGPT REST API.
Quick Start
Add this to your Claude Desktop config (claude_desktop_config.json) or Cursor settings (.cursor/mcp.json):
{
"mcpServers": {
"swiss-health": {
"command": "npx",
"args": ["-y", "@prinz_esox/swiss-health-mcp"],
"env": {
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_SERVICE_ROLE_KEY": "your-service-role-key"
}
}
}
}Or install globally:
npm install -g @prinz_esox/swiss-health-mcpThe server is also available on the Smithery registry and the MCP Registry.
Related MCP server: swiss-statistics-mcp
Tools
get_cheapest_insurers
Find the top 5 cheapest health insurers for a given profile.
Parameter | Type | Required | Description |
| string | yes | Canton code (e.g. |
| number | yes | Year (2016--2026) |
| string | yes |
|
| number | yes | Deductible: 0, 100, 200, 300, 400, 500, 600, 1000, 1500, 2000, 2500 |
| string | no |
|
| boolean | no | Include accident coverage (default: |
compare_insurers
Side-by-side comparison of specific insurers for the same profile.
Parameter | Type | Required | Description |
| string[] | yes | Insurer names (e.g. |
| string | yes | Canton code |
| number | yes | Year (2016--2026) |
| string | yes | Age group |
| number | yes | Deductible in CHF |
get_price_history
10-year price development for a single insurer with year-over-year percentage change.
Parameter | Type | Required | Description |
| string | yes | Insurer name (e.g. |
| string | yes | Canton code |
| string | yes | Age group |
| number | yes | Deductible in CHF |
| number | no | Start year (default: 2016) |
| number | no | End year (default: 2026) |
get_database_stats
Returns coverage statistics and metadata. No parameters.
Data
Dimension | Coverage |
Records | 1,611,386+ |
Insurers | 55 (CSS, Helsana, Swica, Assura, KPT, Groupe Mutuel, Sanitas, ...) |
Cantons | 26 (all Swiss cantons) |
Years | 11 (2016--2026) |
Franchise levels | 11 (CHF 0--2,500) |
Insurance models | 5 (standard, HMO, telmed, family doctor, diverse) |
Age bands | 3 (child, young adult, adult) |
All data comes from BAG Priminfo, the official database of the Swiss Federal Office of Public Health.
Features
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.
Automatic disclaimer -- every response includes BAG Priminfo attribution and a notice that premiums are informational only.
Read-only access -- no write operations, no personal data.
Percentage change calculations -- price history includes year-over-year trends.
Example Prompts
"What are the cheapest health insurers in Zurich for 2026?"
"Compare CSS, Helsana and Swica in Bern for an adult with CHF 300 deductible"
"How did Assura premiums develop from 2016 to 2026?"
"Which insurer had the smallest price increase over the last 10 years in Basel?"Environment Variables
Variable | Required | Description |
| yes | Supabase project URL |
| yes | Supabase service role key for database access |
Tech Stack
Protocol: MCP SDK v1.0.0 (stdio transport)
Language: TypeScript
Database: Supabase (PostgreSQL)
Runtime: Node.js 18+
Package: @prinz_esox/swiss-health-mcp
Registry ID:
io.github.remoprinz/swiss-health-mcp
Development
git clone https://github.com/remoprinz/swiss-health-mcp.git
cd swiss-health-mcp
npm install
npm run dev # Start with tsx
npm run build # Compile TypeScriptProject Structure
src/index.ts # Complete server implementation (~530 lines)
server.json # MCP registry manifest
smithery.yaml # Smithery registry config
llms.txt # LLM-readable project description
CITATION.cff # Citation metadataLicense
MIT -- Remo Prinz
Links
Available Tools
4 toolscompare_insurersC
Vergleicht mehrere Versicherer für ein bestimmtes Profil.
| Name | Required | Description | Default |
|---|---|---|---|
| insurer_names | Yes | Liste von Versicherer-Namen (z.B. ['CSS', 'Helsana', 'Swica']) | |
| canton | Yes | Kanton (2-Buchstaben-Code) | |
| year | Yes | Jahr (2016-2026) | |
| age_band | Yes | Altersgruppe | |
| franchise_chf | Yes | Franchise in CHF |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool compares insurers but doesn't explain what the comparison entails (e.g., returns a list, a table, or a summary), whether it's read-only or has side effects, or any performance considerations like rate limits. For a tool with 5 parameters and no annotations, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence in German that directly states the tool's purpose without unnecessary words. It's appropriately sized and front-loaded, making it easy to parse quickly. Every word earns its place by conveying essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (5 required parameters, no output schema, and no annotations), the description is incomplete. It doesn't explain the output format, error conditions, or how the comparison is performed. For a tool that likely returns detailed comparative data, more context is needed to guide effective use by an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds no additional meaning beyond what's in the schema (e.g., it doesn't clarify how parameters interact or affect the comparison). With high schema coverage, the baseline is 3, as the description doesn't compensate but also doesn't detract.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Vergleicht mehrere Versicherer für ein bestimmtes Profil' clearly states the action (compare) and resource (insurers) with a specific scope (for a given profile). It distinguishes from sibling tools like 'get_cheapest_insurers' (which likely returns cheapest options rather than comparisons) and 'get_price_history' (which focuses on historical data). However, it doesn't explicitly mention what aspects are compared (e.g., prices, coverage), keeping it from a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'get_cheapest_insurers' or 'get_price_history'. It doesn't specify prerequisites, exclusions, or contextual cues for selection. The only implied usage is comparing insurers for a profile, but this is too vague for effective tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_cheapest_insurersC
Findet die günstigsten Krankenkassen für ein bestimmtes Profil. Gibt die Top 5 zurück.
| Name | Required | Description | Default |
|---|---|---|---|
| canton | Yes | Kanton (2-Buchstaben-Code, z.B. 'ZH', 'BE', 'GE') | |
| year | Yes | Jahr (2016-2026) | |
| age_band | Yes | Altersgruppe: child (0-18), young_adult (19-25), adult (26+) | |
| franchise_chf | Yes | Franchise in CHF | |
| model_type | No | Versicherungsmodell (optional, default: standard) | |
| accident_covered | No | Unfalldeckung inkludiert (optional, default: true) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the tool returns the 'Top 5' results, which adds some context about output behavior. However, it lacks critical details such as whether this is a read-only operation, potential rate limits, authentication requirements, error handling, or data freshness—important for a tool that queries insurance data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with two clear sentences in German. It efficiently states the tool's purpose and output behavior without unnecessary words, though it could be slightly more structured by explicitly mentioning key parameters.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (6 parameters, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose and output format ('Top 5'), but lacks details on behavioral traits, usage context, and error handling. With no annotations or output schema, more completeness would be beneficial for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, providing clear details for all 6 parameters (e.g., canton codes, age bands, franchise values). The description adds no additional parameter semantics beyond what the schema already documents, so it meets the baseline score of 3 for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Findet die günstigsten Krankenkassen für ein bestimmtes Profil. Gibt die Top 5 zurück.' (Finds the cheapest health insurers for a specific profile. Returns the top 5.) It specifies the verb ('findet'), resource ('Krankenkassen'), and scope ('Top 5'), but doesn't explicitly differentiate from sibling tools like 'compare_insurers' or 'get_price_history'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'compare_insurers' or 'get_price_history'. It states what the tool does but offers no context about appropriate scenarios, prerequisites, or exclusions for its use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_database_statsB
Zeigt Statistiken zur Datenbank (Anzahl Einträge, verfügbare Jahre, Versicherer).
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool shows statistics, implying a read-only operation, but doesn't clarify whether it requires authentication, has rate limits, returns real-time or cached data, or what format the output takes. For a tool with zero annotation coverage, this leaves significant behavioral gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence in German that directly states the tool's purpose and lists the statistics it provides. It's appropriately sized and front-loaded with the core functionality, with no wasted words or unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (simple read operation with no parameters), no annotations, and no output schema, the description is minimally adequate. It specifies what statistics are returned, which helps compensate for the lack of output schema, but doesn't address behavioral aspects like authentication or data freshness. For a no-parameter tool, it's complete enough to understand the basic purpose.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and schema description coverage is 100% (since there are no parameters to describe). With no parameters, the description doesn't need to add parameter semantics beyond what the schema provides. The baseline for 0 parameters is 4, as there's nothing to compensate for.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Zeigt Statistiken zur Datenbank' (shows database statistics) and specifies what statistics are included: 'Anzahl Einträge, verfügbare Jahre, Versicherer' (number of entries, available years, insurers). This is a specific verb+resource combination, though it doesn't explicitly differentiate from sibling tools like get_price_history which might also provide statistical data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like compare_insurers or get_cheapest_insurers, nor does it specify contexts where database statistics are needed versus other data retrieval operations. Usage is implied but not explicitly stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_price_historyC
Zeigt die Preisentwicklung eines Versicherers über mehrere Jahre.
| Name | Required | Description | Default |
|---|---|---|---|
| insurer_name | Yes | Name des Versicherers (z.B. 'CSS', 'Helsana') | |
| canton | Yes | Kanton (2-Buchstaben-Code) | |
| age_band | Yes | Altersgruppe | |
| franchise_chf | Yes | Franchise in CHF | |
| start_year | No | Startjahr (optional, default: 2016) | |
| end_year | No | Endjahr (optional, default: 2026) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states this is a read operation ('zeigt' - shows) which implies non-destructive behavior, but doesn't address other important aspects like authentication requirements, rate limits, error conditions, response format, or whether it returns historical data points or aggregated trends. For a tool with 6 parameters and no output schema, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence in German that directly states the tool's purpose without unnecessary words. It's appropriately sized for a straightforward data retrieval tool and front-loads the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 6 parameters, no annotations, and no output schema, the description is incomplete. While concise, it doesn't compensate for the lack of structured metadata by explaining what the tool returns (historical price points? percentage changes? annual premiums?), how results are formatted, or important behavioral constraints. The agent would need to guess about the output structure and operational characteristics.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description doesn't add any parameter-specific information beyond what's already in the schema (which has 100% coverage). It mentions 'Versicherers' (insurer) which aligns with the 'insurer_name' parameter and 'mehrere Jahre' (several years) which relates to the temporal parameters, but provides no additional context about parameter relationships, constraints, or usage patterns. With complete schema coverage, the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Zeigt die Preisentwicklung eines Versicherers über mehrere Jahre' (Shows the price development of an insurer over several years). It specifies the verb 'zeigt' (shows) and resource 'Preisentwicklung' (price development) with temporal scope 'über mehrere Jahre' (over several years). However, it doesn't explicitly differentiate from sibling tools like 'compare_insurers' or 'get_cheapest_insurers' which might also involve price data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'compare_insurers' (for comparing multiple insurers) or 'get_cheapest_insurers' (for finding cheapest options), nor does it specify prerequisites or exclusions. Usage context is implied but not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.0.0- First observed
compare_insurers - First observed
get_cheapest_insurers - First observed
get_database_stats - First observed
get_price_history
TDQS
Scored across 4 tools
The tools have mostly distinct purposes: compare_insurers compares multiple insurers, get_cheapest_insurers finds the cheapest ones, get_database_stats shows database statistics, and get_price_history shows price trends. However, compare_insurers and get_cheapest_insurers could potentially overlap in function if comparing insurers includes price considerations, but their descriptions clarify distinct focuses (comparison vs. cheapest selection).
All tool names follow a consistent verb_noun pattern in snake_case: compare_insurers, get_cheapest_insurers, get_database_stats, and get_price_history. This uniformity makes the set predictable and easy to understand, with no deviations in naming conventions.
With 4 tools, the count is borderline for a health insurance domain. It feels slightly thin as it covers comparison, cheapest selection, stats, and price history, but lacks tools for detailed insurer information, plan specifics, or user profile management, which might be expected in a comprehensive health insurance server.
The tool set covers key aspects like comparison, cost analysis, stats, and history, but has notable gaps. For a health insurance domain, missing operations include creating or updating profiles, retrieving detailed insurer data, or managing user preferences, which could limit agent effectiveness in broader workflows.
Maintenance
Related MCP Connectors
Swiss federal law (Fedlex) and political data (LINDAS) for agents, every answer with sources
Official Swiss living-cost & relocation data for all 26 cantons — taxes, rent, premiums, jobs.
Pay-per-call Swiss retail price intelligence (22 retailers). $0.01 USDC via x402.
Swiss weather data for AI assistants — forecasts, measurements, stations, pollen.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceVerified knowledge base for AI agents. Stop hallucinations with certified, source-backed facts. Covers Swiss law, health, finance, climate, AI/ML, and more. 8 tools, no API key needed, public and free.MIT
- AlicenseAqualityAmaintenanceProvides AI-native access to Swiss Federal Statistical Office datasets through 9 tools for querying education, population, and cross-cantonal comparisons without authentication.152MIT
- AlicenseAqualityAmaintenanceEnables AI models to query Swiss National Bank data including exchange rates, balance sheet, interest rates, SARON, monetary aggregates, banking statistics, and balance of payments via the SNB public API.11MIT
- AlicenseAqualityAmaintenanceEnables natural language queries about Swiss mandatory health insurance coverage for medications and medical devices using official BAG lists.6MIT