Elexon

v0.2.2
io.github.pipeworx-io/elexon Checked 1 day ago Published 1 month ago

Elexon BMRS Insights MCP — Great Britain electricity grid & market data.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generation_by_fuel

Great Britain half-hourly electricity generation by fuel type (Elexon BMRS FUELHH dataset). Returns MW generated per fuel (CCGT/gas, COAL, NUCLEAR, WIND, BIOMASS, NPSHYD hydro, PS pumped-storage, OCGT, OIL, and interconnector flows INTFR/INTIRL/etc) for each half-hour settlement period. Keyless. 48 settlement periods per day.

ParameterTypeDescription
from *stringPublish-time start, ISO datetime, e.g. "2024-06-01T00:00Z".
to *stringPublish-time end, ISO datetime, e.g. "2024-06-01T01:00Z".

system_demand

Great Britain half-hourly electricity system demand outturn in MW (Elexon BMRS ITSDO dataset) over a required ISO-datetime window; returns one row per settlement period with settlementDate, settlementPeriod, and demand fields.

ParameterTypeDescription
from *stringStart, ISO datetime, e.g. "2024-06-01T00:00Z".
to *stringEnd, ISO datetime, e.g. "2024-06-01T01:00Z".

elexon_list_datasets

Directory of all 84 Elexon BMRS Insights datasets available to query_dataset: the dataset code, what it holds, and which window parameters its route takes (publish time, from/to, settlement date + period, measurement time, or submission time). Covers generation outturn and forecasts, demand and load, balancing mechanism bids/offers and acceptances, market index prices, system frequency, temperature, credit default and system warning notices, and the REMIT outage messages. Search by keyword to find the code for a subject before calling query_dataset. Keyless.

ParameterTypeDescription
searchstringOptional case-insensitive keyword matched against the dataset code and its title, e.g. "wind", "demand", "price", "forecast". Omit to list all 84.

elexon_system_prices

Great Britain electricity imbalance prices for a settlement day: system buy price and system sell price per settlement period, in GBP/MWh, plus the price derivation code, reserve scarcity price and net imbalance volume (Elexon DISEBSP). This is the cash-out price the balancing market settles at. Keyless. Elexon serves it outside the /datasets routes, so query_dataset cannot reach it.

ParameterTypeDescription
settlement_date *stringSettlement date, e.g. "2026-08-27".
settlement_periodnumberOptional settlement period 1-48. Omit for the whole day (48 rows).

query_dataset

Fetch records from any of the 84 Elexon BMRS Insights datasets by its dataset code (MID market index/day-ahead prices, FUELHH generation by fuel, WINDFOR wind forecast, FREQ system frequency, TEMP temperature, REMIT outages, BOD/BOALF balancing bids and acceptances, and 77 more — call elexon_list_datasets for the directory). Pass a code and a datetime window; the correct window parameters for that dataset are chosen automatically. Keyless. Returns the raw records.

ParameterTypeDescription
dataset *stringDataset code, case-insensitive, e.g. "MID", "FUELHH", "WINDFOR", "FREQ", "REMIT". Use elexon_list_datasets to find one; an unrecognised code is rejected with the full list rather than passed upstream.
from *stringWindow start, ISO datetime. For settlement-date datasets (B1610, MDB, MDO, PN, QPN, TUDM) this is the settlement date and settlement_period is also required.
to *stringWindow end, ISO datetime. Ignored for settlement-date datasets.
date_paramstringRarely needed — the window style is looked up per dataset. Pass "publishDateTime", "from", "settlement" (settlementDateFrom/To, which only FUELHH and FUELINST accept), "settlementDate", "measurement…
settlement_periodnumberSettlement period 1-48. Required only for the settlement-date datasets B1610, MDB, MDO, PN, QPN and TUDM, which Elexon serves one period at a time.