Skip to main content
Glama
Qlik Sense MCP Server

Qlik Sense MCP Server

Qlik Sense MCP Server

PyPI version PyPI downloads License: MIT Python versions

Model Context Protocol-Server für Qlik Sense Enterprise. Stellt Qliks Repository (HTTP) und Engine (WebSocket) APIs als 24 MCP-Tools bereit, sodass ein LLM-Client Apps entdecken, Datenmodelle untersuchen, Hypercubes erstellen und Reload-Tasks über eine einzige einheitliche Schnittstelle verwalten kann.

Was ist enthalten

Bereich

Tools

Verwendung für

Repository (Apps & Metadaten)

get_about, get_apps, get_app_details

Apps entdecken, Tabellen und Felder mit Kardinalitäten auflisten

Engine (Daten & Skript)

get_app_script, get_app_variables, get_app_sheets, get_app_sheet_objects, get_app_object, get_app_field, engine_get_field_range, get_app_field_statistics, engine_create_hypercube

Ladeskript lesen, Visualisierungen auflisten, Feldwerte abfragen, Hypercubes erstellen

Reload-Tasks

get_tasks, get_task_details, get_task_dependencies, get_task_schedule, get_task_executions, get_task_script_log, get_failed_tasks_with_logs, start_task, create_task, update_task, delete_task, create_task_schedule

Reload-Tasks untersuchen, auslösen und verwalten

Vollständige Liste mit Beschreibungen: docs/tools.md.

Related MCP server: Looker Admin MCP

Schnellstart

uvx qlik-sense-mcp-server

Der Server startet im Streamable HTTP Modus unter http://127.0.0.1:8000/mcp. Konfigurieren Sie ihn über Umgebungsvariablen — siehe docs/configuration.md.

Für den stdio-Modus (Legacy MCP-Transport) verwenden Sie --stdio.

Dokumentation

Dokument

Inhalt

docs/installation.md

Anforderungen, Installation via uvx / pip / Quellcode, Zertifikatseinrichtung

docs/configuration.md

Alle QLIK_* Umgebungsvariablen, Beispiel .env, MCP-Client-Konfigurations-Snippet

docs/usage.md

Transporte, Server-Startbefehle, empfohlene Aufrufreihenfolge, durch diesen Server erzwungene harte Limits

docs/tools.md

Inventar aller 24 Tools, Antwort-/Fehler-Envelope, Fehlerkategorien

docs/architecture.md

Projektlayout, Komponenten, Verbindungs-Caching, striktes ID-Matching, zweistufiges Timeout

docs/development.md

make-Ziele, Tests, Versionierung, Hinzufügen eines neuen Tools

docs/troubleshooting.md

Häufige Fehler, Fehler bei der Hypercube-Planung, ausführliche Protokollierung, Konfigurations-Selbsttest

CHANGELOG.md

Versionshinweise

Wichtige Fakten zur v1.4.0-Reihe

  • Gecachte Engine-WebSocket-Verbindungen. Sobald eine App geöffnet ist, verwendet jeder nachfolgende Tool-Aufruf für dieselbe app_id denselben WebSocket und dasselbe geöffnete Dokument. Ein Wechsel der app_id schließt das alte Dokument und öffnet das neue auf demselben Socket. Unterbrochene Verbindungen werden transparent wiederhergestellt. Implementierung: engine_api.py und docs/architecture.md.

  • Standardmäßig Streamable HTTP-Transport. Der Server ist ein langlebiger Prozess; mehrere MCP-Clients können parallel mit ihm kommunizieren. Der Legacy-stdio-Modus funktioniert weiterhin mit --stdio.

  • tool_call_seconds wird als erster Schlüssel jeder Tool-Antwort eingefügt — die Wanduhrzeit des Aufrufs in Millisekunden. Verwenden Sie dies, um langsame Tools zu identifizieren.

  • Harte Hypercube-Limits. engine_create_hypercube lehnt Anfragen mit max_rows > 5000 oder columns * max_rows > 9900 sofort ab, mit einem strukturierten Fehler und einem Hinweis auf Set-Analysis- oder Top-N-Muster. Die Qlik Engine selbst gibt Fehler 7009 calc-pages-too-large für jede einzelne Seite über 10.000 Zellen zurück.

  • Einheitlicher Timeout-Regler. QLIK_WS_TIMEOUT (Standard 180.0 Sekunden) steuert sowohl den WebSocket-Handshake als auch jeden Engine-API-Aufruf.

Anforderungen

  • Python 3.12 (das Paket wurde mit dieser Version erstellt und getestet; siehe pyproject.toml)

  • Qlik Sense Enterprise (Repository auf Port 4242, Engine auf Port 4747 — die Standard-Ports)

  • Client-Zertifikat, privater Schlüssel und Root-CA vom Qlik Sense-Knoten

  • Netzwerkzugriff vom Host, auf dem dieser Server läuft, zu Qlik

Haftungsausschluss

Dieses Projekt ist eine unabhängige, von der Community erstellte Integration. Es ist NICHT mit Qlik Technologies Inc., QlikTech International AB oder einer anderen Qlik-Einheit verbunden, wird von diesen nicht unterstützt, gesponsert oder gefördert. "Qlik", "Qlik Sense", "QlikView" und alle zugehörigen Produktnamen sind Marken ihrer jeweiligen Eigentümer.

Alle Informationen über Qlik Sense APIs, Port-Zuweisungen, Fehlercodes, Protokollverhalten und Nutzungsmuster, die in diesem Projekt verwendet werden, wurden ausschließlich aus öffentlich zugänglichen Quellen bezogen — dem Qlik Developer Portal (help.qlik.com, qlik.dev), den Qlik Community-Foren und anderer öffentlicher Dokumentation. Es wird kein proprietäres, vertrauliches oder durch Reverse Engineering gewonnenes Material verwendet.

Lizenz

MIT © 2025-2026 Stanislav Chernov

Available Tools

10 tools
engine_create_hypercubeA

Create hypercube for data analysis with custom sorting options. IMPORTANT: To get top-N records, use qSortByExpression: 1 in dimension sorting with qExpression containing the measure formula (e.g., 'Count(field)' for ascending, '-Count(field)' for descending). Measure sorting is ignored by Qlik Engine.

Inputs: app_id (required), dimensions, measures, max_rows.

get_app_detailsB

Get compact application info with filters by guid or name (case-insensitive). Returns metainfo, tables/fields list, master items, sheets and objects with used fields.

Inputs: app_id, name.

get_app_fieldC

Return values of a single field from app with pagination and wildcard search (supports * and %).

Inputs: app_id (required), field_name (required), limit, offset, +3 more.

get_app_field_statisticsC

Get comprehensive statistics for a field

Inputs: app_id (required), field_name (required).

get_app_objectC

Get specific object layout by calling GetObject and GetLayout sequentially via WebSocket.

Inputs: app_id (required), object_id (required).

get_appsA

Get list of Qlik Sense applications with essential fields and filters (name, stream, published) and pagination.

Inputs: limit, offset, name, stream, +1 more.

get_app_scriptC

Get load script from app

Inputs: app_id (required).

get_app_sheet_objectsC

Get list of objects from specific sheet with object ID, type and description.

Inputs: app_id (required), sheet_id (required).

get_app_sheetsC

Get list of sheets from application with title and description.

Inputs: app_id (required).

get_app_variablesB

Return variables split by source (script/ui) with pagination and wildcard search.

Inputs: app_id (required), limit, offset, created_in_script, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 10 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose targeting specific Qlik Sense resources like apps, fields, objects, sheets, variables, or hypercubes, with no overlap in functionality. The descriptions reinforce this by detailing unique operations such as retrieving field statistics versus field values, ensuring agents can easily differentiate between tools.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with 'get_' or 'engine_' prefixes, using snake_case uniformly (e.g., get_app_details, get_app_field, engine_create_hypercube). This predictability makes the tool set easy to navigate and understand at a glance.

    Tool Count5/5

    With 10 tools, the server is well-scoped for interacting with Qlik Sense applications, covering essential operations like listing apps, retrieving details, fields, objects, sheets, variables, scripts, and creating hypercubes. Each tool serves a distinct role without redundancy, fitting the domain appropriately.

    Completeness4/5

    The tool set provides comprehensive read and analysis capabilities for Qlik Sense apps, including data retrieval, statistics, and hypercube creation, but lacks write operations (e.g., updating or deleting apps, fields, or objects). This minor gap may limit agents in full lifecycle management but supports core query and analysis workflows effectively.

    Maintenance

    ActivityStale
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Connects AI assistants like Claude to Qlik Cloud and Qlik Sense Enterprise environments, enabling natural language interactions for analytics, app management, reloads, user administration, and data governance across 34 tools.
      34
      16
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides over 60 administrative tools for managing users, groups, roles, schedules, alerts, and content access within Looker through the Model Context Protocol. It enables full administration of Looker environments, including permission management and system configuration.
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI applications to interact with Power BI through the Model Context Protocol, supporting comprehensive API operations including data retrieval and management.
      -