npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@prinz_esox/swiss-health-mcp

v2.0.1

Published

Agent-Native MCP Server für Schweizer Krankenkassen-Prämien

Readme

SwissHealth MCP Server

Agent-Native MCP Server für Schweizer Krankenkassen-Prämien

Ein spezialisierter MCP-Server, der KI-Agenten direkten Zugriff auf 1.6 Millionen Schweizer Krankenkassen-Prämien gibt. Designed nach den Prinzipien des "Agent-Native Design" - keine rohen Datenbank-Dumps, sondern intelligente, vorverarbeitete Tools.

Features

  • 7 spezialisierte Tools statt generischem Datenbank-Zugriff
  • Intent over Resource: Tools bilden komplette Aufgaben ab
  • Automatische Chart-Generierung via QuickChart
  • Vorvalidierte Parameter mit hilfreichen Fehlermeldungen
  • 10 Jahre historische Daten (2016-2026)

Tools

| Tool | Beschreibung | |------|--------------| | lookup_region | PLZ → Kanton/Region Lookup | | get_premium_quote | Aktuelle Prämien suchen (2026) | | get_cheapest_premiums | Günstigste für Profile finden | | get_premium_timeline | Preisentwicklung über Jahre | | get_premium_inflation | Inflationsrate berechnen | | compare_years | Zwei Jahre vergleichen | | get_premium_ranking | Langzeit-Ranking der günstigsten |

Installation

cd src-mcp
npm install
npm run build

Konfiguration

Setze diese Umgebungsvariablen:

export SUPABASE_URL="https://your-project.supabase.co"
export SUPABASE_SERVICE_ROLE_KEY="your-service-role-key"

Verwendung mit Claude Desktop

Füge zu ~/Library/Application Support/Claude/claude_desktop_config.json hinzu:

{
  "mcpServers": {
    "swisshealth": {
      "command": "node",
      "args": ["/path/to/swisshealth-api/src-mcp/build/index.js"],
      "env": {
        "SUPABASE_URL": "https://your-project.supabase.co",
        "SUPABASE_SERVICE_ROLE_KEY": "your-key"
      }
    }
  }
}

Verwendung mit Cursor

Füge zu .cursor/mcp.json im Projekt hinzu:

{
  "mcpServers": {
    "swisshealth": {
      "command": "node",
      "args": ["./src-mcp/build/index.js"],
      "env": {
        "SUPABASE_URL": "${SUPABASE_URL}",
        "SUPABASE_SERVICE_ROLE_KEY": "${SUPABASE_SERVICE_ROLE_KEY}"
      }
    }
  }
}

Agent-Native

  • Spezialisierte Tools
  • KI nennt nur Intent
  • Vorverarbeitete Resultate
  • Automatische Visualisierungen
  • Validierung & Elicitation

Architektur

src-mcp/
├── src/
│   ├── index.ts         # MCP Server + Tool Handlers
│   ├── config.ts        # Konfiguration, Profile, Kantone
│   ├── chart-service.ts # QuickChart Integration
│   ├── id-mapping.ts    # Versicherer-ID Normalisierung
│   └── insurer-names.ts # Name-Mappings
├── build/               # Kompilierte JS-Dateien
├── package.json
└── tsconfig.json

Datenquelle

  • BAG Priminfo 2026 (Bundesamt für Gesundheit)
  • 1.6 Millionen Einträge
  • 51 Versicherer
  • Alle Kantone, Franchisen, Modelle

Lizenz

MIT - siehe LICENSE