Swiss federal geodata (geo.admin.ch): layers, spatial identify, zoning, heights, LV95 conversion
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
β οΈ DEPRECATED β use
swisstopo-mcpinsteadThis server has been consolidated into
swisstopo-mcpand is no longer maintained. Every capability it offered now exists there, including the one it used to have exclusively β the official REFRAME coordinate conversion.Why: both servers wrapped the same
api3.geo.admin.chendpoints and overlapped in five core tools (layer search, identify, find, height, elevation profile). Maintaining two servers for one data source meant double the audits, double the CVE bumps, and an unclear choice for users. The rationale and the migration steps are documented indocs/merge-plan-swiss-geodata-mcp.md.This repository will be archived. The code below still works, but it receives no further fixes or dependency updates. See Migration below.
π¨π Part of the Swiss Public Data MCP Portfolio
MCP server for Swiss federal geodata (geo.admin.ch).
Connects AI models to the federal geodata infrastructure: ~700 layers discoverable by keyword, spatial identify at any point, building zones (ARE), municipality lookup (swissBOUNDARIES3D), terrain heights and elevation profiles (swissALTI3D), and WGS84βLV95 coordinate conversion. Part of the swiss-public-data-mcp portfolio. Private project, independent of any employer or institutional affiliation.
π©πͺ Deutsche Version
β geo_zoning_at(2683531, 1247914) + geo_height(2683531, 1247914) returns the harmonised ARE zone and 411 m a.s.l. β verified live 2026-07-24.
Combined with swiss-housing-mcp:
β address_to_egid("Seilergraben 76 ZΓΌrich") (housing) delivers the LV95 coordinates β geo_zoning_at + geo_municipality_at (geodata) deliver zone and municipality. If the GWR is the address book, geo.admin.ch is the atlas.
| Tool | Description | Data source |
|---|---|---|
geo_search_layers | Keyword search over the ~700-layer federal catalogue | geo.admin.ch SearchServer |
geo_identify | What is at this LV95 point? (any layer) | geo.admin.ch MapServer identify |
geo_find | Find features on a layer by attribute value | geo.admin.ch MapServer find |
geo_municipality_at | Municipality + canton containing a point | swissBOUNDARIES3D |
geo_zoning_at | Building zone(s) at a point | ch.are.bauzonen (ARE) |
geo_height | Terrain height at a point | swissALTI3D height service |
geo_elevation_profile | Elevation profile along a line | geo.admin.ch profile service |
geo_layer_info | Queryable fields + legend (plain text) for a layer | geo.admin.ch MapServer |
geo_convert_coordinates | WGS84 β LV95 conversion | geodesy.geo.admin.ch reframe |
geo_search_layers is the discovery entry point that scales the whole catalogue without one tool per layer; geo_layer_info then reveals a layer's queryable fields for geo_find.
All tools are read-only (readOnlyHint: β
, destructiveHint: β) and query live upstream services (openWorldHint: β
). None are idempotent in the strict caching sense, as upstream data may change between calls.
This server uses Architecture A (Live-API-only) β a deliberate deviation from the portfolio's dump-first default, documented per portfolio convention:
api3.geo.admin.ch is built exactly for point/feature queries and answered every probe reliably without authentication (live probe 2026-07-24: SearchServer, identify, find, height, profile, legend, layer metadata, reframe β all HTTP 200, No-Auth).provenance: live_api.| Endpoint | HTTP | Status | Note |
|---|---|---|---|
SearchServer type=layers | 200 | β works | catalogue full-text searchable |
| MapServer identify (bauzonen, boundaries) | 200 | β works | tolerance 0 works for polygon layers |
| height service | 200 | β works | value arrives as JSON string |
| profile.json (GET + geom) | 200 | β works | COMB/DTM2/DTM25 altitudes |
MapServer {layer}/legend | 200 | β οΈ HTML | stripped to plain text in geo_layer_info |
| reframe wgs84βlv95 | 200 | β works | coordinates arrive as JSON strings |
| Miss on identify/find | 200 | β οΈ soft | empty results array β not an HTTP error |
| Variable | Default | Purpose |
|---|---|---|
SWISS_GEODATA_TRANSPORT | stdio | stdio | streamable-http | sse |
HOST / PORT | 127.0.0.1 / 8000 | HTTP binding (cloud transports only). Defaults to loopback; set HOST=0.0.0.0 explicitly to expose all interfaces in a cloud deployment. |
No API keys β Phase 1 is authentication-free.
geo_zoning_atgeo_municipality_at (bridges to BFS numbers used by swiss-statistics-mcp and swiss-housing-mcp)geo_elevation_profilegeo_search_layers("lΓ€rm") β geo_layer_info β geo_identifySee EXAMPLES.md for use cases grouped by audience (schools, parents, general public, developers) and a tool-selection reference table.
swiss-housing-mcp; this server is the spatial layer (zones, boundaries, heights). Deliberate separation to avoid twin servers.geo_zoning_at response).zurich-opendata-mcp), not federal; this server provides municipality boundaries, not Schulkreise.geo_identify result counts are capped upstream; area-wide aggregations are out of scope here (see buildings_in_bbox in swiss-housing-mcp for the register case).geo_convert_coordinates.See CHANGELOG.md
Contributions are welcome β see CONTRIBUTING.md for how to report bugs, suggest a new layer, or submit code.
This is a read-only, no-PII, public-open-data server. See SECURITY.md for the security posture and how to report a vulnerability.
MIT License β see LICENSE. Data: Swiss federal geodata infrastructure (geo.admin.ch / swisstopo and publishing federal offices), open government data with attribution.
swiss-housing-mcp (register layer), swiss-statistics-mcp (statistics layer), zurich-opendata-mcp (municipal layer)malkreide Β· GitHub
swisstopo-mcpReplace this server in your MCP client config:
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/swiss-geodata-mcp)<a href="https://allmcps.com/mcp/swiss-geodata-mcp"><img src="https://allmcps.com/api/badge/swiss-geodata-mcp?style=directory" alt="Swiss Geodata MCP on AllMCPs" /></a>