Switzerland Land & Woodland MCP
Enables querying Swiss land and woodland regulations including land acquisition rules (BGBB), forest protection laws (WaG), spatial planning zones (RPG), and agricultural leases (LPG). Provides AI assistants with searchable access to federal land law for farmers, notaries, and spatial planners.
README
Switzerland Land & Woodland MCP
Swiss land law, forest protection, and spatial planning via the Model Context Protocol. Query BGBB land acquisition rules, Waldgesetz forest duties, RPG building zones, Fruchtfolgeflaechen quotas, and agricultural leases -- all from your AI assistant.
Part of Ansvar Open Agriculture.
Why This Exists
Swiss land and woodland law is spread across multiple federal acts (BGBB, WaG, RPG, LPG) and cantonal regulations. Farmers, notaries, and spatial planners need quick access to acquisition restrictions, forest clearing rules, building permits in agricultural zones, farmland protection quotas, and lease conditions. This MCP server makes all of it searchable.
Quick Start
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"ch-land-woodland": {
"command": "npx",
"args": ["-y", "@ansvar/ch-land-woodland-mcp"]
}
}
}
Claude Code
claude mcp add ch-land-woodland npx @ansvar/ch-land-woodland-mcp
Streamable HTTP (remote)
https://mcp.ansvar.eu/ch-land-woodland/mcp
Docker (self-hosted)
docker run -p 3000:3000 ghcr.io/ansvar-systems/ch-land-woodland-mcp:latest
npm (stdio)
npx @ansvar/ch-land-woodland-mcp
Example Queries
Ask your AI assistant:
- "Wer darf landwirtschaftlichen Boden kaufen? (BGBB Selbstbewirtschafter)"
- "What are the forest clearing rules in Switzerland?"
- "Can I build a farmhouse in the Landwirtschaftszone?"
- "How are Fruchtfolgeflaechen quotas distributed by canton?"
- "What is the minimum lease duration for Betriebspacht?"
- "Search planning zones for Schutzzone restrictions"
Stats
| Metric | Value |
|---|---|
| Tools | 10 (3 meta + 7 domain) |
| Jurisdiction | CH |
| Data sources | BGBB (SR 211.412.11), WaG (SR 921.0), RPG (SR 700), LPG (SR 221.213.2), Sachplan FFF |
| License (data) | Swiss Federal Administration -- free reuse |
| License (code) | Apache-2.0 |
| Transport | stdio + Streamable HTTP |
Tools
| Tool | Description |
|---|---|
about |
Server metadata, version, coverage, links |
list_sources |
Data sources with authority, URL, license |
check_data_freshness |
Staleness status and refresh instructions |
search_land_rules |
Full-text search across all land/woodland regulations |
get_bgbb_rules |
BGBB land acquisition rules (Selbstbewirtschafter, Realteilung, Ertragswert) |
get_forest_rules |
Waldgesetz duties (Rodungsverbot, Realersatz, Waldabstand) |
get_building_rules |
RPG building rules in agricultural/non-building zones |
get_farmland_protection |
FFF quotas (national minimum, cantonal distribution) |
get_lease_rules |
Agricultural lease rules (LPG duration, rent, termination) |
search_planning_zones |
Planning zone search (Landwirtschafts-, Bau-, Schutzzonen) |
See TOOLS.md for full parameter reference.
Coverage
12 BGBB rules, 8 forest rules, 9 building rules, 16 farmland protection entries, 5 lease rules, 9 planning zones. Jurisdiction: CH (federal level). See COVERAGE.md for gaps and limitations.
Documentation
- TOOLS.md -- full tool reference with parameters and examples
- COVERAGE.md -- what is and is not included
- DISCLAIMER.md -- bilingual legal disclaimer (DE/EN)
- SECURITY.md -- vulnerability reporting
- PRIVACY.md -- data handling
- CHANGELOG.md -- release history
Development
npm install
npm run build
npm test
npm run dev # watch mode
npm run lint # ESLint
npm run typecheck # tsc --noEmit
Data Ingestion
npm run ingest # standard ingestion
npm run ingest:fetch # fetch upstream only
npm run ingest:diff # check for changes
npm run ingest:full # force full rebuild
Automated via GitHub Actions: ingest.yml runs monthly, check-freshness.yml runs daily.
License
Code: Apache-2.0. Data: Swiss Federal Administration -- free reuse.
Built by Ansvar Systems | MCP Network
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。