Swiss Hiking Trails MCP
Enables AI agents to explore Swiss hiking routes with real-time closures, weather, public transport, and POIs, including GPX generation.
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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。