MCP Marketplace
BrowseHow It WorksFor CreatorsDocs
Sign inSign up
MCP Marketplace

The curated, security-first marketplace for AI tools.

Product

Browse ToolsSubmit a ToolDocumentationHow It WorksBlogFAQ

Legal

Terms of ServicePrivacy PolicyCommunity Guidelines

Connect

support@mcp-marketplace.ioTwitter / XDiscord

MCP Marketplace Β© 2026. All rights reserved.

Back to Browse

Swiss Energy MCP Server

by Malkreide
Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Swiss energy data via SFOE/BFE and GeoAdmin REST APIs

About

Swiss energy data via SFOE/BFE and GeoAdmin REST APIs

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 3 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.

5 files analyzed Β· 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

How to Install

Add this to your MCP configuration file:

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

Documentation

View on GitHub

From the project's GitHub README.

πŸ‡¨πŸ‡­ Part of the Swiss Public Data MCP Portfolio

⚑ swiss-energy-mcp

Version License: MIT Python 3.11+ MCP Data Source Tests CI

MCP server for Swiss energy data from the Federal Office of Energy (SFOE/BFE) via GeoAdmin REST API and opendata.swiss β€” no API key required.

πŸ‡©πŸ‡ͺ Deutsche Version


Overview

swiss-energy-mcp gives AI assistants structured, location-based access to Switzerland's energy infrastructure. Built on open geodata from the Swiss Federal Office of Energy (SFOE/BFE) via the GeoAdmin REST API and the opendata.swiss catalogue β€” completely authentication-free.

The server is part of a growing portfolio of Swiss open data MCP servers. Think of it as the energy atlas counterpart to swiss-road-mobility-mcp: while the latter maps mobility, this server maps where Switzerland produces electricity, where solar potential exists, and which municipalities hold the "Energiestadt" label.

Anchor demo query: "Which power plants are within 20 km of the school in WΓ€denswil β€” and is the municipality an Energiestadt?"


Features

  • πŸ” 10 ready-to-use tools covering all major energy data layers from SFOE/BFE
  • ⚑ Power plants β€” all types: photovoltaic, hydro, wind, biomass, nuclear, with optional category filter
  • πŸ’¨ Wind turbines β€” detailed data incl. manufacturer, model, hub height, annual production
  • πŸ’§ Hydropower plants β€” type, status, turbine capacity, expected annual output
  • β˜€οΈ PV large installations β€” project name, capacity, annual/winter production, altitude
  • 🌿 Biogas plants β€” plant name, output
  • πŸ™οΈ EnergiestΓ€dte β€” municipalities with the Swiss "Energiestadt" label (score, year awarded, audits)
  • 🏠 Solar roof potential β€” suitability category, area, orientation, and slope per roof segment
  • πŸ“Š Location energy profile β€” combines 5 layers into a single overview for any Swiss location
  • πŸ—‚οΈ SFOE dataset search β€” full-text search across SFOE publications on opendata.swiss
  • βœ… Status check β€” verifies availability of both upstream APIs
  • ☁️ Dual transport β€” stdio for Claude Desktop, Streamable HTTP for cloud deployment

Prerequisites

  • Python 3.11+
  • uv (recommended) or pip

Installation

Claude Desktop (stdio transport)

Add to your claude_desktop_config.json:

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

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Local development

git clone https://github.com/malkreide/swiss-energy-mcp.git
cd swiss-energy-mcp
uv sync
uv run swiss-energy-mcp

Cloud / HTTP transport (Streamable HTTP)

For use via claude.ai in the browser (e.g. on managed workstations without local software):

SWISS_ENERGY_TRANSPORT=http uvx swiss-energy-mcp

πŸ’‘ "stdio for the developer laptop, HTTP for the browser."


Quickstart

Once connected in Claude Desktop, try:

What power plants are within 20 km of Bern?
Show me all wind turbines in the Jura region.
Is ZΓΌrich an Energiestadt? What's their score?
What is the solar potential of rooftops near lat=47.37, lon=8.54?
Give me a full energy profile for the region around Lucerne.
Find SFOE datasets about hydropower.

Available Tools

ToolDescription
energy_find_power_plantsAll electricity generation plants within a radius (optional category filter)
energy_find_wind_turbinesWind turbines with manufacturer, model, hub height
energy_find_hydro_plantsHydropower plants with capacity and expected output
energy_find_pv_installationsLarge PV installations with annual/winter production
energy_find_biogas_plantsBiogas plants
energy_find_energy_citiesMunicipalities with "Energiestadt" label
energy_solar_potentialSolar suitability of roof segments at a location
energy_location_profileCombined energy profile (5 layers) for a location
energy_search_bfe_datasetsFull-text search over SFOE datasets on opendata.swiss
energy_check_statusCheck availability of GeoAdmin and opendata.swiss APIs

All tools accept WGS84 coordinates (lat/lon). Conversion to Swiss LV95 is handled internally.

Example Use Cases

QueryTool
"Power plants near Bern (20 km radius)?"energy_find_power_plants
"Wind turbines in the Jura?"energy_find_wind_turbines
"Is ZΓΌrich an Energiestadt?"energy_find_energy_cities
"Solar potential of rooftops near lat=47.37, lon=8.54?"energy_solar_potential
"Full energy profile for Lucerne region?"energy_location_profile
"SFOE datasets on hydropower?"energy_search_bfe_datasets

β†’ More use cases by audience β†’


Data Sources

SourceURLAuth
GeoAdmin REST API (swisstopo)api3.geo.admin.chNone
opendata.swiss CKAN APIopendata.swiss/api/3/actionNone

BFE Layers used:

  • ch.bfe.elektrizitaetsproduktionsanlagen
  • ch.bfe.windenergieanlagen
  • ch.bfe.statistik-wasserkraftanlagen
  • ch.bfe.photovoltaik-grossanlagen
  • ch.bfe.biogasanlagen
  • ch.bfe.energiestaedte
  • ch.bfe.solarenergie-eignung-daecher

Configuration

All variables use the SWISS_ENERGY_ prefix and are validated at startup.

Environment variableDefaultDescription
SWISS_ENERGY_TRANSPORTstdioTransport mode: stdio or http
SWISS_ENERGY_HOST127.0.0.1Host for HTTP transport. Bind 0.0.0.0 only inside a container.
SWISS_ENERGY_PORT8000Port for HTTP transport
SWISS_ENERGY_CORS_ORIGINShttps://claude.aiComma-separated allowed CORS origins (HTTP transport)
SWISS_ENERGY_LOG_LEVELINFOLog level: DEBUG / INFO / WARNING / ERROR
SWISS_ENERGY_HTTP_TIMEOUT20Upstream HTTP timeout in seconds

See .env.example for a template.


MCP Protocol Version

This server targets the MCP protocol version shipped with the pinned mcp SDK (mcp[cli] >= 1.20.0). SDK updates arrive monthly via Dependabot; protocol-version changes are recorded in CHANGELOG.md.

MCP Primitives

The server uses all three MCP primitives:

  • Tools β€” 10 read-only tools (see above). Every search tool returns an EnergyResponse envelope: structured results plus a Markdown summary, explicit source / license attribution, and a match_type field.
  • Resource β€” energy://layers, the static catalogue of BFE GeoAdmin layers.
  • Prompt β€” energy_site_assessment, a guided location-analysis template.

Development Phase

The server is in Phase 1 (read-only). See docs/roadmap.md for the phased architecture and docs/security.md for the egress allow-list, SSRF protection and trifecta assessment.


Safety & Limits

AspectDetails
AccessRead-only (readOnlyHint: true) β€” the server cannot modify or delete any data
Personal dataNo personal data β€” all sources are aggregated, public infrastructure data
Rate limitsBuilt-in per-query caps (max 50 search results, default 5 km radius)
Timeout20 seconds per API call
AuthenticationNo API keys required β€” both APIs are publicly accessible
LicensesAll data under open licenses via opendata.swiss (OGD)
Terms of ServiceSubject to ToS of the respective data sources: GeoAdmin, opendata.swiss, SFOE/BFE

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Claude / AI   │────▢│   Swiss Energy MCP        │────▢│  SFOE / BFE Open Data    β”‚
β”‚   (MCP Host)    │◀────│   (MCP Server)            │◀────│                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚                           β”‚     β”‚  GeoAdmin REST API       β”‚
                        β”‚  10 Tools                 β”‚     β”‚  (api3.geo.admin.ch)     β”‚
                        β”‚  Stdio | HTTP             β”‚     β”‚                          β”‚
                        β”‚                           β”‚     β”‚  opendata.swiss CKAN     β”‚
                        β”‚  server.py (FastMCP)      β”‚     β”‚  (opendata.swiss)        β”‚
                        β”‚  api_client.py            β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚   LV95 conversion         β”‚
                        β”‚   GeoAdmin queries        β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Infrastructure Components

ComponentMetaphorFunction
api_client.pySwitchboardHandles HTTP requests, coordinate conversion, error handling
LV95 converterTranslatorConverts WGS84 (lat/lon) to Swiss coordinate system
server.pyStorefrontExposes all 10 tools via FastMCP

Project Structure

swiss-energy-mcp/
β”œβ”€β”€ src/
β”‚   └── swiss_energy_mcp/
β”‚       β”œβ”€β”€ server.py          # FastMCP setup, lifespan, entry point
β”‚       β”œβ”€β”€ settings.py        # Typed configuration (pydantic-settings)
β”‚       β”œβ”€β”€ logging_config.py  # Structured JSON logging to stderr
β”‚       β”œβ”€β”€ api_client.py      # HTTP client, egress guard, LV95 conversion
β”‚       β”œβ”€β”€ models.py          # Pydantic input/output models
β”‚       β”œβ”€β”€ formatting.py      # Markdown summary builders
β”‚       β”œβ”€β”€ resources.py       # Layer-catalogue resource + prompt
β”‚       └── tools/             # One module per tool group
β”‚           β”œβ”€β”€ installations.py   # power, wind, hydro, PV, biogas
β”‚           β”œβ”€β”€ places.py          # solar, Energiestadt, location profile
β”‚           └── catalog.py         # dataset search, status
β”œβ”€β”€ tests/
β”‚   β”œβ”€β”€ test_unit.py         # Pure-unit tests (coords, formatting, egress)
β”‚   β”œβ”€β”€ test_tools.py        # Tool tests with respx-mocked APIs
β”‚   └── test_live.py         # Live integration tests (marked `live`)
β”œβ”€β”€ docs/                    # roadmap.md, security.md
β”œβ”€β”€ Dockerfile               # Multi-stage build, non-root user
β”œβ”€β”€ pyproject.toml
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ CONTRIBUTING.md          # Contribution guide (English)
β”œβ”€β”€ CONTRIBUTING.de.md       # Contribution guide (German)
β”œβ”€β”€ SECURITY.md              # Security policy (English)
β”œβ”€β”€ SECURITY.de.md           # Security policy (German)
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md                # This file (English)
└── README.de.md             # German version

Known Limitations

  • GeoAdmin radius search: Maximum search radius depends on layer density; very large radii may return partial results
  • Solar potential: Layer ch.bfe.solarenergie-eignung-daecher covers building footprints β€” not all roof types are classified
  • Energiestadt: Only municipalities with active label are included; historical entries may be incomplete
  • opendata.swiss CKAN: Full-text search covers metadata only, not document contents

Testing

# Unit tests (no API key required)
PYTHONPATH=src pytest tests/ -m "not live"

# Live integration tests (network access required)
PYTHONPATH=src pytest tests/ -m "live"

Changelog

See CHANGELOG.md


Contributing

See CONTRIBUTING.md (πŸ‡©πŸ‡ͺ Deutsch)


Security

See SECURITY.md (πŸ‡©πŸ‡ͺ Deutsch) for the security policy and posture summary, and docs/security.md for the full technical security model.


License

MIT License β€” see LICENSE


Author

Hayal Oezkan Β· malkreide


Credits & Related Projects

  • Data: SFOE/BFE via GeoAdmin β€” Swiss Federal Office of Energy
  • Data: opendata.swiss β€” Swiss Open Government Data portal
  • Protocol: Model Context Protocol β€” Anthropic / Linux Foundation
  • Related: swiss-road-mobility-mcp β€” MCP server for Swiss mobility data
  • Related: zurich-opendata-mcp β€” MCP server for Zurich city open data
  • Portfolio: Swiss Public Data MCP Portfolio

Reviews

No reviews yet

Be the first to review this server!

0

installs

New

no ratings yet

Is this your server?

Claim ownership to manage your listing, respond to reviews, and track installs from your dashboard.

Claim with GitHub

Sign up with the GitHub account that owns this repo

Links

Source CodeDocumentationPyPI Package

Details

Published June 7, 2026
Version 0.3.3
0 installs
Local Plugin

More Developer Tools MCP Servers

Git

Free

by Modelcontextprotocol Β· Developer Tools

Read, search, and manipulate Git repositories programmatically

80.0K
Stars
4
Installs
6.5
Security
No ratings yet
Local

Fetch

Free

by Modelcontextprotocol Β· Developer Tools

Web content fetching and conversion for efficient LLM usage

80.0K
Stars
4
Installs
5.3
Security
No ratings yet
Local

Toleno

Free

by Toleno Β· Developer Tools

Toleno Network MCP Server β€” Manage your Toleno mining account with Claude AI using natural language.

137
Stars
496
Installs
8.0
Security
4.8
Local

mcp-creator-python

Free

by mcp-marketplace Β· Developer Tools

Create, build, and publish Python MCP servers to PyPI β€” conversationally.

-
Stars
68
Installs
10.0
Security
4.6
Local

MarkItDown

Free

by Microsoft Β· Content & Media

Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption

120.0K
Stars
24
Installs
6.0
Security
5.0
Local

FinAgent

Free

by mcp-marketplace Β· Finance

Free stock data and market news for any MCP-compatible AI assistant.

-
Stars
17
Installs
10.0
Security
No ratings yet
Local