Skip to main content

⚡ Energy MCP Belgium

Structured Belgian electricity-system data for MCP-compatible AI applications.

Energy MCP Belgium exposes read-only MCP tools backed by Elia Open Data, so compatible AI applications can retrieve Belgian generation, load, imbalance and price data without implementing Elia-specific APIs and schemas. The host handles natural language; the server provides structured data and deterministic calculations.

MCP Host
   ↓
Energy MCP Belgium
   ↓
Elia Open Data

Quickstart

Requires Python 3.11+. From a downloaded or cloned checkout:

python -m venv .venv
# Activate the environment: see commands below.
python -m pip install .
energy-mcp-belgium
# Equivalent: python -m energy_mcp_belgium

Activate with .venv\Scripts\Activate.ps1 in PowerShell, or source .venv/bin/activate in a POSIX shell. The server uses stdio: a bare launch waits for MCP input; it is not an interactive chat prompt. The package is not published on PyPI. Install from the checkout or a locally built wheel; no LLM API key is required.

Configure your MCP host to launch the installed command:

{
  "mcpServers": {
    "energy-belgium": {"command": "energy-mcp-belgium", "args": []}
  }
}

The configuration envelope depends on the host. Ensure its PATH includes your environment's executable directory; otherwise use your own absolute installed executable path. See client setup and the Inspector example.

Tools

Tool Purpose
get_solar_generation Belgian national measured/upscaled PV power, MW
get_wind_generation Total, onshore or offshore measured/upscaled wind power, MW
get_load Belgian total load including estimated losses, MW
get_generation_mix Control-area generation preserving both official fuel classifications, MW
get_system_imbalance Physical instantaneous imbalance, MW: positive surplus / negative shortage
get_imbalance_prices Settlement and distinct marginal activation prices, EUR/MWh
calculate_energy Fetch solar/wind/load power and integrate observed energy, MWh
check_data_quality Fetch one series and diagnose coverage, gaps, nulls and grid integrity

Physical imbalance is not an imbalance price. Specify MW for get_system_imbalance, or EUR/MWh for get_imbalance_prices. Hosts should clarify a bare “imbalance” request. Instantaneous system imbalance is not integrated as energy.

Example

A host can translate “Get Belgian solar generation on 17 November 2026, 10:00–11:00 UTC” into:

{
  "name": "get_solar_generation",
  "arguments": {"start": "2026-11-17T10:00:00Z", "end": "2026-11-17T11:00:00Z"}
}

Abbreviated structured response; the first record is shown:

{
  "metadata": {"source": "elia", "dataset_id": "ods209", "unit": "MW", "timezone": "UTC", "resolution_minutes": 15, "record_count": 4},
  "records": [{"timestamp": "2026-11-17T10:00:00Z", "values": {"generation_mw": 293.89}, "dimensions": {"region": "Belgium", "gridconnectiontype": "Total"}, "quality_status": null}]
}

The four-record example was retrieved from Elia on 19 November 2026 and may be revised. Complete responses also contain source URL, retrieval time, query bounds, null counts, status and caveats. See the tool reference.

Other requests for a compatible host:

  • Get Belgian solar generation between 10:00 and 12:00 UTC on 17 November 2026.
  • How much solar energy was produced between 12:00 and 13:00 UTC on that date?
  • What was the Belgian system imbalance in MW during that hour?
  • What was the Belgian imbalance price during that hour?
  • Compare Belgian solar and total wind generation over that period.
  • Is the Belgian total-load series complete for that period?

Tested with real Belgian energy data 🇧🇪

Validated through the official MCP Inspector and bounded live Elia Open Data calls: 8 MCP tools · 6 Elia datasets · read-only access · deterministic analytics. One real MCP-host configuration was also exercised; model selection remains host-dependent. No certification or endorsement is implied.

See validation methodology → · Run the public demo · Recording guide

Time and calculations

Use ISO 8601 with Z or an explicit UTC offset, UTC quarter-hour aligned boundaries, inclusive start / exclusive end, and at most 24 elapsed hours per request. Bounds protect provider infrastructure and client context; nothing is silently truncated. Naive timestamps and numeric Unix timestamps are rejected.

Belgian local days may contain 92, 96 or 100 quarter-hours. Calculations use UTC elapsed time. Split a 25-hour autumn day into requests of at most 24 hours. See time semantics.

calculate_energy fetches its own solar/wind/load source and computes MW × interval hours → MWh in Python. Missing intervals are not filled; coverage accompanies observed energy. Duplicate or irregular timestamps are rejected where integration would be ambiguous. check_data_quality reports expected/received intervals, missing intervals, nulls, duplicate timestamps, off-grid records, coverage and status. Availability is separate from physical plausibility and provider validation. See analytics.

Limitations

  • Only Elia is supported, through local stdio MCP. No forecasts, weather, market actions or SolarCast integration are implemented.
  • Solar uses ods209 from 26 October 2026; legacy solar stitching is not implemented.
  • Historical records can lag, contain nulls or be revised. Separate calls do not share an immutable snapshot.
  • Detailed results can be large: a measured 24-hour generation-mix response contained 1,152 records and approximately 534 KB of MCP result. Prefer one-hour windows for mix and minute imbalance, or analytics when only totals/coverage are needed.
  • Measured client compatibility covers Inspector CLI 2.16.0 (Node 22.23.4) and Codex CLI 0.147.0. Model-driven selection is host-dependent; these are validation examples, not guaranteed behavior for every host/model. No Inspector GUI or remote HTTP deployment is claimed.

Why this exists

Belgian electricity data is published through provider-specific datasets, fields, units and time conventions. Energy MCP Belgium provides a standard tool interface so compatible applications do not need to reimplement those details. Numerical integration belongs in deterministic code rather than model arithmetic.

Documentation and contributing

Software is MIT licensed. Elia data retains its own Elia Open Data Licence; the software license does not cover that data. Contains information from Elia Transmission Belgium SA, normalized with attribution and provenance. No production or security certification is claimed.

SolarCast Belgium focuses on energy forecasting and model benchmarking. Energy MCP Belgium focuses on structured access to Belgian electricity-system data for MCP-compatible applications. There is no dependency or implemented integration between them.

Metadata

Release files for energy-mcp-belgium 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for energy-mcp-belgium 0.1.0
File Size Uploaded Provenance Actions
energy_mcp_belgium-0.1.0.tar.gz 57.5 kB With provenance Details for energy_mcp_belgium-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for energy-mcp-belgium 0.1.0
File Interpreter ABI Platform Actions
energy_mcp_belgium-0.1.0-py3-none-any.whl Python 3 none any Details for energy_mcp_belgium-0.1.0-py3-none-any.whl

Total release size: 77.0 kB

Release files / energy_mcp_belgium-0.1.0.tar.gz

Download URL energy_mcp_belgium-0.1.0.tar.gz
Size 57.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a87e83d6ad2c6ec35bcefd8ba83ab76480e4bf6833534af026d8f1634b68cda1
BLAKE2b-256 checksum
How to use checksums
39557c9dd4af30cc36d1667a6adba4adf3b29f09c9b2a7d0cdaedc2a9257d82c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / energy_mcp_belgium-0.1.0-py3-none-any.whl

Download URL energy_mcp_belgium-0.1.0-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c69d04b7a4185ab6682a69738bbb3c9b20e1765d9b7c37c9f1be59cf7abbf8f
BLAKE2b-256 checksum
How to use checksums
09a364a6d8442f4882c0fcc0cd016ef72069c1172e5043056165c048982d0f12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for energy-mcp-belgium 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for energy_mcp_belgium-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page