operation
Answers
How to use it
operation is exposed by the Swisstopo MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the operation tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Swisstopo MCP
uvx swisstopo-mcpOther tools in Swisstopo MCP (26)
Give me this one feature in full, with geometry
What is at this coordinate?
Which features carry this value? (e.g. buildings by EGID)
+ reversegeocode do hit the same SearchServer endpoint, so on the
What fields can I query on this layer, and what is its legend?
→ getcollection is a genuine search → detail pair over
Which layers exist for a keyword? (500+ catalogue)
Official WGS84 ↔ LV95 conversion via the swisstopo REFRAME service
Compute an elevation profile along a line
Resolve a commune both directions (name ↔ bfsnumber) or list all communes of a canton / district. Accepts canton abbreviation (ZH) or key (1); resolution happens server-side
Convert Swiss addresses, place names, or postal codes to coordinates
Get details and download links for a STAC collection
Resolve a cadastral property ID (EGRID) from coordinates
Get elevation above sea level (m a.s.l.) at a coordinate
Retrieve public-law land-use restrictions (OEREB) for a parcel
Discover layer keys for swisstopoquerygeodata (strassenverzeichnis, oereb-verfuegbarkeit, geodienste:<topic>:<canton>); filters to contract-free geodienste datasets
Resolve a Swiss postal code → locality, commune (+BFS number), district, canton
The national map catalogue (api3.geo.admin.ch). One operation per call — see the five below
Generate a map.geo.admin.ch URL for browser display
Municipality, canton and official BFS number at a coordinate
Query a chosen layer by point / bbox / commune — amtliches Strassenverzeichnis, interkantonale geodienste.ch data (OGC API Features), or ÖREB availability
OpenStreetMap POIs (schools, playgrounds, pharmacies, …) around a point via Overpass — separate source, ODbL (© OpenStreetMap contributors)
Find the nearest address for given coordinates
Full-text search over Swiss streets and localities, returning commune + BFS number per hit
Search the STAC catalog for downloadable geodatasets
Harmonised building zone at a coordinate — one call, no layer lookup (not legally binding)