About this project

This repository provides an MCP server that gives AI assistants access to Switzerland’s official geodata infrastructure without requiring authentication. It includes 20 tools covering multiple data sources: Swisstopo REST API (layer queries, zoning, municipality lookup), geocoding and reverse‑geocoding, height services (elevation and profiles), STAC catalog for downloadable datasets, WMTS URL generation, OEREB cadastre extracts, inter‑cantonal geodienste.ch data, OpenStreetMap POIs via Overpass, and the OpenPLZ address hierarchy (postal code → commune → district → canton). The server runs on Python 3.11+, supports both stdio (Claude Desktop) and Streamable HTTP transports, and can be installed via pip or uv. Configuration examples are provided for local Claude Desktop usage and for cloud deployment (e.g., Render.com). The tool set is organized into logical groups, each mapping to a specific upstream API family, and the project maintains a clear security posture with read‑only access, egress restrictions, and detailed licensing information for each data source. The architecture diagram illustrates the flow from AI hosts through the MCP server to various Swiss and open‑data providers, emphasizing the BFS commune number as a join key to related open‑data projects. The repository includes comprehensive tests, a hardened Dockerfile, and documentation on security, phases, and the tool budget (20 tools against a 25‑tool limit). It is part of the Swiss Public Data MCP Portfolio and is intended for developers and data consumers needing reliable, official Swiss geographic information.