elicznik-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@elicznik-mcpShow my daily energy consumption for the past week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
elicznik-tauron
Unofficial CLI and MCP server for the Tauron eLicznik portal (https://elicznik.tauron-dystrybucja.pl). Fetch energy consumption, generation and meter readings from the command line or expose them to AI agents via the Model Context Protocol.
Not affiliated with Tauron. Uses the same internal web API the portal uses.
Features
Login via Keycloak form POST (no browser needed); session cookies cached on disk and auto-refreshed.
CLI (
elicznik) to list meters, fetch energy data and register readings.MCP server (
elicznik-mcp, stdio) exposing the same data as tools for MCP clients such as OpenCode or Claude.
Available data:
Data | Resolution |
Consumption / generation / net | hour, day, month, year |
Tariff zone per hour ( | hour |
Cumulative meter register readings | day |
Related MCP server: Enapter MCP Server
Requirements
Python 3.10+ and uv.
Setup
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=123456_123_123Session cookies are cached to elicznik_session.json (gitignored) so you only
log in once; the client re-authenticates automatically when the session expires.
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 energyMetrics: consumption, generation, net_consumption, net_generation.
MCP server
The server exposes four tools:
list_meters— list metering pointsget_energy(metric, start_date, end_date, resolution)— one metric, with a summed total and per-point valuesget_readings(start_date, end_date, resolution)— all four metrics per pointget_meter_readings(start_date, end_date, generation)— cumulative register readings
OpenCode
Add to ~/.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
Add to claude_desktop_config.json:
{
"mcpServers": {
"elicznik": {
"command": "uv",
"args": ["--directory", "/ABSOLUTE/PATH/TO/elicznik-tauron", "run", "elicznik-mcp"]
}
}
}The server reads credentials from .env in the project directory (or from
ELICZNIK_USERNAME / ELICZNIK_PASSWORD environment variables).
Docker
A container image is published to the GitHub Container Registry
(ghcr.io/paszymaja/elicznik-tauron). Credentials are read from the
ELICZNIK_USERNAME / ELICZNIK_PASSWORD environment variables (no .env
needed); the session cache is written to /tmp (ephemeral).
# 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 mcpTo build the image locally:
docker build -t elicznik-tauron .Contract check
Tauron's API is undocumented and can change without notice. contract-check
probes the parts of the API this project depends on and reports, structurally,
whether each still behaves as expected:
uv run elicznik contract-checkIt verifies (in order): the Keycloak login flow, the metering-point list, the hourly CSV export, the chart API, the register-readings API, and the normalized readings — and exits non-zero if any check fails.
Privacy: the output contains only check names and pass/fail flags (plus a generic structural reason on failure). It never prints metering-point identifiers, addresses, usernames, or energy values, so it's safe to run in a public CI pipeline.
Scheduled CI
The .github/workflows/contract-check.yml workflow runs contract-check weekly
(Monday 08:00 UTC) and on demand (workflow_dispatch), using the
ELICZNIK_USERNAME / ELICZNIK_PASSWORD repository secrets. On failure it
opens (or comments on) a contract-check GitHub issue so a Tauron API change
is surfaced without leaking any data.
Development
uv sync --extra mcp
uv run pytestNotes
The portal's TLS server negotiates ciphers that Python's default OpenSSL policy rejects; the client mounts a
DEFAULT@SECLEVEL=1adapter as a workaround (seesession.py).Hourly CSV timestamps label the ending hour; the client normalizes them to start-of-hour timestamps matching the chart API convention.
Timestamps are in local time (Europe/Warsaw), without a timezone offset.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Protocol-native energy infrastructure orchestration for AI data centers. Provides 46 MCP tools across 8 grid protocols (IEC-61850, DNP3, Modbus, OCPP, OpenADR, IEEE 2030.5, IEC 60870-5-104, ICCP) with 5 core API primitives: connect, dispatch, settle, comply, and intel. Enables AI agents to programmatically interact with substations, grid interfaces, and energy assets for real-time workload-grid coordination.
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
471Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
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.1-
- FlicenseNot gradedqualityBmaintenanceExposes Garmin Connect health data (steps, sleep, HR, HRV, stress, activities, etc.) as tools for MCP-compatible clients like Claude.-
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