Switzerland Land & Woodland MCP

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.

Category
Visit Server

README

Switzerland Land & Woodland MCP

CI GHCR License: Apache-2.0

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

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

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
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
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
VeyraX MCP

VeyraX MCP

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

Official
Featured
Local
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
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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
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