# swiss-energy-mcp [Health: Active]

**Category:** 🌳 Environment & Nature  
**Repository:** https://github.com/malkreide/swiss-energy-mcp  
**GitHub Stars:** 0  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/swiss-energy-mcp

## Description
Swiss energy data via SFOE/BFE and GeoAdmin REST APIs

## Tools
Capabilities this server exposes over MCP:

- **energy_find_power_plants** — All electricity generation plants within a radius (optional category filter)
- **energy_find_wind_turbines** — Wind turbines with manufacturer, model, hub height
- **energy_find_hydro_plants** — Hydropower plants with capacity and expected output
- **energy_find_pv_installations** — Large PV installations with annual/winter production
- **energy_find_biogas_plants** — Biogas plants
- **energy_find_energy_cities** — Municipalities with "Energiestadt" label
- **energy_solar_potential** — Solar suitability of roof segments at a location
- **energy_location_profile** — Combined energy profile (5 layers) for a location
- **energy_search_bfe_datasets** — Full-text search over SFOE datasets on opendata.swiss
- **energy_check_status** — Check availability of GeoAdmin and opendata.swiss APIs

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "swiss-energy-mcp": {
    "command": "uvx",
    "args": ["swiss-energy-mcp"]
  }
}
```

## Documentation

## What swiss-energy-mcp does

Swiss energy infrastructure becomes queryable through MCP using public data from the Swiss Federal Office of Energy (SFOE/BFE). The server covers electricity generation plants, wind turbines, hydropower, large photovoltaic installations, biogas plants, municipalities holding the Energiestadt label, and solar suitability for roof segments.

It also provides a combined location profile spanning five energy data layers, full-text search across SFOE datasets published in the opendata.swiss catalogue, and an availability check for the GeoAdmin and opendata.swiss APIs. The upstream services require no API key.

## How it works

All tools accept WGS84 coordinates as latitude and longitude. swiss-energy-mcp converts those coordinates to the Swiss LV95 reference system internally before querying the relevant GeoAdmin layers. Radius-based searches can return electricity generation plants near a location, with an optional category filter.

The data comes from the GeoAdmin REST API at `api3.geo.admin.ch` and the opendata.swiss CKAN API. Relevant GeoAdmin layers include electricity production facilities, wind energy installations, hydropower statistics, large photovoltaic installations, biogas plants, Energiestadt municipalities, and roof solar suitability.

The server supports two transports. Stdio is intended for local connections such as Claude Desktop, while Streamable HTTP supports browser or cloud deployments. The HTTP mode exposes configurable host, port, CORS, host-allow-list, logging, and upstream timeout settings.

## Setup and configuration

Python 3.11 or newer is required. `uv` is the recommended package tool, although `pip` is also supported. For a local development checkout, clone the repository, enter its directory, run `uv sync`, and start the package with `uv run swiss-energy-mcp`.

A Claude Desktop connection can use `uvx swiss-energy-mcp` as its command, with the package name passed as the argument. For Streamable HTTP, set `SWISS_ENERGY_TRANSPORT=http` before starting the package. The default transport is stdio; HTTP defaults include loopback host binding and port 8000. CORS origins, inbound host restrictions, log level, and the upstream request timeout can be adjusted with the `SWISS_ENERGY_` environment variables.

## Tools and capabilities

- `energy_find_power_plants` searches generation plants within a radius and can filter by category.
- `energy_find_wind_turbines` returns turbine details including manufacturer, model, and hub height.
- `energy_find_hydro_plants` reports hydropower capacity and expected output.
- `energy_find_pv_installations` finds large PV projects with annual and winter production data.
- `energy_find_biogas_plants` locates biogas plants.
- `energy_find_energy_cities` finds municipalities with the Energiestadt label.
- `energy_solar_potential` evaluates roof segments by suitability, area, orientation, and slope.
- `energy_location_profile` combines five energy layers for a location.
- `energy_search_bfe_datasets` performs full-text searches over SFOE datasets on opendata.swiss.
- `energy_check_status` checks both upstream APIs.

_Full upstream README: https://allmcps.com/mcp/swiss-energy-mcp/readme_

