swiss-environment-mcp
swiss-environment-mcp exposes read-only MCP tools for Swiss environmental data and guideline checks, with no API keys required.
Air quality: list NABEL stations, retrieve station metadata/data links, and compare pollutant values against Swiss LRV and WHO 2021 limits.
Hydrology: list gauging stations by water body, get current level/flow/temperature, access latest value plus historical-data request path, check nationwide flood warnings, and query bathing-water quality.
Natural hazards: route hazard questions to live tools/official portals, and retrieve wildfire danger by canton/region.
Snow and avalanches: list SLF/IMIS stations, get snow depth/new snow, and retrieve avalanche danger levels by region.
Hunting: list tracked species and query cull/game-loss/population statistics by species, canton, year, and data type.
Open data: search BAFU datasets on opendata.swiss and retrieve dataset metadata/download links.
Aircraft noise: look up noise exposure at an LV95 point, list noise cadastre registers with validity dates, and compare dB levels against LSV limits (civil only).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@swiss-environment-mcp What is the air quality at ZΓΌrich-Kaserne?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π¨π Part of the Swiss Public Data MCP Portfolio
πΏ swiss-environment-mcp
MCP server connecting AI models to Swiss environmental data from BAFU β air quality, hydrology, natural hazards, wildfire danger and open environmental datasets.
Overview
swiss-environment-mcp gives AI assistants like Claude direct access to real-time environmental data from Swiss federal authorities β no API keys required. Air quality readings from the national NABEL monitoring network, hydrological gauging stations, natural-hazard data (flood warnings, avalanche bulletin, forest-fire danger), and the full BAFU dataset catalogue are all accessible through a single standardised MCP interface.
The server covers four thematic clusters: air quality (NABEL), hydrology, natural hazards, and the BAFU open data catalogue. Each cluster maps to a group of purpose-built tools that translate raw agency data into clean JSON responses.
Anchor demo query: "What is the current air quality at the NABEL station ZΓΌrich-Kaserne β and does it comply with WHO 2021 guidelines?" β More use cases by audience β
Related MCP server: jiskta-mcp
Features
π¬οΈ Air quality monitoring β 16 NABEL stations, NOβ/Oβ/PM10/PM2.5/SOβ/CO, Swiss LRV + WHO 2021 limit checks
π§ Hydrology β water levels, flow rates, temperatures across Swiss gauging stations
π¨ Flood warnings β active alerts filtered by danger level and canton
π§ Natural hazards at a glance β network-free routers that point each hazard (flood, avalanche, forest fire, snow) to the right live tool and the official portals
π₯ Wildfire danger β canton- and region-level fire danger index
βοΈ Snow & avalanches (SLF) β snow depth, new snow per IMIS station; avalanche danger levels (EAWS)
π¦ Hunting statistics β cull & game-loss figures per species, canton and year (federal hunting statistics)
π¦ BAFU open data catalogue β search and retrieve environmental datasets via CKAN
π No authentication required β all data sources are publicly accessible
βοΈ Dual transport β stdio for Claude Desktop, Streamable HTTP/SSE for cloud deployment
Prerequisites
Python 3.11+
No API keys needed β all endpoints are publicly accessible without authentication
Installation
# Clone the repository
git clone https://github.com/malkreide/swiss-environment-mcp.git
cd swiss-environment-mcp
# Install
pip install -e .Or with uvx (no permanent installation):
uvx swiss-environment-mcpOr via pip:
pip install swiss-environment-mcpQuickstart
# Start the server (stdio mode for Claude Desktop)
swiss-environment-mcpTry it immediately in Claude Desktop:
"What is the current air quality at NABEL station ZΓΌrich-Kaserne?" "Are there any active flood warnings in Switzerland right now?" "What is the wildfire danger level in Canton Valais?"
Configuration
Claude Desktop
Minimal (recommended):
{
"mcpServers": {
"swiss-environment": {
"command": "uvx",
"args": ["swiss-environment-mcp"],
"env": {}
}
}
}Config file locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
After saving, restart Claude Desktop completely.
Cloud Deployment (SSE for browser access)
For use via claude.ai in the browser (e.g. on managed workstations without local software):
Render.com (recommended):
Push/fork the repository to GitHub
On render.com: New Web Service β connect GitHub repo
Render detects
render.yamlautomaticallyIn claude.ai under Settings β MCP Servers, add:
https://your-app.onrender.com/sse
Docker:
docker build -t swiss-environment-mcp .
docker run -p 8000:8000 swiss-environment-mcpπ‘ "stdio for the developer laptop, SSE for the browser."
Available Tools
All tools share the stable env_ name prefix β a deliberate namespace choice so
that the server's tools are recognisable and unlikely to collide when several MCP
servers are mounted together. Tool definitions (name, description, input schema)
are pinned via tool-snapshot.json; changes require a CHANGELOG entry (see
CONTRIBUTING).
Tool budget (21 tools, 7 clusters) β exhausted. Every tool maps to a distinct
user question, not to a REST endpoint β there is no CRUD/endpoint mirroring, and
the anchor queries are each answerable in a single call. The count sits above the
β€12 rule of thumb because the server deliberately spans seven environmental
domains (air, water, hazards, snow, hunting, catalogue, aircraft noise), each
needing a list/detail pair or a domain-specific action. Further consolidation was
considered and rejected: the *_stations/*_current pairs (NABEL, hydro, snow)
serve genuinely different intents (discovery vs. reading a known station) and
collapsing them would overload a single tool's parameters.
This is the ceiling. With the aircraft-noise cluster the server's tool budget
is spent: any further data source belongs in a separate *-mcp server, not here.
The next addition would instead trigger a review of whether some listings should
migrate to MCP resources rather than tools.
π¬οΈ Air Quality / NABEL (3 tools)
Tool | Description | Data Source |
| List all 16 NABEL monitoring stations with location type and canton | NABEL / BAFU |
| Current air quality data for a station (NOβ, Oβ, PM10, PM2.5, SOβ, CO) | NABEL / BAFU |
| Compare a measurement against Swiss LRV limits and WHO 2021 guidelines | Built-in |
π§ Hydrology (5 tools)
Tool | Description | Data Source |
| Filter hydrological gauging stations by water body (canton filter unavailable β see notes) | LINDAS SPARQL |
| Current water level, flow rate and temperature at a station | LINDAS SPARQL |
| Latest LINDAS value plus the access path for real time series β οΈ | LINDAS SPARQL |
| Active flood warnings filtered by danger level (nationwide β canton filter not applied) | LINDAS SPARQL |
| Bathing water quality (E.coli, enterococci) per bathing site β multi-year time series | LINDAS SPARQL (data cube |
ποΈ Natural Hazards (3 tools)
Tool | Description | Data Source |
| Router: points to the dedicated live hazard tools + official portals (no network call β the aggregate | local |
| Router: maps a hazard type (flood/avalanche/wildfire/snow) to the right live tool + portal (no network call) | local |
| Wildfire danger index by canton and region | waldbrandgefahr.ch |
βοΈ Snow & Avalanches / SLF (3 tools)
Tool | Description | Data Source |
| List automatic SLF/IMIS snow measurement stations (by canton) | measurement-api.slf.ch |
| Current snow depth (HS) and 24 h new snow (HN_1D) per station, in cm | measurement-api.slf.ch |
| Avalanche danger levels (EAWS 1β5) per warning region, seasonal | aws.slf.ch |
π¦ Hunting & Wildlife (2 tools)
Tool | Description | Data Source |
| List the 36 species tracked by the federal hunting statistics (with codes) | jagdstatistik.ch (embedded) |
| Cull / game-loss / population figures per species, canton and year (2015β2024) | jagdstatistik.ch |
π Environmental Data Catalogue (2 tools)
Tool | Description | Data Source |
| Search BAFU datasets on opendata.swiss (CKAN API) | opendata.swiss |
| Full metadata and download URLs for a specific dataset | opendata.swiss |
βοΈ Aircraft Noise / BAZL noise cadastre (3 tools)
Tool | Description | Data Source |
| Aircraft noise exposure at an LV95 point β resolves the overlapping noise contours and returns a dB bracket with the highest value as an upper bound | api3.geo.admin.ch (BAZL) |
| Which airfields have a published cadastre, with validity dates, dB range and the official plan (PDF) β the provenance tool | api3.geo.admin.ch (BAZL) |
| Compare a rating level against the LSV exposure limit values (planning value / immission limit / alarm value) by sensitivity level ES IβIV | Built-in (SR 814.41, Annex 5) |
βοΈ Legal notice β carried in every response of these three tools. The noise cadastre is an orientation aid. Legally binding information on construction projects is issued by the competent cantonal office or by the FOCA (BAZL). These tools do not replace a building permit clarification.
Coordinates must be LV95 (EPSG:2056, metres: E β 2'480'000β2'840'000,
N β 1'070'000β1'300'000). WGS84 degrees such as 8.54 / 47.37 are rejected
fail-fast with a conversion hint β this is the single most common LLM error
with Swiss geodata. Convert via swisstopo REFRAME or convert_coordinates in
swisstopo-mcp.
The contours are lines, not areas. The cadastre publishes MultiLineString
isolines, so identify performs a proximity query within a search radius β not
a point-in-polygon test. env_noise_aircraft_at therefore returns a bracket
(Β«the point lies between the 61 dB and the 62 dB contourΒ») with the highest value
as a stated upper bound, never an interpolated point value. The search radius
is reported in every response; enlarging it inflates the result (at one Kloten
point: 100 m β 61β62 dB, but 500 m β 58β75 dB, because the 75 dB runway contour
sits 1.5 km away).
Anchor demo query
"Is the planned school site inside an aircraft-noise zone with building restrictions β and at which dB level?"
Cross-server flow: resolve an address or EGID via
swiss-housing-mcp β convert to
an LV95 coordinate β env_noise_aircraft_at(east=β¦, north=β¦, period="day") β
feed the resulting level_db into env_noise_limits_check(level_db=β¦, sensitivity_level="II", period="day") for the legal classification.
swiss-housing-mcp β address / EGID β LV95 E/N
β
env_noise_aircraft_at β 62 dB (upper bound, LBK ZΓΌrich, valid from 03.07.2015)
β
env_noise_limits_check β immission limit ES II (60 dB) exceeded by 2 dBExample Use Cases
Query | Tool |
"Air quality at ZΓΌrich-Kaserne right now?" |
|
"Does 45 Β΅g/mΒ³ NOβ exceed the Swiss limit?" |
|
"Current water level of the Limmat in Zurich?" |
|
"Is the water quality at Strandbad KΓΌsnacht safe for swimming?" |
|
"Active flood warnings in Switzerland?" |
|
"Which tools cover natural hazards in GraubΓΌnden?" |
|
"Wildfire danger in Canton Valais?" |
|
"BAFU biodiversity datasets on opendata.swiss?" |
|
"Is the planned school site in an aircraft-noise zone β at which dB level?" |
|
"How old is the noise cadastre for Geneva airport?" |
|
"Does 62 dB at night exceed the LSV limit in an ES II residential zone?" |
|
π‘οΈ Safety & Limits
Aspect | Details |
Access | Read-only ( |
Personal data | No personal data β all sources are aggregated, public environmental measurements |
Rate limits | Built-in per-query caps (e.g. max 30 days hydrology history, 50 dataset search results) |
Timeout | 30 seconds per API call |
Authentication | No API keys required β all BAFU endpoints are publicly accessible |
Licenses | BAFU Open Government Data (OGD) β free reuse with mandatory attribution |
Terms of Service | Subject to ToS of the respective data sources: BAFU / opendata.swiss, hydrodaten.admin.ch, naturgefahren.ch, waldbrandgefahr.ch |
Architecture
βββββββββββββββββββ βββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββ
β Claude / AI ββββββΆβ Swiss Environment MCP ββββββΆβ Upstreams (contacted) β
β (MCP Host) βββββββ (MCP Server) βββββββ β
βββββββββββββββββββ β β β lindas.admin.ch (SPARQL)β
β 21 Tools Β· 3 Resources β β measurement-api.slf.ch β
β Stdio | SSE β β aws.slf.ch β
β β β waldbrandgefahr.ch β
β api_client.py β β jagdstatistik.ch β
β server.py (FastMCP) β β api3.geo.admin.ch β
βββββββββββββββββββββββββββββ β opendata.swiss (CKAN) β
ββββββββββββββββββββββββββββArchitecture note β extractable lindas/ module
All LINDAS SPARQL access goes through the deliberately extractable
src/swiss_environment_mcp/lindas/ module, built as three strict layers:
client.py knows only SPARQL and HTTP (GET/POST, 45 s client-side timeout,
QueryError carrying the server's MALFORMED message, 2 s/4 s/8 s retry);
cube.py knows the cube.link vocabulary (mandatory observationSet
two-phase access, version deduplication via schema:expires, codeβlabel
resolution, licence lookup); the tools only ever call cube.py. The module
will be lifted into a shared lindas-mcp as soon as a second server uses
LINDAS (candidate: wsl-envidat-mcp).
Architecture decision β live API for the aircraft-noise cadastre
The rest of this server follows the portfolio's dump-first standard. The
aircraft-noise cluster deliberately deviates: env_noise_aircraft_at and
env_noise_aircraft_registers query api3.geo.admin.ch live on every call.
This is not a size argument. Measured on 2026-07-28, the entire cadastre is 747 objects (~3 MB of GeoJSON) across all eight sublayers β it would mirror without difficulty. Two other reasons decide it:
A mirror would falsify the freshness claim. The cadastres are revised per airfield, individually and without announcement (validity dates 2009β2024). Read from a dump,
source_freshnesswould report thevalidfromas of the mirroring date β the tool would assert provenance it no longer has. For a cluster whose third tool exists precisely to answer "how old is the basis", that is the worst possible failure mode.The spatial query is the value, not the attributes. Evaluated locally it means point-to-line distances over 26'000+ vertices per layer. That requires either shapely/GEOS β the first compiled dependency in a deliberately binary-free
pyproject.toml(Docker image, wheel matrix and security surface all change) β or hand-rolled distance maths. The latter is feasible, since LV95 is a metric projection and Euclidean distance is exact; but then this server would own the correctness of an official noise-cadastre statement instead of the federal office.
Full measurements and reasoning: docs/probe-fluglaerm.md.
Data Sources
Source | Data | Licence |
Current hydrology (level, discharge, water temperature) and bathing water quality via SPARQL | BAFU Open-Use / OGD (declared per graph/dataset β each response carries a licence field) | |
Not contacted over HTTP since v0.6.0 β the | BAFU OGD | |
Not contacted over HTTP since v0.4.1 β the aggregated warnings API is decommissioned. Appears only as a portal link in | BAFU/SLF | |
Wildfire danger index | BAFU | |
Snow depth, new snow (IMIS); avalanche bulletin | SLF (WSL) CC BY 4.0 | |
Federal hunting statistics (cull, game loss, population) | BAFU β source attribution required (no explicit licence published) | |
BAZL aircraft noise cadastre ( | swisstopo / BAZL β free reuse with attribution | |
BAFU data catalogue (CKAN API) | OGD |
All data: publicly accessible, no authentication required.
Attribution required: BAFU / SLF (WSL) must be cited as the source when using their data.
Project Structure
swiss-environment-mcp/
βββ src/swiss_environment_mcp/
β βββ __init__.py # Package
β βββ server.py # FastMCP server: 21 tools, 3 resources
β βββ api_client.py # HTTP client + egress allow-list (SSRF guard)
β βββ logging_setup.py # structlog -> stderr
βββ tests/
β βββ test_unit.py # Mocked unit tests (no network) β CI default
β βββ test_integration.py # Live API tests (marker: live)
β βββ test_20_scenarios.py # Live scenario coverage
βββ scripts/tool_snapshot.py # Tool-definition hash snapshot (rug-pull guard)
βββ docs/ # security.md, scaling.md, roadmap.md
βββ .github/
β βββ dependabot.yml # Monthly dependency/action updates
β βββ workflows/ # ci.yml, security.yml (gitleaks), live-tests.yml, publish.yml
βββ Dockerfile # Multi-stage, non-root container
βββ render.yaml / Procfile # Cloud deployment
βββ tool-snapshot.json # Committed tool-definition snapshot
βββ .env.example # Non-secret config template
βββ pyproject.toml # Build configuration (hatchling)Single-module layout (rationale, audit ARCH-011): the 21 tools live in one
server.pyrather than atools/package. They are thin, uniform wrappers overapi_client.pysharing the same input/response patterns, so a single well-sectioned module stays more navigable than 4 near-identical files. This is a deliberate, documented deviation; a split is revisited if tool logic grows non-uniform.
MCP Protocol Version & Maintenance
This server speaks two protocol eras over the same endpoint. The client's first request on a connection decides which one applies; a later claim from the other era is refused.
Era | Revision | Who reaches it |
|
| What today's clients speak. The server answers with the revision asked for, or with the |
Per-request envelope |
| A request carrying the |
Both revisions are pinned in
tests/test_protocol_version.py and asserted
against the installed SDK, so a Dependabot bump of mcp cannot move either one
silently.
That pin measures the SDK, though, not this server: it would stay green even if
the server did not answer the modern era at all. The measured half lives in
tests/test_modern_protocol.py β real requests
in both eras through the production app (build_cors_app(), the same one uvicorn
starts in operation), with negative controls: a missing _meta envelope, a
mismatched routing header, an initialize on a modern connection.
What 2026-07-28 actually means for this server
No session, no
initializeβ and so noserverInfoin a handshake result. The server introduces itself throughserver/discoverand theio.modelcontextprotocol/serverInfo_metastamp carried by every response. Name, title, description, website and version come from theMCPServerconstructor; the version from package metadata, never a literal. Without it the server reportsversion: "", and a stateless client cannot tell two releases apart.Routing headers.
Mcp-Method,Mcp-NameandMCP-Protocol-Versionmust match the request body, or the request is rejected with-32020. That is why they appear inCORS_ALLOW_HEADERSβ a browser that may not send them gets a rejection, not an answer.Logging is a per-request opt-in (SEP-2577). The capability is gone; without the reserved
io.modelcontextprotocol/logLevel_metakey the server sends nothing. WithlogLevel: "warning"the response switches totext/event-streamand carries the entry. Both directions are measured.Freshness hints (SEP-2549): the listing methods carry
ttlMsandcacheScopeβ seeCACHE_HINTS.
Note that the SDK's LATEST_PROTOCOL_VERSION is an alias for the modern
era, not for the handshake era β pinning against it alone would leave the era
that current clients actually negotiate free to drift.
Update policy. When the gate fails, do not edit the constant blindly: read
the spec changelog between the two revisions, verify the server still behaves,
then move the constant, this section, README.de.md and
CHANGELOG.md together.
Tool-definition stability (audit SEC-022): any change to a tool's name, description or parameters changes
tool-snapshot.json; CI fails until the snapshot is regenerated and aCHANGELOGentry + version bump are added.Update policy: review Dependabot PRs monthly; bump the version (semver) on any tool-definition or behaviour change.
Lifecycle Phase
This server is in Phase 1 (read-only) β all tools read-only, no auth, no side
effects. The phase model and prerequisites for Phase 2 (write/auth) are in
docs/roadmap.md. Security architecture (SSRF/egress, secret
management, lethal-trifecta assessment): docs/security.md.
Scaling/session strategy: docs/scaling.md.
Known Limitations
Hydrology via LINDAS:
env_hydro_current,env_hydro_stationsandenv_flood_warningsquery the BAFU LINDAS SPARQL endpoint (typed live values: level, discharge, water temperature, danger level). LINDAS holds current values only (one observation per station) β it is not a historical time series. Seedocs/probe-lindas-hydro.md.Historical hydrology /
env_hydro_history(BUG-01 resolved): the oldhydrodaten.admin.ch/lhg/az/*REST endpoints (hourly CSV,warnings.json, station JSON) are decommissioned (404).env_flood_warningsnow uses LINDASdangerLevelinstead. Real historical time series (daily / long-term means β e.g. summer 2024 vs. long-term average) are not freely available via API; they must be ordered from the BAFU Hydrological Enquiry Service (abfragezentrale@bafu.admin.ch).env_hydro_historyreturns the latest LINDAS value plus this access path.Flood warnings:
env_flood_warningsreads LINDASdangerLevel. A canton filter is not available there (LINDAS carries no canton code), so the response is always nationwide; acantonvalue is echoed back and flagged as not applied β in the JSON envelope viamatch_type: "fuzzy"plus a note, in Markdown as a warning line above the table. This matters most when there are no warnings at all: βno active warnings" plus a canton in the request otherwise reads as an all-clear for that canton.Gauging stations / canton filter:
env_hydro_stationsno longer servescanton. The only source that carried the canton code βhydrodaten.admin.ch/lhg/az/json/mobile_stations.jsonβ is decommissioned (404), and LINDAS has no canton attribute. A request withcantonset returns an explanation instead of a station list; usewater_body, or fetch the full list (233 stations) unfiltered.Bathing water quality (
env_bathing_water): reads the LINDAS data cubefoen/ubd01041prodβ the only hydro cube with a real multi-year time series (seasonal samples since 2020). Data is refreshed annually after the bathing season (no real-time monitoring), and the survey covers only the officially reported bathing sites (many popular lidos are not part of it). The licence is declared at graph/dataset level, not on the cube; every response therefore carries an explicit licence field β with an honest Β«not declaredΒ» note where none exists. Seedocs/probe-lindas-hydro.md(addendum N1βN7).No groundwater data in LINDAS: verified 2026-07-24 via multilingual cube search β LINDAS contains no groundwater cube (NAQUA groundwater levels are not available via SPARQL).
NABEL: Near-real-time data only; no historical time series via this server.
Natural hazards (
env_hazard_overview/env_hazard_regions): the formernaturgefahren.ch/api/v1/warnings/*REST endpoints were decommissioned (2026) and β verified 2026-07-26 β there is no stable, documented public JSON feed for the aggregated warnings (MeteoSwiss OGD/STAC, opendata.swiss and the undocumented app API were all checked). Rather than a fragile scrape, both tools are now network-free orientation/router tools: they deterministically point to this server's dedicated live tools (floodβenv_flood_warnings, avalancheβenv_avalanche_bulletin, wildfireβenv_wildfire_danger, snowβenv_snow_current) and the official portals. Aggregated weather warnings (storm/thunderstorm/heat) are MeteoSwiss's domain and belong tometeoswiss-mcp. Seedocs/probe-naturgefahren-hazards.md.Wildfire danger (
env_wildfire_danger):waldbrandgefahr.chreplaced its REST API with a Rails/React app in 2026; there is no stable JSON endpoint. Current danger levels are read via a two-step, HTML-borne contract: the homepage'sdata-react-propsyields a signed ActiveStorage blob URL (warnMapJsonPath) plus the canton mapping, which is then fetched. A schema-guard degrades gracefully if that structure changes. Unfiltered results are capped at 40 regions (highest levels first); filter bycantonfor a full cantonal list. Seedocs/probe-naturgefahren-waldbrand.md.Hunting statistics (
env_hunting_stats): Thejagdstatistik.chbackend is undocumented (a content-negotiated web-app endpoint). A schema-guard degrades gracefully if the structure changes. Species/canton/datatype lookups are embedded (harvested 2026-07-19); figures are fetched live for 2015β2024. Licence (researched 2026-07-19): the data is owned by BAFU (compiled from cantonal offices; site tech by Wildtier Schweiz) and is not published as a licensed dataset on opendata.swiss; no explicit licence is stated on the source. Responses therefore require source attribution to BAFU; formal licence confirmation from BAFU is still pending. Seedocs/probe-jagdstatistik.md.Road and railway noise are out of scope (
ch.bafu.laerm-*,ch.bav.laermbelastung-*): verified 2026-07-28. The BAFU road-noise layersch.bafu.laerm-strassenlaerm_tag/_nachtanswer the sameidentifyrequest with HTTP 400 β they are pure raster services (type: wmts,tooltip: false) with no attribute query, so a point lookup is technically impossible. Railway noise is different:ch.bav.laermbelastung-eisenbahn_*does answer with HTTP 200 and real attributes (de_es,de_pointofdetermination), so it is queryable but deliberately not connected β the server's tool budget is exhausted at 21 and rail noise would need its own period/attribute model. Mnemonic: aircraft noise has lines, road noise has only pixels β rail noise would have data, but is a conscious omission. Seedocs/probe-fluglaerm.md.Aircraft noise is a cut-off-date cadastre, not a live service (
env_noise_*):validfromranges from 01.03.2009 (CDB GenΓ¨ve) to 16.04.2024 (LBK St. Gallen-Altenrhein), and each airfield is revised individually and without notice.source_freshnesstherefore never claims "live" β it carries thevalidfromof the register actually matched. Coverage is limited to the surroundings of airfields; most of Switzerland has no cadastre at all, which the tool reports explicitly rather than returning an empty list. A zero-hit result at a small radius is ambiguous (outside any cadastre or inside the innermost contour β on the Kloten runway both look identical at 100 m), so the tool re-queries once at a far radius and distinguishesno_cadastrefromwide_area_only.LSV limit check excludes military airfields: Annex 5 of the Noise Abatement Ordinance applies expressly to civil airfields. For military airfields Annex 8 governs; it was not verified, so
env_noise_limits_checkrefuses the check forperiod="military"and points to the correct basis instead of applying a plausible-looking wrong table.
Responsibility matrix β water, snow, precipitation & warnings (delineation vs. meteoswiss-mcp)
To avoid duplicating water, snow and precipitation data and warnings
across the portfolio, responsibilities are split as follows. meteoswiss-mcp
owns atmospheric precipitation, weather and weather warnings;
swiss-environment-mcp owns surface waters (BAFU domain: discharge, water level,
water temperature, bathing quality), snow on the ground, avalanche danger and the
natural-hazard sources. The same matrix, with the columns swapped, is in the
meteoswiss-mcp README.
Checked against the actual LINDAS cube dimensions (2026-07-24): there is no overlap in measured quantities. There is one overlap in warnings: forest-fire danger (see the table and the measurement below).
Data | swiss-environment-mcp (BAFU / SLF) | meteoswiss-mcp (MeteoSwiss) |
Discharge (mΒ³/s) | β
| β |
Water level (m a.s.l.) | β
| β |
Water temperature (Β°C) | β
| β (measures air temperature) |
Bathing water quality (E.coli etc.) | β
| β |
Snow depth on the ground ( | β
| β |
Fresh snow 24 h ( | β
| β |
Avalanche danger level | β
| β β not observed in |
Snowfall as a current weather condition | β | β
|
Precipitation amount (mm): measurement network, forecast, climate normals | β | β
|
Precipitation at SLF IMIS mountain stations | β only as snow-cover context, no standalone precipitation tool | (MeteoSwiss network) |
Weather warnings (storm, thunderstorm, rain, snow, frost, heat) | β β | β
|
Flood warnings | β
| β β not observed in |
Forest-fire danger | β
| β οΈ overlap: |
Orientation across all hazards | β
| β |
ΒΉ Neither flood nor avalanche warnings appeared in meteo_warnings in the two
probes so far (2026-07-26, 2026-11-14). That they never will is not
established β the code maps warnType 8/9, the source just did not return them.
Measured overlap, forest fire (2026-11-14, 09:23 UTC). All 26 cantonal
capital PLZ answered the MeteoSwiss app API (26 Γ HTTP 200); the only active
warning type was forest fire: Chur 4, Altdorf 3, Glarus 2, St. Gallen 2.
env_wildfire_danger at the same time: Rheintal (GR) 4, Uri 3, Glarus 2,
St. Gallen 2 β identical. Both channels carry the same official level; the
difference is coverage. Regions at level 4 that no capital lies in (Domleschg,
Untere Surselva) only show up in env_wildfire_danger.
Rule: everything in and on water bodies (discharge, level, water
temperature, bathing quality), snow on the ground, avalanche danger and
the natural-hazard maps (flood, forest fire) belong to
swiss-environment-mcp (BAFU/SLF); atmospheric precipitation (rain/snowfall
as mm) plus weather, forecast, weather warnings and climate normals belong to
meteoswiss-mcp. For forest fire, env_wildfire_danger is the place to ask
Β«where is the danger high?Β»; meteo_warnings answers Β«is there a warning
here?Β» for one locality. The SLF IMIS precipitation endpoint
(RR_10MIN_SUM) is deliberately not wired up as a tool, so it does not
duplicate MeteoSwiss. The snow/avalanche tools are live (see
docs/probe-slf.md).
Testing
# Unit tests (no API keys or network required)
PYTHONPATH=src pytest tests/ -m "not live"
# Integration tests (requires live BAFU APIs)
PYTHONPATH=src pytest tests/ -m "live"
# Linting
ruff check src/Contributing
See CONTRIBUTING.md (English) Β· CONTRIBUTING.de.md (German)
Security
Security policy and posture: SECURITY.md (English) Β· SECURITY.de.md (German).
Full security architecture: docs/security.md.
Changelog
See CHANGELOG.md
License
MIT License β see LICENSE
Source data is subject to BAFU terms of use. Attribution to BAFU is required when using their data.
Author
Hayal Oezkan Β· github.com/malkreide
Credits & Related Projects
Data: BAFU / Bundesamt fΓΌr Umwelt Β· hydrodaten.admin.ch Β· naturgefahren.ch Β· opendata.swiss
Protocol: Model Context Protocol β Anthropic / Linux Foundation
Related:
Server | Description |
City of Zurich open data (OSTLUFT air quality, weather, parking, geodata) | |
Swiss public transport β OJP 2.0 journey planning, SIRI-SX disruptions | |
GBFS shared mobility, EV charging, DATEX II traffic | |
BFS STAT-TAB β 682 statistical datasets |
Synergy example: "What was the air quality at Schulhaus Leutschenbach today β and how does it compare to the national NABEL average?"
β zurich-opendata-mcp (OSTLUFT, local) + swiss-environment-mcp (NABEL, national)
Portfolio: Swiss Public Data MCP Portfolio
Installation
Run via uv's uvx β no clone or manual install needed. Add to your MCP client config (mcpServers for Claude Desktop, Cursor and Windsurf; use a top-level servers key for VS Code in .vscode/mcp.json):
{
"mcpServers": {
"swiss-environment-mcp": {
"command": "uvx",
"args": [
"swiss-environment-mcp"
]
}
}
}Available Tools
21 toolsenv_air_limits_checkARead-onlyIdempotent
Bewertet einen gemessenen Luftschadstoffwert gegen Schweizer LRV-Grenzwerte und WHO 2021-Richtwerte.
UnterstΓΌtzte Schadstoffe: NO2, PM10, PM2.5, O3, SO2, CO. Grenzwerte gemΓ€ss Schweizer Luftreinhalte-Verordnung (LRV, SR 814.318.142.1).
<use_case>Einen gemessenen Schadstoffwert gegen Schweizer LRV + WHO 2021 einordnen (Γberschreitung ja/nein, VerhΓ€ltnis zum Grenzwert).</use_case> <important_notes>Rein lokale Berechnung (kein Netzwerk). UnterstΓΌtzt NO2, PM10, PM2.5, O3, SO2, CO.</important_notes>
Args: params (AirLimitsCheckInput): - pollutant: SchadstoffkΓΌrzel ('NO2', 'PM10', 'PM2.5', 'O3', 'SO2', 'CO') - value: Gemessener Wert in Β΅g/mΒ³ - averaging_period: Mittelungszeitraum ('annual', 'daily', 'hourly')
Returns: str: Grenzwert-Vergleich mit Schweizer LRV und WHO 2021, inkl. Γberschreitungs-Flag.
Inputs: params (required). Returns: result
env_avalanche_bulletinARead-only
Ruft das aktuelle Lawinenbulletin des SLF ab (Warnstufen je Region).
Gefahrenstufen nach europΓ€ischer EAWS-Skala 1β5 (Gering bis Sehr gross). Ausserhalb der Lawinensaison wird kein Bulletin publiziert β dann meldet das Tool explizit Β«kein aktives BulletinΒ» (kein Fehler).
<use_case>Aktuelle Lawinengefahr je Warnregion fΓΌr Tourenplanung oder
Sicherheitsbeurteilung.</use_case>
<important_notes>EAWS-Skala 1β5. Saisonal (Winter). Datenquelle SLF
(CC BY 4.0). FΓΌr SchneehΓΆhen β env_snow_current.</important_notes>
Args: params (AvalancheBulletinInput): - language: 'de', 'fr', 'it', 'en' - region: Regionsname/-code (Teilstring) zum Filtern
Returns: str: Warnstufen je Region oder Hinweis, dass kein Bulletin aktiv ist.
Inputs: params (required). Returns: result
env_bafu_dataset_detailARead-onlyIdempotent
Ruft vollstΓ€ndige Metadaten und Download-URLs eines BAFU-Datensatzes ab.
Liefert: Titel, Beschreibung, Ressourcen mit Direktlinks (CSV, JSON, WMS/WFS), Lizenz, Aktualisierungsintervall und Kontaktinformationen.
<use_case>VollstΓ€ndige Metadaten + Download-URLs eines konkreten Datensatzes.</use_case>
<important_notes>dataset_id/Slug zuerst via env_bafu_datasets ermitteln.</important_notes>
Args: params (BafuDatasetDetailInput): - dataset_id: Dataset-ID oder Slug (z.B. 'nabel-luftqualitaet-stationen')
Returns: str: VollstΓ€ndige Metadaten inkl. aller Download-Ressourcen.
Inputs: params (required). Returns: result
env_bafu_datasetsARead-onlyIdempotent
Sucht BAFU-DatensΓ€tze auf dem Schweizer Open-Data-Portal opendata.swiss.
Das BAFU publiziert DatensΓ€tze zu Luft, Wasser, Boden, BiodiversitΓ€t, LΓ€rm, Klima, Wald und weiteren Umweltthemen als offene Daten (OGD). Ergebnisse enthalten Titel, Beschreibung und Download-URLs (CSV, JSON, WMS).
<use_case>BAFU-Open-Data auf opendata.swiss durchsuchen (CSV/JSON/WMS), um
danach mit env_bafu_dataset_detail Details/Download-URLs zu holen.</use_case>
<important_notes>Paginierung via offset/rows. 0 Treffer β match_type "none",
dann breitere Begriffe versuchen.</important_notes>
Args: params (BafuDatasetsInput): - query: Suchbegriff ('LuftqualitΓ€t', 'Hochwasser', 'NABEL', etc.) - rows: Anzahl Resultate (1β50) - offset: Offset fΓΌr Paginierung
Returns: str: Liste der BAFU-DatensΓ€tze mit Kurzbeschreibung und Links.
Inputs: params (required). Returns: result
env_bathing_waterARead-onlyIdempotent
Ruft die BadegewΓ€sserqualitΓ€t der BAFU-Erhebung ab (LINDAS-Data-Cube).
Die Erhebung misst die hygienische QualitΓ€t von Badestellen an Schweizer Seen und FlΓΌssen ΓΌber E.coli- und Enterokokken-Konzentrationen. Im Gegensatz zu Pegel/Abfluss ist dies eine echte Mehrjahres-Zeitreihe (Saisondaten seit 2020, jΓ€hrliche NachfΓΌhrung).
<use_case>WasserqualitΓ€t einer Badestelle prΓΌfen (Β«Kann man bei X baden?Β»)
oder Badestellen eines Kantons auflisten.</use_case>
<important_notes>Ohne location wird eine Badestellen-Γbersicht geliefert;
mit location die letzten Probenwerte dieser Stelle. Daten werden jΓ€hrlich
nach der Badesaison nachgefΓΌhrt (kein Echtzeit-Monitoring).</important_notes>
Args: params (BathingWaterInput): - location: Badestellen-Name (Teilstring), leer = Γbersicht - canton: KantonskΓΌrzel zum Filtern - limit: max. Anzahl Messwerte bzw. Badestellen - response_format: 'markdown' oder 'json'
Returns: str: Probenwerte mit aufgelΓΆsten Standort-Labels, Kantonsnummer (Join-Key) und Lizenzfeld β nie rohe Code-URIs.
Inputs: params (required). Returns: result
env_flood_warningsARead-only
Ruft aktuelle Hochwasserwarnungen aller BAFU-Messstationen in der Schweiz ab.
Das BAFU gibt Hochwasserwarnungen in 5 Gefahrenstufen aus: 1=Keine, 2=MΓ€ssig, 3=Erheblich, 4=Gross, 5=Sehr gross.
<use_case>Aktive Hochwasserwarnungen schweizweit fΓΌr eine
Lagebeurteilung.</use_case>
<important_notes>5 Gefahrenstufen. "Keine Warnung" ist eine explizite
Entwarnung, kein Fehler. canton wird NICHT angewendet (LINDAS fΓΌhrt keinen
Kantons-Code): die Antwort ist immer schweizweit und weist einen gesetzten
Filter als nicht angewendet aus.</important_notes>
Args: params (FloodWarningsInput): - min_level: Minimale Gefahrenstufe (Standard: 2) - canton: wird nicht angewendet (siehe Hinweise)
Returns: str: Aktuell aktive Hochwasserwarnungen, gefiltert nach Gefahrenstufe.
Inputs: params (required). Returns: result
env_hazard_overviewARead-onlyIdempotent
OrientierungsΓΌbersicht zu Schweizer Naturgefahren: welche Gefahr ΓΌber welches Tool bzw. welche offizielle Warnplattform abrufbar ist.
Hintergrund (verifiziert 2026-07-26, docs/probe-naturgefahren-hazards.md): Die
frΓΌhere aggregierte naturgefahren.ch-Bulletin-API ist ersatzlos stillgelegt,
und es existiert kein stabiler, dokumentierter ΓΆffentlicher JSON-Feed fΓΌr
die aggregierten Warnungen (weder MeteoSchweiz-OGD/STAC, opendata.swiss noch
die undokumentierte App-API liefern einen sauberen Zugang). Statt eines
fragilen Scrapings routet dieses Tool daher auf die dedizierten, live
funktionierenden Tools dieses Servers und die offiziellen Warnplattformen.
Aggregierte Wetter-/Unwetterwarnungen (Sturm/Gewitter/Hitze) sind DomΓ€ne von
MeteoSchweiz bzw. meteoswiss-mcp (ZustΓ€ndigkeitsmatrix).
<use_case>Einstieg in die Schweizer Naturgefahrenlage: zu welcher Gefahr liefert welches Tool Live-Daten, und wo liegen die offiziellen Bulletins.</use_case> <important_notes>Netzwerkfrei/deterministisch. FΓΌr Live-Werte die verlinkten Tools nutzen: Hochwasserβenv_flood_warnings, Lawineβenv_avalanche_bulletin, Waldbrandβenv_wildfire_danger, Schneeβenv_snow_current.</important_notes>
Args: params (HazardOverviewInput): - language: Sprache ('de', 'fr', 'it', 'en') β fΓΌr die Portallinks
Returns: str: GefahrenβTool-Routing plus offizielle Warnplattform-Links.
Inputs: params (required). Returns: result
env_hazard_regionsARead-onlyIdempotent
Regionsbezogene Orientierung zu Naturgefahren: verweist fΓΌr eine Region auf die dedizierten Live-Tools und die offiziellen Gefahrenkarten.
Wie env_hazard_overview netzwerkfrei: die aggregierte
naturgefahren.ch-Regionen-API ist stillgelegt (2026), ohne stabilen Ersatz.
FΓΌr regionsscharfe Live-Werte liefern die verlinkten Tools die Daten
(Waldbrand z.B. via env_wildfire_danger mit Kanton-Filter).
<use_case>Regionsbezogener Einstieg (Event-, Schulausflug-, Infrastruktur-
Planung): welches Tool liefert fΓΌr die Region welche Gefahr.</use_case>
<important_notes>Netzwerkfrei/deterministisch. Regionsscharfe Waldbrand-Stufen:
env_wildfire_danger (canton-Filter). Karten: naturgefahren.ch / BAFU GIS.</important_notes>
Args: params (HazardRegionsInput): - region: Regionsname/Kanton (z.B. 'ZΓΌrich', 'GraubΓΌnden', 'Wallis') - hazard_type: Gefahrentyp ('hochwasser', 'lawinen', 'steinschlag', 'rutschungen') - language: Sprache
Returns: str: Regionsbezogenes Tool-Routing plus Karten-/Portal-Links.
Inputs: params (required). Returns: result
env_hunting_speciesARead-onlyIdempotent
Listet die in der Eidg. Jagdstatistik erfassten Tierarten mit ihren Codes auf.
Die Liste ist statisch eingebettet (aus der Live-Probe) und dient als
Nachschlagewerk fΓΌr env_hunting_stats (Parameter species).
<use_case>VerfΓΌgbare Tierarten + Codes nachschlagen, bevor mit
env_hunting_stats Abschuss-/Fallwildzahlen abgefragt werden.</use_case>
<important_notes>Rein lokal (kein Netzwerk). 36 Arten (Huftiere, Raubtiere,
weitere SΓ€uger).</important_notes>
Args: params (HuntingSpeciesInput): - response_format: 'markdown' oder 'json'
Returns: str: Liste der Tierarten mit sp-Code und Name.
Inputs: params (required). Returns: result
env_hunting_statsARead-only
Ruft Zeitreihen der Eidg. Jagdstatistik ab: Abschuss-, Bestand-, Aussetzungs- oder Fallwildzahlen je Tierart und Kanton (Jahre 2015β2024).
Datenherr ist das BAFU. Der zugrundeliegende Endpoint ist undokumentiert (Web-App-Backend); ein Schema-Guard fΓ€ngt StrukturΓ€nderungen ab.
<use_case>Entwicklung der Abschuss- oder Fallwildzahlen einer Tierart in
einem Kanton ΓΌber die Zeit.</use_case>
<important_notes>Tierart via Name oder Code (siehe env_hunting_species).
Werte je Alters-/Geschlechtsklasse; Total = Summe. Jagdjahr meist 1. Apr.β31. MΓ€rz.</important_notes>
Args: params (HuntingStatsInput): - species: Tierart (Name oder sp-Code) - canton: KantonskΓΌrzel oder 'CH' - data_type: 'abschuss', 'bestand', 'aussetzung', 'fallwild' - response_format: 'markdown' oder 'json'
Returns: str: Jahreswerte (Total + Klassen) oder aktionabler Hinweis bei Problemen.
Inputs: params (required). Returns: result
env_hydro_currentARead-only
Ruft aktuelle Messwerte einer hydrologischen BAFU-Messstation ab.
Liefert Pegel (m ΓΌ.M.), Abfluss (mΒ³/s), Wassertemperatur (Β°C) sowie 24h-Min/Max-Werte. Daten werden alle 10 Minuten aktualisiert.
Bekannte ZΓΌrich-relevante Stationen:
2099: Limmat β ZΓΌrich/Unterwerk
2243: Sihl β ZΓΌrich
2034: ZΓΌrichsee β ZΓΌrich/Tiefenbrunnen (Pegel)
<use_case>Aktueller Pegel/Abfluss/Temperatur einer Station, z.B. fΓΌr einen
Hochwasser-Lagecheck.</use_case>
<important_notes>Station-ID via env_hydro_stations. 10-Minuten-Aktualisierung.
Quelle ist LINDAS; kennt es die Nummer nicht, meldet das Tool das explizit
(kein Ersatzwert aus einer anderen Quelle).</important_notes>
Args: params (HydroCurrentInput): - station_id: BAFU-Stationsnummer (z.B. '2099') - response_format: 'markdown' oder 'json'
Returns: str: Aktuelle Messwerte inkl. Zeitstempel.
Inputs: params (required). Returns: result
env_hydro_historyARead-onlyIdempotent
Ruft historische Stundenwerte einer BAFU-Hydromesstations ab.
ErmΓΆglicht zeitliche Analysen von Wasserstand, Abfluss und Temperatur ΓΌber bis zu 30 Tage. Ideal fΓΌr Trendanalysen und Extremereignis-Recherche.
<use_case>Aktuellsten Messwert einer Station holen und den Zugang zu echten historischen Zeitreihen (Tages-/Langzeitmittel) aufzeigen.</use_case> <important_notes>LINDAS liefert nur den aktuellen Wert (keine Zeitreihe). Historische Tages-/Langzeitmittel sind NICHT frei per API verfΓΌgbar und mΓΌssen bei der BAFU-Abfragezentrale bezogen werden.</important_notes>
Args: params (HydroHistoryInput): - station_id: BAFU-Stationsnummer - parameter: 'Abfluss', 'Pegel' oder 'Temperatur' (Kontext) - days: Anzahl Tage (Kontext)
Returns: str: Aktuellster Messwert (LINDAS) + Bezugsweg fΓΌr historische Reihen.
Inputs: params (required). Returns: result
env_hydro_stationsARead-onlyIdempotent
Listet hydrologische Messstationen des BAFU an Schweizer FlΓΌssen und Seen auf.
Das BAFU betreibt ca. 260 Messstationen in der Schweiz. Stationen messen Wasserstand (Pegel), Abfluss (mΒ³/s), Wassertemperatur und weitere Parameter in einem 10-Minuten-Intervall.
<use_case>Hydromessstationen finden (nach GewΓ€sser), um danach mit
env_hydro_current Pegel/Abfluss abzurufen.</use_case>
<important_notes>canton wird derzeit NICHT bedient: die Quelle, die den
Kantons-Code mitlieferte, ist stillgelegt, und LINDAS fΓΌhrt keinen β das Tool
sagt das explizit, statt eine unvollstΓ€ndige Liste auszugeben. Stattdessen
water_body nutzen. Bei LINDAS-Ausfall Fallback mit Beispielstationen, im
JSON an provenance erkennbar. Leeres Filterresultat β match_type
"none".</important_notes>
Args: params (HydroStationsInput): - canton: derzeit nicht bedienbar (Quelle stillgelegt) - water_body: GewΓ€ssername zum Filtern (z.B. 'Limmat') - response_format: 'markdown' oder 'json'
Returns: str: Stationsliste, Absage zum Kantonsfilter, oder Fallback bei Ausfall.
Inputs: params (required). Returns: result
env_nabel_currentARead-only
Ruft aktuelle und historische LuftqualitΓ€tsdaten einer NABEL-Station ab.
Liefert Metadaten, Download-Links fΓΌr Messdaten (CSV) sowie direkte Abfrage-URLs fΓΌr den BAFU-Datenbrowser. Gemessene Parameter: NOβ, Oβ, PM10, PM2.5, SOβ, CO, Russ (BC).
<use_case>Aktuelle LuftqualitΓ€t / Datenzugang einer konkreten NABEL-Station.</use_case>
<important_notes>Liefert Metadaten + Datenlinks, keine Echtzeit-Rohwerte.
StationskΓΌrzel via env_nabel_stations ermitteln.</important_notes>
Args: params (NabelCurrentInput): - station: StationskΓΌrzel (z.B. 'ZUE', 'DUB', 'BER')
Returns: str: Stationsinformationen, Messparameter, Datenlinks und Grenzwertkontext.
Inputs: params (required). Returns: result
env_nabel_stationsARead-onlyIdempotent
Listet alle 16 NABEL-Messstationen des nationalen Luftmessnetzes (BAFU) auf.
Das NABEL (Nationales Beobachtungsnetz fΓΌr Luftfremdstoffe) misst seit 1991 kontinuierlich an 16 Standorten in der Schweiz: NOβ, Oβ, PM10, PM2.5, SOβ, CO, Russ und weitere Parameter.
<use_case>Einstieg in LuftqualitΓ€tsdaten: StationsΓΌbersicht, um danach mit
env_nabel_current die Messwerte einer konkreten Station zu holen.</use_case>
<important_notes>16 feste NABEL-Stationen (statisch, kein Live-Call).</important_notes>
Args: params (NabelStationsInput): - response_format: 'markdown' oder 'json'
Returns: str: Liste aller NABEL-Stationen mit KΓΌrzel, Name, Kanton und Standorttyp. EnthΓ€lt auch den Link zur BAFU-Datenabfrage.
Inputs: params (required). Returns: result
env_noise_aircraft_atARead-onlyIdempotent
FluglΓ€rmbelastung an einem Punkt aus dem BAZL-LΓ€rmbelastungskataster.
Beantwortet: Β«Liegt dieser Standort in einer FluglΓ€rmzone β und in welcher
dB-Stufe?Β» Grundlage sind die amtlichen LΓ€rmkurven der zivilen FlugplΓ€tze
(und, fΓΌr period='military', von Locarno-Magadino).
<use_case>StandortabklΓ€rung fΓΌr Bauvorhaben, Schulhaus- oder Wohnbau- planung: dB-Belastung und Kataster-Referenz an einer LV95-Koordinate.</use_case> <important_notes>Eingabe MUSS LV95 sein (EPSG:2056, Meter: E ~2.48β2.84 Mio, N ~1.07β1.30 Mio). WGS84-Grad (z.B. 8.54/47.37) wird abgewiesen. Die Kurven sind Isolinien, keine FlΓ€chen β das Ergebnis ist eine dB-Klammer mit dem hΓΆchsten Wert als oberer Schranke, kein interpolierter Punktwert. Orientierungsgrundlage, keine Baubewilligungsauskunft.</important_notes>
Args: params (NoiseAircraftAtInput): - east/north: LV95-Koordinate in Metern - period: Beurteilungszeitraum bzw. Verkehrsart (8 Werte, s. Schema) - radius_m: Suchradius in Metern (10β1000, Default 100) - response_format: 'markdown' oder 'json'
Returns: str: Massgebender dB-Wert, dB-Klammer, alle gefundenen Kurven, Kataster-Provenienz und amtlicher PDF-Link.
Inputs: params (required). Returns: result
env_noise_aircraft_registersARead-onlyIdempotent
Γbersicht der publizierten FluglΓ€rm-LΓ€rmbelastungskataster.
Das Provenienz-Tool: Es beantwortet Β«wie alt ist die GrundlageΒ». FΓΌr jeden Flugplatz die GΓΌltigkeitsdaten, die Anzahl LΓ€rmkurven, den abgedeckten dB-Bereich und den Link auf den amtlichen Katasterplan.
<use_case>Vor einer StandortabklΓ€rung prΓΌfen, ob fΓΌr den betreffenden
Flugplatz ΓΌberhaupt ein Kataster existiert und wie aktuell er ist.</use_case>
<important_notes>Ohne period werden alle acht Sublayer abgefragt (acht
Upstream-Requests). Die GΓΌltigkeitsdaten streuen erheblich (2009β2024) β
ein Kataster ist ein Stichtagsdokument, kein Echtzeitdienst.</important_notes>
Args: params (NoiseAircraftRegistersInput): - period: optionaler Filter auf einen Sublayer - response_format: 'markdown' oder 'json'
Returns: str: Tabelle der Kataster mit GΓΌltigkeitsdaten und amtlichen PDF-Links.
Inputs: params (required). Returns: result
env_noise_limits_checkARead-onlyIdempotent
Vergleicht einen FluglΓ€rm-Beurteilungspegel gegen die LSV-Belastungsgrenzwerte.
Grundlage: LΓ€rmschutz-Verordnung (LSV, SR 814.41), Anhang 5 Β«Belastungsgrenzwerte fΓΌr den LΓ€rm ziviler FlugplΓ€tzeΒ» β differenziert nach Empfindlichkeitsstufe (ES IβIV) und Schwelle (Planungswert / Immissionsgrenzwert / Alarmwert).
<use_case>Einen dB-Wert aus env_noise_aircraft_at (oder aus einem Gutachten)
rechtlich einordnen: welche Schwelle ist ΓΌberschritten und mit welcher
Folge.</use_case>
<important_notes>Rein lokale Berechnung (kein Netzwerk). FΓΌr
period='military' wird die PrΓΌfung bewusst verweigert β Anhang 5 gilt nur
fΓΌr zivile FlugplΓ€tze, fΓΌr MilitΓ€rflugplΓ€tze ist Anhang 8 einschlΓ€gig.
Die Werte fΓΌr ES II in der ersten Nachtstunde weichen von den ΓΌbrigen
Nachtstunden ab (Fussnote zu Ziff. 222).</important_notes>
Args: params (NoiseLimitsCheckInput): - level_db: Beurteilungspegel in dB(A) - sensitivity_level: 'I', 'II', 'III' oder 'IV' (auch 'ES II', '2') - period: Beurteilungszeitraum bzw. Verkehrsart - response_format: 'markdown' oder 'json'
Returns: str: Γberschreitung je Schwelle mit Grenzwert, Differenz und Rechtsgrundlage im Klartext.
Inputs: params (required). Returns: result
env_snow_currentARead-only
Ruft aktuelle SchneehΓΆhe (HS) und Neuschnee 24 h (HN_1D) der SLF-IMIS- Stationen ab.
Werte in cm, modelliert aus dem SLF-Schneedeckenmodell. Ausserhalb der Schneesaison sind die Werte 0 (schneefrei) β das ist kein Fehler.
<use_case>Aktuelle Schneelage nach Kanton oder Station, z.B. fΓΌr Tourenplanung oder SchulausflΓΌge.</use_case> <important_notes>HS/HN_1D in cm. Kein Niederschlag (β meteoswiss-mcp). Datenquelle SLF (CC BY 4.0).</important_notes>
Args: params (SnowCurrentInput): - canton: KantonskΓΌrzel zum Filtern - station: IMIS-Stationscode zum Filtern - limit: max. Anzahl Stationen - response_format: 'markdown' oder 'json'
Returns: str: SchneehΓΆhe und Neuschnee je Station, nach SchneehΓΆhe absteigend.
Inputs: params (required). Returns: result
env_snow_stationsARead-onlyIdempotent
Listet die automatischen IMIS-Schneemessstationen des SLF auf.
Das SLF betreibt ein Netz automatischer Stationen (IMIS) in den Schweizer Bergen, die u.a. SchneehΓΆhe, Neuschnee, Wind und Temperaturen messen.
<use_case>Einstieg in die Schneedaten: StationsΓΌbersicht (nach Kanton), um
danach mit env_snow_current SchneehΓΆhe/Neuschnee abzurufen.</use_case>
<important_notes>Datenquelle SLF (CC BY 4.0). type=SNOW_FLAT sind
Flachfeld-Schneestationen. Kein Niederschlags-Tool (β meteoswiss-mcp).</important_notes>
Args: params (SnowStationsInput): - canton: KantonskΓΌrzel zum Filtern (z.B. 'GR') - response_format: 'markdown' oder 'json'
Returns: str: Stationsliste mit Code, Name, Kanton, HΓΆhe und Typ.
Inputs: params (required). Returns: result
env_wildfire_dangerARead-only
Ruft den aktuellen Waldbrandgefahren-Index nach Regionen ab.
Die Waldbrandgefahr wird tΓ€glich durch das BAFU berechnet und auf einer 5-stufigen Skala (gering bis sehr gross) kommuniziert. Relevant fΓΌr SchulausflΓΌge, Events und Forstbetriebe.
<use_case>Waldbrandgefahr-Index pro Region/Kanton, z.B. fΓΌr Forstbetriebe oder Event-Planung.</use_case> <important_notes>5-stufige Skala, tagesaktuell (de/fr/it/en). Ohne Kanton-Filter werden die hΓΆchsten Stufen zuerst und auf 40 Regionen begrenzt gezeigt. Datenzugriff ΓΌber einen zweistufigen, HTML-getragenen Vertrag (react-props der Startseite β signierte Blob-JSON-URL).</important_notes>
Args: params (WildfireDangerInput): - language: 'de', 'fr', 'it' - canton: KantonskΓΌrzel zum Filtern
Returns: str: Aktuelle Waldbrandgefahr nach Regionen/Kantonen.
Inputs: params (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 21 tools
Tools are organized into clear domain families (air, hydro, snow, noise, hunting, open data) with distinct list/current/detail/check roles, and cross-references in descriptions reduce risk of misselection. The main ambiguity is between env_hazard_overview and env_hazard_regions, which are both non-data routing tools, and env_hydro_history's name implies historical data while it only returns a current value and pointers.
All tools consistently use the env_ prefix with snake_case and a predictable domain+resource pattern, e.g. env_nabel_stations/env_nabel_current, env_hydro_stations/env_hydro_current, env_bafu_datasets/env_bafu_dataset_detail. Parallel suffixes like _current, _check, and _detail make the set highly navigable.
21 tools is at the heavy end of the range, though the broad Swiss-environment scope gives most tools a distinct purpose. The count is inflated by meta-tools like env_hazard_overview and env_hazard_regions, which route rather than retrieve data, and could potentially be consolidated.
The set covers the major advertised domains: air, water, snow, natural hazards, noise, hunting, and open data. However, env_nabel_current returns only metadata and download links rather than actual air-quality values, and env_hydro_history explicitly cannot deliver true historical time series, leaving notable gaps for common data retrieval workflows.
Maintenance
Related MCP Connectors
Swiss weather data for AI assistants β forecasts, measurements, stations, pollen.
Real-world data for agents: air quality, geocoding, quakes, holidays, web search
Access UK flood warnings, river levels, water quality, Met Office forecasts, and carbon data
Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI models to access Swiss weather and climate data from MeteoSwiss, including current observations, forecasts, and warnings.652 PyPIMIT

jiskta-mcpofficial
AlicenseAqualityFmaintenanceProvides AI assistants with direct access to historical air quality, ERA5 meteorology, water risk, geocoding, and industrial facility data via the Jiskta API.10MIT- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to the Swiss I14Y Interoperability Platform, enabling natural language exploration of government datasets, APIs, codelists, and public services.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to access structured, location-based Swiss energy infrastructure data, including power plants, wind turbines, solar roof potential, and Energiestadt labels, via public APIs without authentication.10MIT