elicznik-mcp
elicznik-tauron
CLI y servidor MCP no oficiales para el portal Tauron eLicznik (https://elicznik.tauron-dystrybucja.pl). Obtén el consumo de energía, la generación y las lecturas de contadores desde la línea de comandos, o expón estos datos a agentes de IA mediante el Model Context Protocol.
No está afiliado a Tauron. Usa la misma API web interna que el portal.
Características
Inicio de sesión mediante POST de formulario de Keycloak (no se necesita navegador); las cookies de sesión se guardan en caché en disco y se renuevan automáticamente.
CLI (
elicznik) para listar contadores, obtener datos de energía y registrar lecturas.Servidor MCP (
elicznik-mcp, stdio) que expone los mismos datos como herramientas para clientes MCP como OpenCode o Claude.
Datos disponibles:
Datos | Resolución |
Consumo / generación / neto | hora, día, mes, año |
Zona tarifaria por hora ( | hora |
Lecturas acumulativas del registro del contador | día |
Related MCP server: Enapter MCP Server
Requisitos
Python 3.10+ y uv.
Configuración
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_5842033Las cookies de sesión se guardan en caché en elicznik_session.json (ignorado
por git), de modo que solo tienes que iniciar sesión una vez; el cliente se
reautentica automáticamente cuando la sesión caduca.
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 energyMétricas: consumption, generation, net_consumption, net_generation.
Servidor MCP
El servidor expone cuatro herramientas:
list_meters— lista los putos de medidaget_energy(metric, start_date, end_date, resolution)— una métrica, con un total sumado y valors por putoget_readings(start_date, end_date, resolution)— las cuatro métricas por putoget_meter_readings(start_date, end_date, generation)— lecturas acumulativas del registro
OpeCode
Añade a ~/.config/opencode/opencode.json:
{
"mcp": {
"elicznik": {
"type": "local",
"command": ["uv", "run", "--directory", "/home/paszymaja/github_projects/elicznik-tauron", "elicznik-mcp"],
"enabled": true
}
}
}Claude for Desktop
Añade a claude_desktop_config.json:
{
"mcpServers": {
"elicznik": {
"command": "uv",
"args": ["--directory", "/ABSOLUTE/PATH/TO/elicznik-tauron", "run", "elicznik-mcp"]
}
}
}El servidor lee las credenciales del archivo .env del directorio del proyecto
(o de las variables de entorno ELICZNIK_USERNAME / ELICZNIK_PASSWORD).
Docker
Se publica una imagen de contenedor en el GitHup Container Registry
(ghcr.io/paszymaja/elicznik-tauron). Las credenciales se leen de las variables
de entorno ELICZNIK_USERNAME / ELICZNIK_PASSWORD (no se necesita .env);
la caché de sesión se escibe en /tmp (efímera).
# 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 mcpPara construr la imagen localmente:
docker build -t elicznik-tauron .Desarrolo
uv sync --extra mcp
uv run pytestNotas
El servidor TLS del portal negocia cifrados que la política OpenSSL predeterinada de Pythón rechaza; el cliente monta un adaptador
DEFAULT@SECLEVEL=1como solución alternativa (consultasession.py).Las marcas de tiempo de los CSV horarios indican la hora final; el cliente las normaliza a marcas de tiempo de inicio de hora, de acuerdo con la convención de la API de gráficos.
Las marcas de tiempo están en hora local (Europe/Warsaw), sin desplazamiento de zona horaria.
Licencia
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