Swiss federal geodata: geocoding, height, STAC, WMTS, OEREB and more
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
π¨π Part of the Swiss Public Data MCP Portfolio
MCP server for Swiss federal geodata -- maps, elevation, geocoding, cadastral extracts, and downloadable datasets via Swisstopo APIs
swisstopo-mcp gives AI assistants access to Switzerland's official geodata infrastructure through 20 tools, all without authentication:
| Source | Data | API |
|---|---|---|
| Swisstopo REST API | 500+ geodata layers (buildings, boundaries, land use) | REST/JSON |
| Geocoding | Official addresses, place names, postal codes | REST/JSON |
| Height Service | Elevation above sea level, elevation profiles | REST/JSON |
| STAC Catalog | Orthophotos, elevation models, 3D buildings | STAC 0.9 |
| WMTS | National maps, aerial images, zoning maps | URL builder |
| OEREB Cadastre | Public-law restrictions, parcels | REST/JSON (cantonal) |
| geodienste.ch | Interkantonale Basisgeodaten (cadastral survey, contaminated sites, hazard maps, β¦) | OGC API Features / WMS / WFS |
| OpenStreetMap | Points of interest (schools, playgrounds, pharmacies, β¦) | Overpass API (ODbL) |
| OpenPLZ API | Administrative address level: postal codes β commune (BFS number) β district β canton | REST/JSON (BFS + swisstopo OGD) |
Anchor demo query: "Which communes are in the Uster district, and what are their BFS numbers for joining with BFS statistics data?"
(The BFS commune number is the official join key to swiss-statistics-mcp and zurich-opendata-mcp β this is what turns a geodata wrapper into a semantic connector at the commune level.)
β More use cases by audience β
Or with uvx (no permanent installation):
Try it immediately in Claude Desktop:
"Where is Bahnhofstrasse 1, Zurich? Give me the coordinates." "What is the elevation at the Uetliberg summit?" "What buildings are at coordinates 2683500, 1247500 (LV95)?"
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Or with uvx:
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonFor use via claude.ai in the browser (e.g. on managed workstations without local software):
Render.com (recommended):
python -m swisstopo_mcp.server --http --port 8000https://your-app.onrender.com/sse| Tool | Description |
|---|---|
swisstopo_map_query | The national map catalogue (api3.geo.admin.ch). One operation per call β see the five below |
swisstopo_zoning_at | Harmonised building zone at a coordinate β one call, no layer lookup (not legally binding) |
swisstopo_municipality_at | Municipality, canton and official BFS number at a coordinate |
swisstopo_map_query operationsoperation | Answers | Required arguments |
|---|---|---|
search_layers | Which layers exist for a keyword? (500+ catalogue) | query |
layer_info | What fields can I query on this layer, and what is its legend? | layer |
features_at_point | What is at this coordinate? | layers + a point (lat/lon or easting/northing) |
features_by_attribute | Which features carry this value? (e.g. buildings by EGID) | layer, search_field, search_text |
feature_by_id | Give me this one feature in full, with geometry | layer, feature_id |
Arguments belonging to a different operation are rejected, not ignored β the
error names the ones the chosen operation accepts. Silently dropping a
misplaced search_field would return a plausible answer to a question nobody
asked, which is the failure mode the whole envelope design is against.
| Tool | Description |
|---|---|
swisstopo_geocode | Convert Swiss addresses, place names, or postal codes to coordinates |
swisstopo_reverse_geocode | Find the nearest address for given coordinates |
| Tool | Description |
|---|---|
swisstopo_get_height | Get elevation above sea level (m a.s.l.) at a coordinate |
swisstopo_elevation_profile | Compute an elevation profile along a line |
swisstopo_convert_coordinates | Official WGS84 β LV95 conversion via the swisstopo REFRAME service |
| Tool | Description |
|---|---|
swisstopo_search_geodata | Search the STAC catalog for downloadable geodatasets |
swisstopo_get_collection | Get details and download links for a STAC collection |
| Tool | Description |
|---|---|
swisstopo_map_url | Generate a map.geo.admin.ch URL for browser display |
| Tool | Description |
|---|---|
swisstopo_get_egrid | Resolve a cadastral property ID (EGRID) from coordinates |
swisstopo_get_oereb_extract | Retrieve public-law land-use restrictions (OEREB) for a parcel |
One faΓ§ade over several map/layer sources, kept under the 25-tool budget (see
docs/geodaten-erweiterung-phase1.md):
| Tool | Description |
|---|---|
swisstopo_list_available_layers | Discover layer keys for swisstopo_query_geodata (strassenverzeichnis, oereb-verfuegbarkeit, geodienste:<topic>:<canton>); filters to contract-free geodienste datasets |
swisstopo_query_geodata | Query a chosen layer by point / bbox / commune β amtliches Strassenverzeichnis, interkantonale geodienste.ch data (OGC API Features), or ΓREB availability |
swisstopo_query_osm_features | OpenStreetMap POIs (schools, playgrounds, pharmacies, β¦) around a point via Overpass β separate source, ODbL (Β© OpenStreetMap contributors) |
The amtliche address hierarchy PLZ β commune β district β canton, served by
the OpenPLZ API (data: BFS municipal directory +
swisstopo street directory, Swiss OGD β a separate source and licence from
the swisstopo geodata above). Every commune-bearing response exposes
bfs_commune_number as a named top-level field: the official join key to
BFS statistics (swiss-statistics-mcp) and zurich-opendata-mcp.
| Tool | Description |
|---|---|
swisstopo_lookup_postal_code | Resolve a Swiss postal code β locality, commune (+BFS number), district, canton |
swisstopo_find_commune | Resolve a commune both directions (name β bfs_number) or list all communes of a canton / district. Accepts canton abbreviation (ZH) or key (1); resolution happens server-side |
swisstopo_search_address | Full-text search over Swiss streets and localities, returning commune + BFS number per hit |
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/swisstopo-mcp)<a href="https://allmcps.com/mcp/swisstopo-mcp"><img src="https://allmcps.com/api/badge/swisstopo-mcp?style=directory" alt="Swisstopo MCP on AllMCPs" /></a>