Kilkaya MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Kilkaya MCP Server
Ein MCP-Server (Model Context Protocol) für die Kilkaya-Analytics-API. Er stellt Kilkayas Query-, Schema- und Metadata-Endpunkte als MCP-Tools bereit, läuft über Streamable HTTP (stateless) und ist für das Hosting auf Google Cloud Run ausgelegt.
Tools
Standardmäßig aktiv (read-only):
Tool | Kilkaya-Endpunkt | Beschreibung |
|
| Analytics-Query (Haupt-API). Antwort im JSON:API-Format. 202-Antworten („Query queued/running") werden automatisch alle 2,5 s neu gesendet, bis das Ergebnis da ist (Timeout konfigurierbar). |
|
| Verfügbare Schemas inkl. Felddefinitionen. |
|
| Metadaten für eine Artikel-URL (ohne Protokoll). |
|
| Metadaten für viele URLs auf einmal. |
Optional per Env-Flag:
Tool | Flag | Beschreibung |
|
| Schreibt/aktualisiert Artikel-Metadaten ( |
|
| Read-only User-/Rollen-Verwaltung. Standardmäßig aus, da Userdaten E-Mail-Adressen enthalten. |
Destruktive Endpunkte (User/Rollen anlegen, ändern, löschen) sind bewusst nicht als Tools implementiert.
Related MCP server: Seline MCP
Konfiguration (Umgebungsvariablen)
Variable | Pflicht | Beschreibung |
| ✅ | Kilkaya API Access Token. Wird als |
| empfohlen | Shared Secret zum Schutz des |
| – | HTTP-Port (Default |
| – | Default |
| – | Wie lange auf ein 202-„Query delayed" gepollt wird (Default |
| – |
|
| – |
|
Lokal starten
npm install
npm run build
KILKAYA_API_TOKEN=<token> npm start
# Healthcheck
curl http://localhost:8080/healthzMCP-Endpunkt: POST http://localhost:8080/mcp (Streamable HTTP, stateless — keine
Sessions, kein SSE-Stream vom Server; GET/DELETE /mcp antworten mit 405).
Deployment auf Google Cloud Run
PROJECT=<gcp-projekt>
REGION=europe-west3
# 1. Token als Secret hinterlegen
echo -n "<kilkaya-api-token>" | gcloud secrets create kilkaya-api-token \
--project "$PROJECT" --data-file=-
echo -n "<selbst-generiertes-shared-secret>" | gcloud secrets create kilkaya-mcp-auth-token \
--project "$PROJECT" --data-file=-
# 2. Bauen & deployen (Cloud Build baut das Dockerfile)
gcloud run deploy kilkaya-mcp \
--project "$PROJECT" --region "$REGION" \
--source . \
--set-secrets "KILKAYA_API_TOKEN=kilkaya-api-token:latest,MCP_AUTH_TOKEN=kilkaya-mcp-auth-token:latest" \
--allow-unauthenticated \
--min-instances 0 --max-instances 3 --memory 256Mi--allow-unauthenticated ist hier okay, weil MCP_AUTH_TOKEN den Endpunkt schützt.
Alternativ das Flag weglassen und Cloud-Run-IAM nutzen (Clients senden dann ein
Google-ID-Token) — dann kann MCP_AUTH_TOKEN entfallen.
Der Server ist stateless (ein frischer MCP-Server pro Request), daher sind beliebige Instanzzahlen inkl. Scale-to-zero unproblematisch.
Client-Konfiguration
Beispiel für Claude Code (.mcp.json) oder andere MCP-Clients mit Streamable HTTP:
{
"mcpServers": {
"kilkaya": {
"type": "http",
"url": "https://kilkaya-mcp-<hash>-<region>.a.run.app/mcp",
"headers": {
"Authorization": "Bearer <selbst-generiertes-shared-secret>"
}
}
}
}Beispiel-Query
Typischer Ablauf für ein LLM: erst kilkaya_list_schemas aufrufen, um Schema und
gültige Felder zu ermitteln, dann kilkaya_query:
{
"schemaname": "pageviews",
"datefrom": "2026-07-01T00:00:00+00:00",
"dateto": "2026-07-06T00:00:00+00:00",
"columns": ["url", "pageviews", "section", "_day"],
"filters": [
{ "column": "url", "operator": "like", "value": "*example.de*" }
],
"sortby": ["pageviews"],
"sortorder": ["desc"],
"limit": 100
}Filter-Operatoren: like, notlike, greater, less. Wildcards mit * (nicht %).
Projektstruktur
src/
index.ts – Express-App, Streamable-HTTP-Transport, Auth, /healthz
server.ts – MCP-Server- und Tool-Definitionen
kilkaya.ts – HTTP-Client für die Kilkaya-API inkl. 202-Polling
Dockerfile – Multi-Stage-Build (Node 22 Alpine)Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for the Seline Analytics API
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
Analytics for MCP servers. Query your tool calls, first-call success, retries and schema cost.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP Server for interacting with Cube semantic layers that provides tools for querying and describing data from Cube deployments.15GPL 3.0
- MIT
- FlicenseAqualityDmaintenanceMCP server for the WhatsMyBudget Analytics API, providing tools to query budget periods, categories, accounts, and summaries.26-
- AlicenseNot gradedqualityDmaintenanceMCP server for querying Google Analytics accounts, properties, reports, and realtime data using the Data API and Admin API.1Apache 2.0