euenergy-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., "@euenergy-mcpwhat are the cheapest hours for Germany today?"
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.
euenergy-mcp
A small Model Context Protocol server that wraps the euenergy.live day-ahead electricity price API as curated, read-only tools for AI agents — hourly prices, the cheapest hours, the current price, and a cross-zone snapshot for ~41 European bidding zones.
Day-ahead market results (sourced from ENTSO-E) are published around midday CEST for the next delivery day and are static thereafter — so the data only changes about once per day. The server caches upstream responses with a long TTL (default 1 hour) keyed by endpoint + params.
Features
Six read-only tools covering the whole API surface: zones, prices (today/tomorrow), the current hour, cheapest hours, a cross-zone summary, and a historical date range.
EUR/MWh and EUR/kWh — every price is surfaced as the raw
price_eur_mwh(exactly as published) and aprice_eur_kwhconvenience value (price / 1000).Never fakes a zero — a missing or unparseable upstream price/load is surfaced as
nullwith awarningsentry andpartial: true, never silently coerced to0.Honest about time — hour timestamps are passed through as UTC, never silently shifted (see the timezone caveat below).
Long-TTL cache keyed by zone + date, appropriate for once-a-day data.
Structured errors — every tool returns
{"error": …, "error_type": …}instead of throwing across the tool boundary.
Related MCP server: germany-mcp-server
Tools
Tool | What it answers |
| The ≈41 bidding zones: |
| Hourly day-ahead prices for a zone. |
| The price for the current UTC hour (and the next hour). |
| The cheapest individual hours today (default 4; upstream clamps to 24) — for load-shifting. |
| Cross-zone snapshot: per-zone average price, average load (MW), and day-over-day change. |
| Hourly prices over a date range ( |
All prices are EUR/MWh on the wire (plus a price_eur_kwh convenience value). All timestamps and
day boundaries are UTC. The server is strictly read-only — no write/control endpoints exist.
Prerequisites
A free euenergy.live API token, minted with your email:
curl -X POST 'https://euenergy.live/api/v1/keys?email=you@example.com&label=euenergy-mcp'The token is returned/emailed; pass it as a Bearer token (the server does this for you). When using this data publicly, attribute "Data via euenergy.live (CC-BY-4.0)".
Docker (recommended) or Python 3.10+.
Configuration
Configuration is entirely via environment variables:
Variable | Required | Default | Description |
| ✅ | — | Your euenergy.live API token. |
|
| API base URL (override only for testing/proxying). | |
|
| HTTP timeout, seconds. | |
|
| Response cache TTL, seconds. Long by design — data changes ~once/day. | |
|
| Port the server listens on. | |
|
| Only affects log readability — prices and timestamps are always UTC. |
The token is read lazily: importing the module never requires it; only making a request does. A missing token fails fast with a clear message.
Put the secret in a secret.env file (git-ignored) for Docker Compose:
EUENERGY_TOKEN=your-euenergy-tokenRunning
Docker Compose (recommended)
docker compose up -d --buildThe MCP endpoint is then available at http://localhost:3000/mcp. Override the host port with
HOST_PORT:
HOST_PORT=8080 docker compose up -d --buildDocker
docker build -t euenergy-mcp .
docker run --rm -p 3000:3000 --env-file secret.env euenergy-mcpLocal (Python)
pip install -r requirements.txt
export EUENERGY_TOKEN=your-euenergy-token
python server.pyConnecting an MCP client
The server speaks streamable HTTP. Point any MCP client at the /mcp endpoint:
{
"mcpServers": {
"euenergy": {
"url": "http://localhost:3000/mcp"
}
}
}How it works
MCP client ──HTTP /mcp──> euenergy MCP (FastMCP) ──> euenergy.live API (v1)
GET /zones
GET /summary/latest
GET /prices/{today,tomorrow}
GET /prices?zone&from&to
GET /cheapest-hoursUnits & timezone caveats
EUR/MWh → EUR/kWh. Prices are published in EUR/MWh. Each tool returns the raw
price_eur_mwh (the source of truth, unrounded) plus a price_eur_kwh convenience value
(price / 1000, rounded to 5 decimal places, banker's rounding). To compare against a home
electricity bill, use the kWh value.
Everything is UTC. Hour timestamps look like 2026-06-22T10:00:00.000Z and the API's "day"
is a UTC calendar day (00:00Z–23:00Z). The day-ahead market itself clears in CET/CEST, so a
zone's local midnight does not line up with hour 0 of the returned day. Timestamps are
surfaced exactly as received — never silently converted. If you need local-hour reasoning, convert
from the UTC ts yourself using the zone's offset (CET = UTC+1, CEST = UTC+2).
Development
pip install -r requirements.txt pytest
pytest -q # network-free unit tests
EUENERGY_TOKEN=... python live_smoke.py # paced end-to-end smoke test against the real APIlive_smoke.py exercises every tool and underlying endpoint against the live API and exits non-zero
if any call fails.
Notes & limitations
Read-only by design — no writes, no control endpoints.
cheapest_hoursandget_current_pricecover today only; useget_prices(zone, "tomorrow")orprice_historyfor other days.price_change_pctinprice_summaryis the fractional change vs the previous published day, as provided by the API (e.g.0.5 ≈ +50%) — passed through verbatim.Data is CC-BY-4.0: attribute "Data via euenergy.live (CC-BY-4.0)" when publishing it.
Not affiliated with euenergy.live.
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.
Latest Blog Posts
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/adambenhassen/euenergy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server