# Swiss Energy MCP

> Swiss Energy MCP is an open-source MCP server for energy and smart home. Swiss power plants, wind, hydro, solar potential and Energiestadt data, with no API key. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/malkreide/swiss-energy-mcp
- **MCP Registry name:** io.github.malkreide/swiss-energy-mcp
- **Categories:** [energy and smart home](https://ai-powered.com/categories/energy-and-smart-home), [solar energy](https://ai-powered.com/categories/solar-energy)
- **Listing updated:** 2026-11-23

## About

swiss-energy-mcp gives an assistant location-based access to Switzerland's energy infrastructure using open data from the Federal Office of Energy (SFOE/BFE), served through the GeoAdmin REST API and the opendata.swiss catalogue. It needs no authentication. The README's anchor question shows the idea: which power plants lie within 20 km of a particular school, and is the municipality an Energiestadt.

Ten tools cover power plants of every type, wind turbines (manufacturer, model, hub height, annual production), hydropower plants, large PV installations with winter production, biogas plants, municipalities holding the Energiestadt label with score and year, solar suitability of roof segments, and a combined five-layer energy profile for a location. A dataset search covers SFOE publications and a status tool checks both upstream APIs. Coordinates are WGS84 and converted to Swiss LV95 internally.

It installs from PyPI with uvx, needs Python 3.11 or newer, and runs over stdio for Claude Desktop, or over Streamable HTTP for browser use with a CORS allow-list. The code is MIT licensed and the project belongs to a wider portfolio of Swiss open-data servers.

## Features

- **Power plant search:** Find generation plants within a radius, filtered by category.
- **Wind and hydro detail:** Turbine models and hydropower capacity and output.
- **Solar roof potential:** Suitability, area, orientation and slope per roof segment.
- **Energiestadt lookup:** Municipalities with the label, score and audit details.
- **Location energy profile:** Five layers combined into one overview for any Swiss location.
- **Dual transport:** stdio for desktop clients and Streamable HTTP for browser use.

## Good for

- Find power plants near a school or town
- Check whether a municipality is an Energiestadt
- Assess rooftop solar potential at a coordinate
- Search SFOE datasets on a topic such as hydropower
- Build an energy overview of a region for a report

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add swiss-energy-mcp -- uvx swiss-energy-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

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

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add swiss-energy-mcp -- uvx swiss-energy-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.swiss-energy-mcp]
command = "uvx"
args = ["swiss-energy-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user swiss-energy-mcp uvx -- swiss-energy-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

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

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, 8 of 10 tools read data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `energy_find_power_plants` (name suggests: reads): Finds electricity generation plants within a radius.
- `energy_find_wind_turbines` (name suggests: reads): Finds wind turbines with manufacturer, model and hub height.
- `energy_find_hydro_plants` (name suggests: reads): Finds hydropower plants with capacity and expected output.
- `energy_find_pv_installations` (name suggests: reads): Finds large PV installations with annual and winter production.
- `energy_find_biogas_plants` (name suggests: reads): Finds biogas plants.
- `energy_find_energy_cities` (name suggests: reads): Finds municipalities with the Energiestadt label.
- `energy_solar_potential`: Returns solar suitability of roof segments at a location.
- `energy_location_profile`: Returns a combined energy profile for a location.
- `energy_search_bfe_datasets` (name suggests: reads): Searches SFOE datasets on opendata.swiss.
- `energy_check_status` (name suggests: reads): Checks availability of the upstream APIs.

## FAQ

### Does Swiss Energy MCP need an API key?

No. The upstream GeoAdmin and opendata.swiss APIs need no authentication.

### What Python version is needed?

Python 3.11 or newer.

### How is Swiss Energy MCP licensed?

MIT.

### Which coordinates do tools use?

WGS84 latitude and longitude, converted internally to Swiss LV95.

### Is Swiss Energy MCP free?

Yes. Swiss Energy MCP is open source, so you can use and self-host it for free.

### How do I add Swiss Energy MCP to Claude Code?

Run this command in your terminal: claude mcp add swiss-energy-mcp -- uvx swiss-energy-mcp

### What are the best alternatives to Swiss Energy MCP?

The closest alternatives to Swiss Energy MCP are Suntropy Connect, Nexus Agent, Svitgrid, Battery Payback and AI Datacenter Compute-Energy, Grid Arbitrage & Robotics Fleet MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Suntropy Connect](https://ai-powered.com/mcp/suntropy-connect): Suntropy Connect is an MCP server for solar energy.
- [Nexus Agent](https://ai-powered.com/mcp/nexus-agent): Nexus Agent is an open-source MCP server for energy and smart home.
- [Svitgrid](https://ai-powered.com/mcp/svitgrid): Svitgrid is a freemium MCP server for energy and smart home.
- [Battery Payback](https://ai-powered.com/mcp/battery-payback): Battery Payback is a free MCP server for energy and smart home.
- [AI Datacenter Compute-Energy, Grid Arbitrage & Robotics Fleet MCP](https://ai-powered.com/mcp/ai-datacenter-compute-energy-grid-arbitrage-and-robotics-fle): AI Datacenter Compute-Energy, Grid Arbitrage & Robotics Fleet MCP is a freemium MCP server for cloud and infrastructure.
- [AuraFlow Energy Weather](https://ai-powered.com/mcp/auraflow-energy-weather): AuraFlow Energy Weather is an MCP server for maps and travel.
- [enfy.nl energievergelijker (Nederland)](https://ai-powered.com/mcp/enfy-nl-energievergelijker-nederland): enfy.nl energievergelijker (Nederland) is a free MCP server for energy and smart home.
- [myIO Smart Home](https://ai-powered.com/mcp/myio-smart-home): myIO Smart Home is a free MCP server for energy and smart home.

---
Source: https://ai-powered.com/mcp/swiss-energy-mcp
