Swiss Health MCP Server
Servidor MCP de Salud Suiza
Un servidor MCP que proporciona a los asistentes de IA acceso estructurado a 1,6 millones de registros de primas de seguros médicos suizos: 55 aseguradoras, 26 cantones, 11 años de datos oficiales del gobierno.
Construido sobre el Model Context Protocol. Datos obtenidos de BAG Priminfo (Oficina Federal de Salud Pública de Suiza, 2016-2026). Este es el complemento MCP para la API REST de KrankenkassenGPT.
Inicio rápido
Añada esto a su configuración de Claude Desktop (claude_desktop_config.json) o a los ajustes de Cursor (.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"
}
}
}
}O instálelo globalmente:
npm install -g @prinz_esox/swiss-health-mcpEl servidor también está disponible en el registro Smithery y en el Registro MCP.
Related MCP server: swiss-snb-mcp
Herramientas
get_cheapest_insurers
Encuentra las 5 aseguradoras de salud más baratas para un perfil determinado.
Parámetro | Tipo | Requerido | Descripción |
| string | sí | Código del cantón (ej. |
| number | sí | Año (2016-2026) |
| string | sí |
|
| number | sí | Franquicia: 0, 100, 200, 300, 400, 500, 600, 1000, 1500, 2000, 2500 |
| string | no |
|
| boolean | no | Incluir cobertura de accidentes (predeterminado: |
compare_insurers
Comparación lado a lado de aseguradoras específicas para el mismo perfil.
Parámetro | Tipo | Requerido | Descripción |
| string[] | sí | Nombres de aseguradoras (ej. |
| string | sí | Código del cantón |
| number | sí | Año (2016-2026) |
| string | sí | Grupo de edad |
| number | sí | Franquicia en CHF |
get_price_history
Evolución de precios a 10 años para una sola aseguradora con cambio porcentual interanual.
Parámetro | Tipo | Requerido | Descripción |
| string | sí | Nombre de la aseguradora (ej. |
| string | sí | Código del cantón |
| string | sí | Grupo de edad |
| number | sí | Franquicia en CHF |
| number | no | Año de inicio (predeterminado: 2016) |
| number | no | Año de fin (predeterminado: 2026) |
get_database_stats
Devuelve estadísticas de cobertura y metadatos. Sin parámetros.
Datos
Dimensión | Cobertura |
Registros | 1.611.386+ |
Aseguradoras | 55 (CSS, Helsana, Swica, Assura, KPT, Groupe Mutuel, Sanitas, ...) |
Cantones | 26 (todos los cantones suizos) |
Años | 11 (2016-2026) |
Niveles de franquicia | 11 (CHF 0-2.500) |
Modelos de seguro | 5 (estándar, HMO, telmed, médico de familia, diverso) |
Grupos de edad | 3 (niño, adulto joven, adulto) |
Todos los datos provienen de BAG Priminfo, la base de datos oficial de la Oficina Federal de Salud Pública de Suiza.
Características
Resolución inteligente de nombres de aseguradoras -- coincidencia difusa entre más de 55 aseguradoras y sus submarcas. Pregunte por "Helsana" y el servidor resolverá automáticamente todos los IDs de aseguradora asociados.
Descargo de responsabilidad automático -- cada respuesta incluye la atribución a BAG Priminfo y un aviso de que las primas son solo informativas.
Acceso de solo lectura -- sin operaciones de escritura, sin datos personales.
Cálculos de cambio porcentual -- el historial de precios incluye tendencias interanuales.
Ejemplos de 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?"Variables de entorno
Variable | Requerido | Descripción |
| sí | URL del proyecto Supabase |
| sí | Clave de rol de servicio de Supabase para acceso a la base de datos |
Stack tecnológico
Protocolo: MCP SDK v1.0.0 (transporte stdio)
Lenguaje: TypeScript
Base de datos: Supabase (PostgreSQL)
Runtime: Node.js 18+
Paquete: @prinz_esox/swiss-health-mcp
ID de registro:
io.github.remoprinz/swiss-health-mcp
Desarrollo
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 TypeScriptEstructura del proyecto
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 metadataLicencia
MIT -- Remo Prinz
Enlaces
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 data for all 26 cantons and 2,100 communes: tax, rent, health premiums, fuel, jobs.
US healthcare data for AI agents: prices, Medicare Advantage, Medicaid, providers, drugs. Receipted.
Pay-per-call Swiss retail price intelligence (22 retailers). $0.01 USDC via x402.
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides AI-native access to Swiss Federal Statistical Office datasets through 9 tools for querying education, population, and cross-cantonal comparisons without authentication.15143 PyPI2MIT
- 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.11148 PyPIMIT
- AlicenseAqualityAmaintenanceEnables natural language queries about Swiss mandatory health insurance coverage for medications and medical devices using official BAG lists.6160 PyPIMIT
- AlicenseNot gradedqualityAmaintenanceEnables LLMs to search and analyze Swiss case law, legislation, and citation networks with 43 tools for decision search, statute lookup, citation graphs, legislative history, and exam question generation.72MIT