malkreide avatar

Swiss Electricity Mcp

malkreide/swiss-electricity-mcp

Connects Claude to three official Swiss electricity data sources: the BFE Energiedashboard for live production mix and storage lake levels, ElCom tariffs via LINDAS SPARQL for municipal pricing breakdowns by consumption category, and CKAN endpoints on opendata.swiss for dataset discovery. You get 12 tools covering everything from national consumption forecasts to side-by-side municipal tariff comparisons. The anchor use case is tracking how a specific building's electricity costs have evolved over time compared to cantonal or national medians. No authentication required, all public OGD. Includes structured logging, optional OpenTelemetry tracing, and per-source caching tuned to update cadence. Ships with stdio for Claude Desktop and a streamable HTTP mode for cloud deployment.

tools
12
transport
STDIO
last updated
Sep 27, 2026

Tools

12 tools

Public tool metadata for what this MCP can expose to an agent.

dashboard_get_production_mixProduction mix by year (TWh + %): Kernkraft, Wasserkraft, PV, Wind, thermal.

Production mix by year (TWh + %): Kernkraft, Wasserkraft, PV, Wind, thermal.

No parameter schema in public metadata yet.

dashboard_get_consumption_forecastCurrent consumption forecast + 5-day outlook + 5-year envelope.

Current consumption forecast + 5-day outlook + 5-year envelope.

No parameter schema in public metadata yet.

dashboard_get_storage_lakesSpeichersee fill level (CH or per region: Wallis, Tessin, Graubünden, Zentral/Ost) — critical winter-supply indicator.

Speichersee fill level (CH or per region: Wallis, Tessin, Graubünden, Zentral/Ost) — critical winter-supply indicator.

No parameter schema in public metadata yet.

dashboard_get_consumer_price_indexEndverbraucher-Strompreis-Index (2020-01-01 = 100).

Endverbraucher-Strompreis-Index (2020-01-01 = 100).

No parameter schema in public metadata yet.

tariff_list_categoriesH1–H8 (households) and C1–C7 (commercial). C3 ≈ 150'000 kWh/a is the typical reference for school buildings.

H1–H8 (households) and C1–C7 (commercial). C3 ≈ 150'000 kWh/a is the typical reference for school buildings.

No parameter schema in public metadata yet.

tariff_get_by_municipalityTariffs for a BFS-Nr + category + year range, broken into energy / grid usage / KEV / Abgaben.

Tariffs for a BFS-Nr + category + year range, broken into energy / grid usage / KEV / Abgaben.

No parameter schema in public metadata yet.

tariff_get_median_swissNational median benchmark.

National median benchmark.

No parameter schema in public metadata yet.

tariff_get_median_cantonCantonal median (e.g. for Kanton Zürich).

Cantonal median (e.g. for Kanton Zürich).

No parameter schema in public metadata yet.

tariff_compare_municipalitiesCompare up to 20 municipalities side-by-side.

Compare up to 20 municipalities side-by-side.

No parameter schema in public metadata yet.

consumption_search_bfe_datasetsCKAN search across BFE-published datasets.

CKAN search across BFE-published datasets.

No parameter schema in public metadata yet.

consumption_search_zurichCKAN search across Stadt Zürich OGD (includes quarter-hour NE5/NE7 consumption).

CKAN search across Stadt Zürich OGD (includes quarter-hour NE5/NE7 consumption).

No parameter schema in public metadata yet.

electricity_check_statusLiveness probe across all four upstreams (HTTP status + latency + overall-healthy flag).

Liveness probe across all four upstreams (HTTP status + latency + overall-healthy flag).

No parameter schema in public metadata yet.

Sponsors

Readme

swiss-electricity-mcp

MCP server for Swiss electricity data — three official sources, twelve tools, zero authentication.

CI PyPI Python License: MIT

🌍 Read this in your language: 🇩🇪 Deutsch

Part of the Swiss Public Data MCP Portfolio — a coordinated set of MCP servers for Swiss public administration.


Anchor demo query

"How have ewz electricity tariffs for a typical school building (consumption category C3, ≈150'000 kWh/a) developed since 2019, and how do they compare to the Swiss median?"


View the full README on GitHub

Details

Repository
github.com/malkreide/swiss-electricity-mcp
Website
github.com/malkreide/swiss-electricity-mcp
Category
Data & Analytics
Package
swiss-electricity-mcp
Transport
STDIO
Registry
MCP registry, active

More from malkreide

Related Data & Analytics MCP servers

View all
1optisol-business avatarDb Metadata Extractor Mcpoptisol-business/db-metadata-extractor-mcpExtract database metadata from PostgreSQL, Snowflake, SQL Server, BigQuery, and Oracle.0stars
2rflukerii-dev avatarDocbot Mcprflukerii-dev/docbot-mcpBidirectional CSV <> JSON <> Markdown transformer0stars
3www avatarToolssite.jiebang.www/tools20 free dev tools: JSON/YAML, XML/SQL, Cron, SEO, QR code, URL shortener, cron tasks, files0stars
4stagproject avatarMirelia Patent Marketstagproject/mirelia-patent-marketAI-optimized patent data marketplace providing structured JSON datasets.0stars
5subhatta123 avatarTwilizesubhatta123/twilizeGenerate Tableau .twb/.twbx workbooks: 47 tools for charts, dashboards, rules, CSV pipelines.0stars
6rambov1 avatarSivut SEC Crypto Filing Radarrambov1/sivut-x402-public-dataSEC EDGAR crypto filing radar MCP with x402-paid Base USDC data URLs.0stars