Skip to main content
Glama
malkreide

swiss-electricity-mcp

by malkreide

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SWISS_ELECTRICITY_ENVNoDeployment environment attribute for tracesunknown
SWISS_ELECTRICITY_HOSTNoHTTP bind host127.0.0.1
SWISS_ELECTRICITY_PORTNoHTTP port8000
OTEL_EXPORTER_OTLP_ENDPOINTNoOpenTelemetry endpoint (unset disables tracing)
SWISS_ELECTRICITY_LOG_LEVELNoLog levelINFO
SWISS_ELECTRICITY_TRANSPORTNoTransport mode: stdio or streamable-httpstdio
SWISS_ELECTRICITY_CORS_ORIGINSNoComma-separated allowed CORS origins

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
dashboard_get_production_mixA

Get the Swiss electricity production mix (Kernkraft, Wasserkraft, PV, Wind ...) by year, with absolute TWh and percentage shares. Source: Energiedashboard.ch (BFE).

dashboard_get_consumption_forecastB

Get current Swiss national electricity consumption forecast: today's value, 5-day-ahead forecast, trend signal, and 5-year-window comparison series. Source: Energiedashboard.ch (BFE).

dashboard_get_storage_lakesA

Get storage-lake (Speichersee) fill level for Switzerland or a region: current fill in % and GWh, 5-year envelope, full time series. Critical indicator for winter supply security.

dashboard_get_consumer_price_indexA

Get the Endverbraucher-Strompreis-Index (consumer electricity price index, indexed to 2020-01-01 = 100). Monthly time series.

tariff_list_categoriesA

List the standard ElCom Verbrauchskategorien (H1-H8 households, C1-C7 commercial). Use C3 for typical school buildings (~150'000 kWh/year). Static data, no upstream call.

tariff_get_by_municipalityA

Get ElCom tariff observations for a Swiss municipality (BFS-Nr). Returns total rate in Rp./kWh broken down by energy, grid usage, public charges (KEV, Abgaben). Filterable by category (e.g. C3 for schools) and year range. Example: bfs_nr=261 for Zuerich, category='C3', period_from=2019.

tariff_get_median_swissA

Get Swiss median electricity tariff (across all distribution operators) by year and category. Useful as benchmark for individual municipality tariffs.

tariff_get_median_cantonA

Get cantonal median electricity tariff. Useful to position a municipality against its canton. Pass canton name in German (e.g. 'Zuerich', 'Bern').

tariff_compare_municipalitiesA

Compare electricity tariffs across multiple municipalities (BFS-Nrs) for one category and year. One row per (municipality, operator). Useful for procurement, benchmarking, school-network analysis.

consumption_search_bfe_datasetsA

Search opendata.swiss CKAN for energy / electricity datasets. Filter by BFE organisation. Use to find raw datasets not covered by other tools.

consumption_search_zurichA

Search the Stadt Zuerich OGD catalogue for energy datasets, including the quarter-hour consumption time series for grid levels NE5 and NE7.

electricity_check_statusA

Check liveness of all four upstream sources. Returns HTTP status, latency, and an overall-healthy flag.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/malkreide/swiss-electricity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server