Swiss Energy MCP logo

Swiss Energy MCP

Query Swiss energy infrastructure, solar potential, Energiestadt municipalities, and SFOE datasets through MCP.

Install Swiss Energy MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "swiss-energy-mcp": {
      "command": "uvx",
      "args": [
        "swiss-energy-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio swiss-energy-mcp -- uvx swiss-energy-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx swiss-energy-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

swiss-energy-mcp connects AI assistants to Swiss Federal Office of Energy data through the GeoAdmin REST API and opendata.swiss. Its ten MCP tools query electricity plants, wind, hydropower, photovoltaic and biogas installations, Energiestadt municipalities, roof suitability, location profiles, datasets, and upstream API status. Queries use WGS84 latitude and longitude, while the server handles conversion to Swiss LV95 coordinates. Reach for it when an agent needs location-based energy information for Switzerland without an API key.

Use cases

  • Find power plants within a radius of a Swiss location
  • Compare wind turbines and hydropower facilities by region
  • Check solar suitability for roof segments
  • Identify municipalities with the Energiestadt label
  • Search SFOE datasets about a specific energy topic

Key features

  • Swiss energy infrastructure queries
  • WGS84 coordinate support with internal LV95 conversion
  • Solar roof suitability data
  • Combined five-layer location profiles
  • SFOE dataset search
  • Stdio and Streamable HTTP transports

Tools10

What Swiss Energy MCP lets your agent do. Expand a tool for its parameters.

Self-reported~182 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · swiss-energy-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed10Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Swiss Energy MCP works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Swiss Energy MCP

swiss-energy-mcp is an MCP server that connects AI assistants to Swiss Federal Office of Energy data through the GeoAdmin REST API and opendata.swiss. Its main tools find power plants, wind, hydro, PV, and biogas facilities; assess solar roof potential; profile locations; search SFOE datasets; and check API availability.

Install it with Python 3.11+ using uv or pip; uv is recommended. For local development, clone the repository, run `uv sync`, and start it with `uv run swiss-energy-mcp`. A package installation can also start it through `uvx swiss-energy-mcp`.

Add `uvx` as the command and `swiss-energy-mcp` as its argument in Claude Desktop's `mcpServers` configuration. The server uses stdio by default, and the configuration file is stored under the Claude Desktop application-data directory on macOS or Windows.

Yes, swiss-energy-mcp supports Streamable HTTP. Set `SWISS_ENERGY_TRANSPORT=http` when starting the package; host, port, CORS origins, allowed hosts, logging, and upstream timeout are configurable through `SWISS_ENERGY_` environment variables.

No, the GeoAdmin REST API and opendata.swiss CKAN API are used without authentication. The `energy_check_status` tool can check whether both upstream services are available.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSwiss Energy MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/swiss-energy-mcp?style=directory)](https://allmcps.com/mcp/swiss-energy-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/swiss-energy-mcp"><img src="https://allmcps.com/api/badge/swiss-energy-mcp?style=directory" alt="Swiss Energy MCP on AllMCPs" /></a>