swiss-electricity-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SWISS_ELECTRICITY_ENV | No | Deployment environment attribute for traces | unknown |
| SWISS_ELECTRICITY_HOST | No | HTTP bind host | 127.0.0.1 |
| SWISS_ELECTRICITY_PORT | No | HTTP port | 8000 |
| OTEL_EXPORTER_OTLP_ENDPOINT | No | OpenTelemetry endpoint (unset disables tracing) | |
| SWISS_ELECTRICITY_LOG_LEVEL | No | Log level | INFO |
| SWISS_ELECTRICITY_TRANSPORT | No | Transport mode: stdio or streamable-http | stdio |
| SWISS_ELECTRICITY_CORS_ORIGINS | No | Comma-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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool has a distinct purpose: dashboard tools cover different aspects of energy data, tariff tools handle various tariff queries, consumption search tools target specific catalogs, and health check is unique. No overlapping responsibilities.
All tools follow a consistent verb_noun pattern with snake_case, using prefixes like dashboard_, tariff_, consumption_search_, and electricity_. No mixed conventions.
12 tools is well-scoped for the Swiss electricity domain, covering production, consumption, storage, pricing, tariffs, dataset search, and system health. Each tool has a clear role.
The set covers key areas well (production mix, consumption forecast, storage, tariffs, dataset search). Minor gaps like historical consumption time series are mitigated by dataset search tools that can find additional data.