Skip to content
MCP server

Swiss Energy MCP

Swiss power plants, wind, hydro, solar potential and Energiestadt data, with no API key

Runs locally

Swiss Energy MCP is an open-source MCP server for energy and smart home. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted
Runs
Locally
Version
0.5.2
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add swiss-energy-mcp -- uvx swiss-energy-mcp

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "swiss-energy-mcp": {
      "command": "uvx",
      "args": [
        "swiss-energy-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Swiss Energy MCP

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.

Tools this server provides (10)

Taken from the project documentation; the running server may differ.

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_plantsName suggests: reads
Finds electricity generation plants within a radius.
energy_find_wind_turbinesName suggests: reads
Finds wind turbines with manufacturer, model and hub height.
energy_find_hydro_plantsName suggests: reads
Finds hydropower plants with capacity and expected output.
energy_find_pv_installationsName suggests: reads
Finds large PV installations with annual and winter production.
energy_find_biogas_plantsName suggests: reads
Finds biogas plants.
energy_find_energy_citiesName 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_datasetsName suggests: reads
Searches SFOE datasets on opendata.swiss.
energy_check_statusName suggests: reads
Checks availability of the upstream APIs.

What it does

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

Pricing

Open source

MIT licence; no API key required

Swiss Energy MCP 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.

How AIPoweredBot checks servers