{
  "$schema": "https://modelcontextprotocol.io/schema/mcp-discovery.json",
  "schema_version": "2025-06-18",
  "name": "Wechselpilot",
  "description": "Wechselpilot ist ein automatischer Strom- und Gaswechselservice in Deutschland. Der MCP-Server stellt Redaktions- und Inhaltswerkzeuge des Wechselpilot-CMS bereit. Für Ersparnisberechnung und Registrierung ohne Login stehen zusätzlich öffentliche APIs zur Verfügung.",
  "provider": {
    "organization": "Wechselpilot GmbH",
    "url": "https://wechselpilot.com"
  },
  "documentationUrl": "https://wechselpilot.com/api",
  "servers": [
    {
      "name": "wechselpilot-cms-mcp",
      "title": "Wechselpilot CMS",
      "version": "0.3.0",
      "description": "Lese- und Entwurfs-Werkzeuge für das Wechselpilot-CMS (Artikel, Kooperationen, FAQ, Autoren, Medien). Alle Aktionen laufen mit den Rechten des angemeldeten CMS-Users.",
      "url": "https://ldbbacwdhsydcqwbdgxw.supabase.co/functions/v1/mcp",
      "transport": "streamable-http",
      "authentication": {
        "type": "oauth2",
        "authorization_server": "https://ldbbacwdhsydcqwbdgxw.supabase.co/auth/v1",
        "protected_resource_metadata": "https://ldbbacwdhsydcqwbdgxw.supabase.co/functions/v1/mcp/.well-known/oauth-protected-resource",
        "dynamic_client_registration": true
      }
    }
  ],
  "mcpServers": {
    "wechselpilot-cms": {
      "type": "http",
      "url": "https://ldbbacwdhsydcqwbdgxw.supabase.co/functions/v1/mcp"
    }
  },
  "publicApis": {
    "openapiUrl": "https://wechselpilot.com/openapi.json",
    "instructionsUrl": "https://wechselpilot.com/llms.txt",
    "instructionsUrlEn": "https://wechselpilot.com/llms-full.txt",
    "agentCardUrl": "https://wechselpilot.com/.well-known/agent.json",
    "pluginManifestUrl": "https://wechselpilot.com/.well-known/ai-plugin.json",
    "authentication": {
      "type": "none"
    },
    "endpoints": [
      {
        "name": "ersparnis_berechnen",
        "method": "GET",
        "url": "https://wechselpilot.com/api/ersparnis",
        "description": "Berechnet die geschätzte jährliche und monatliche Ersparnis beim Strom- oder Gaswechsel. Pflichtparameter: plz, verbrauch. Optional: typ (strom|gas), arbeitspreis, grundpreis, brutto.",
        "example": "https://wechselpilot.com/api/ersparnis?plz=10115&verbrauch=3500&typ=strom",
        "rateLimit": "20 Anfragen pro Stunde und IP"
      },
      {
        "name": "nutzer_registrieren",
        "method": "POST",
        "methods": [
          "POST",
          "GET"
        ],
        "contentType": "application/json",
        "url": "https://wechselpilot.com/api/registrierung",
        "description": "Registriert einen Nutzer bei Wechselpilot. POST mit JSON-Body (empfohlen), GET mit Query-Parametern als Alternative. Pflichtfelder: email, vorname, nachname, plz, verbrauch, zustimmung=ja. Nur nach ausdrücklicher Zustimmung zu AGB und Datenschutzerklärung aufrufen.",
        "example": "curl -X POST https://wechselpilot.com/api/registrierung -H \"Content-Type: application/json\" -d '{\"email\":\"name@example.com\",\"vorname\":\"Max\",\"nachname\":\"Muster\",\"plz\":\"10115\",\"verbrauch\":3500,\"typ\":\"strom\",\"zustimmung\":\"ja\"}'",
        "exampleGet": "https://wechselpilot.com/api/registrierung?plz=10115&verbrauch=3500&typ=strom&email=name@example.com&vorname=Max&nachname=Muster&zustimmung=ja",
        "rateLimit": "3 Anfragen pro Stunde und IP, 1 pro E-Mail-Adresse pro Tag"
      }
    ],
    "cors": {
      "allowOrigin": "*",
      "allowMethods": [
        "GET",
        "POST",
        "OPTIONS"
      ],
      "allowHeaders": [
        "authorization",
        "x-client-info",
        "apikey",
        "content-type"
      ],
      "maxAgeSeconds": 86400,
      "credentials": false,
      "note": "Browser-freundlich: direkt per fetch() aus fremden Origins aufrufbar (z. B. ChatGPT Canvas, Claude Artifacts, Gemini Canvas, eigene Web-Apps). Preflight (OPTIONS) antwortet mit HTTP 204."
    }
  },
  "legal": {
    "termsOfService": "https://wechselpilot.com/agb",
    "privacyPolicy": "https://wechselpilot.com/datenschutz"
  }
}