Swiss Hiking Trails MCP

Swiss Hiking Trails MCP

Enables AI agents to explore Swiss hiking routes with real-time closures, weather, public transport, and POIs, including GPX generation.

Category
Visit Server

README

🥾 Swiss Hiking Trails MCP

An MCP server for Swiss hiking routes, built on Swiss open government data. Ask your AI agent things like "I want to do a not-too-hard 4-hour hike in Valais this week — what do you recommend, is it open, how do I get there by train, and give me the GPX."

Live endpoint: https://wandern.opencore.ch/api/mcp (Streamable HTTP, no auth)

What it knows

  • 355 official SchweizMobil Wanderland routes (7 national, ~60 regional, local day hikes) with 887 stages — official hiking times in both directions, distance, ascent/descent, min/max elevation, fitness and technique difficulty, start/end places, cantons.
  • Live closures & diversions from the federal closures layer.
  • Elevation profiles from the swisstopo terrain model.
  • Weather at route elevation (Open-Meteo), public transport to/from trailheads (transport.opendata.ch), POIs along the trail — huts, water, restaurants (OpenStreetMap).
  • GPX generation with elevation data: GET /api/gpx/{routeId}.gpx (e.g. /api/gpx/39.2.gpx).

Tools

Tool Purpose
search_routes Search routes by name/place with filters (length, duration, difficulty, canton, single/multi-day)
find_routes_near Routes near a Swiss place name or coordinates
get_route_details Full route details incl. stages and GPX links
get_elevation_profile Elevation profile (distance/elevation pairs)
check_closures Current closures/diversions near the route
generate_gpx GPX download link for a route or stage
get_weather Daily forecast at route elevation
get_transit_connections Public transport to the start / back from the end
find_pois_along_route Huts, drinking water, restaurants, picnic spots, viewpoints, transit stops

All tools take lang (de default, fr, it, en). Route ids are SchweizMobil route numbers ("1" = Via Alpina), stage ids are "1.5" (route 1, stage 5).

Development

pnpm install
pnpm dev            # MCP endpoint at http://localhost:3000/api/mcp

Rebuilding the route index

The bundled route index (data/) is generated from the official Wanderland dataset (updated roughly yearly):

curl -LO https://data.geo.admin.ch/ch.astra.wanderland/wanderland/wanderland_2056.shp.zip
unzip wanderland_2056.shp.zip -d wanderland
pnpm build-index wanderland/2026_shape_wanderland

Data sources & licenses

Source Data License / terms
Wanderland Schweiz (FEDRO/SchweizMobil) Routes, stages, times, difficulty FSDI terms of use (free with attribution)
GeoAdmin API Closures, elevation, geocoding FSDI terms of use
Open-Meteo Weather CC-BY 4.0
transport.opendata.ch Public transport Free, fair use
OpenStreetMap POIs ODbL

Not an official service of SchweizMobil, swisstopo or the Swiss Confederation.

License

MIT — see LICENSE.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured