elicznik-mcp
elicznik-tauron
Unoffizieller CLI- und MCP-Server für das Tauron eLicznik-Portal (https://elicznik.tauron-dystrybucja.pl). Rufen Sie Energieverbrauch, Energieerzeugung und Zählerstände von der Kommandozeile ab oder stellen Sie sie KI-Agenten über das Model Context Protocol bereit.
Keine Verbindung zu Tauron. Verwendet dieselbe interne Web-API, die auch das Portal verwendet.
Funktionen
Login per Keycloak-Formular-POST (kein Browser nötig); Sitzungscookies werden auf der Festplatte zwischengespeichert und automatisch erneuert.
CLI (
elicznik) zum Auflisten von Messstellen, Abrufen von Energiedaten und Erfassen von Zählerständen.MCP-Server (
elicznik-mcp, stdio), der dieselben Daten als Tools für MCP-Clients wie OpenCode oder Claude bereitstellt.
Verfügbare Daten:
Daten | Auflösung |
Verbrauch / Erzeugung / Netto | hour, day, month, year |
Tarifzone pro Stunde ( | hour |
Kumulierte Zählerstände | day |
Related MCP server: Enapter MCP Server
Voraussetzungen
Python 3.10+ und uv.
Einrichtung
uv sync --extra mcp
cp .env.example .env # then fill in your credentials.env:
ELICZNIK_USERNAME=your-login-or-email
ELICZNIK_PASSWORD=your-password
# Optional: pick a specific metering point if you have more than one
# ELICZNIK_SITE=5842033_61898031_5842033Sitzungscookies werden in elicznik_session.json zwischengespeichert (von Git ignoriert), sodass Sie sich nur einmal anmelden müssen; der Client authentifiziert sich automatisch neu, wenn die Sitzung abläuft.
CLI
# List metering points
uv run elicznik meters
# Hourly consumption for a day (defaults: today, metric=consumption, resolution=hour)
uv run elicznik energy --metric consumption --from 2026-08-24 --to 2026-08-24
# Daily / monthly / yearly totals
uv run elicznik energy --metric consumption --resolution day --from 2026-08-01 --to 2026-08-26
uv run elicznik energy --metric consumption --resolution month --from 2026-01-01 --to 2026-08-26
uv run elicznik energy --metric generation --resolution year --from 2026-01-01 --to 2026-08-26
# Output formats: table (default), csv, json
uv run elicznik energy --metric consumption --resolution day --from 2026-08-01 --to 2026-08-26 --format json
# Cumulative meter register readings (billing readings)
uv run elicznik readings --from 2026-08-01 --to 2026-08-26
uv run elicznik readings --from 2026-08-01 --to 2026-08-26 --generation # returned energyMetriken: consumption, generation, net_consumption, net_generation.
MCP-Server
Der Server stellt vier Tools bereit:
list_meters— listet Messstellen aufget_energy(metric, start_date, end_date, resolution)— eine Metrik, mit einer Gesamtsumme und Werten pro Messstelleget_readings(start_date, end_date, resolution)— alle vier Metriken pro Messstelleget_meter_readings(start_date, end_date, generation)— kumulierte Zählerstände
OpenCode
Fügen Sie Folgendes in ~/.config/opencode/opencode.json ein:
{
"mcp": {
"elicznik": {
"type": "local",
"command": ["uv", "run", "--directory", "/home/paszymaja/github_projects/elicznik-tauron", "elicznik-mcp"],
"enabled": true
}
}
}Claude for Desktop
Fügen Sie Folgendes in claude_desktop_config.json ein:
{
"mcpServers": {
"elicznik": {
"command": "uv",
"args": ["--directory", "/ABSOLUTE/PATH/TO/elicznik-tauron", "run", "elicznik-mcp"]
}
}
}Der Server liest die Zugangsdaten aus .env im Projektverzeichnis (oder aus den Umgebungsvariablen ELICZNIK_USERNAME / ELICZNIK_PASSWORD).
Docker
Ein Container-Image wird im GitHub Container Registry veröffentlicht (ghcr.io/paszymaja/elicznik-tauron). Die Zugangsdaten werden aus den Umgebungsvariablen ELICZNIK_USERNAME / ELICZNIK_PASSWORD gelesen (kein .env erforderlich); der Sitzungscache wird nach /tmp geschrieben (temporär).
# CLI
docker run --rm \
-e ELICZNIK_USERNAME -e ELICZNIK_PASSWORD \
ghcr.io/paszymaja/elicznik-tauron:latest meters
docker run --rm \
-e ELICZNIK_USERNAME -e ELICZNIK_PASSWORD \
ghcr.io/paszymaja/elicznik-tauron:latest \
energy --metric consumption --resolution day --from 2026-08-01 --to 2026-08-26
# MCP server over stdio (note the -i flag for stdin)
docker run -i --rm \
-e ELICZNIK_USERNAME -e ELICZNIK_PASSWORD \
ghcr.io/paszymaja/elicznik-tauron:latest mcpSo erstellen Sie das Image lokal:
docker build -t elicznik-tauron .Entwicklung
uv sync --extra mcp
uv run pytestHinweise
Der TLS-Server des Portals handelt Cipher-Suiten aus, die von der Standard-OpenSSL-Richtlinie von Python abgelehnt werden; der Client bindet als Workaround einen
DEFAULT@SECLEVEL=1-Adapter ein (siehesession.py).Stündliche CSV-Zeitstempel kennzeichnen die endende Stunde; der Client normalisiert sie auf Zeitstempel zum Stundenbeginn, entsprechend der Konvention der Chart-API.
Zeitstempel sind in lokaler Zeit (Europe/Warsaw) angegeben, ohne Zeitzonen-Offset.
Lizenz
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI agents and LLMs access to the Nikola TEST MCP API through standardized MCP tools for seamless integration and interaction.

Enapter MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceMCP server providing tools for AI-agents to interact with Enapter EMS.Apache 2.0- FlicenseNot gradedqualityBmaintenanceA read-only MCP server that exposes European day-ahead electricity prices for ~41 bidding zones via tools like hourly prices, cheapest hours, current price, and cross-zone summary, enabling AI agents to query energy market data.
- FlicenseNot gradedqualityBmaintenanceExposes Garmin Connect health data (steps, sleep, HR, HRV, stress, activities, etc.) as tools for MCP-compatible clients like Claude.
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Paszymaja/elicznik-tauron'
If you have feedback or need assistance with the MCP directory API, please join our Discord server