belex MCP Server
Enables searching and retrieving court decisions from the Elasticsearch index of the Verwaltungsgericht Bern.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@belex MCP ServerI need the building law, BSG 721.0"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
belex — Berner Recht & Gerichtspraxis als MCP-Server
Ein MCP-Server, der KI-Assistenten (Claude & Co.) zitierfähigen Zugriff auf zwei Bestände des Kantons Bern gibt:
Gesetze — die Bernische Systematische Gesetzessammlung (BSG)
Gerichtspraxis — die Urteile des Verwaltungsgerichts des Kantons Bern
Anders als das Bundesrecht liegen beide nicht als offene Schnittstelle vor. belex führt sie zusammen und liefert jede Antwort mit Fundstelle (BSG-Nummer + Stand bzw. Geschäftsnummer + Datum) aus den amtlichen Quellen.
⚠️ Rechtsinformation, keine Rechtsberatung. Die Ausgaben können unvollständig oder nicht mehr aktuell sein und ersetzen keine anwaltliche Prüfung. Verbindlich ist allein die amtliche Fassung (www.belex.sites.be.ch bzw. das Original des Gerichts). Im Zweifel immer juristisch prüfen lassen.
Tools
Tool | Bestand | Zweck |
| Gesetze | Erlasse per Stichwort finden |
| Gesetze | Erlass per BSG-Nummer (z. B. |
| Gesetze | Einzelnen Artikel herausschneiden |
| Gesetze | Datenstand (Anzahl, Quelle, Indexdatum) |
| Urteile | VGer-Urteile per Stichwort im Volltext |
| Urteile | Urteil per Geschäftsnummer (z. B. |
| Urteile | Datenstand (Anzahl, neuester Entscheid) |
Related MCP server: Switzerland Land & Woodland MCP
Nutzen (Remote, ohne Installation)
claude_desktop_config.json:
{
"mcpServers": {
"belex": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://belex.blueforce.ch/mcp"]
}
}
}Danach das KI-Tool neu starten. Landing-Page & Demo: https://belex.blueforce.ch
Datenquellen & Architektur
Gesetze: lokaler SQLite-Index (FTS5), tagesaktuell gebaut aus der undokumentierten, aber stabilen JSON-API der BELEX-App (
belex.sites.be.ch/api).Gerichtspraxis: live abgefragt aus der offenen Elasticsearch von entscheidsuche.ch (gefiltert auf das Verwaltungsgericht Bern), kein eigener Index nötig.
src/belex_source.py Gesetze: Download + Index (SQLite/FTS5)
src/vg_live.py Gerichtspraxis: Live-Abfrage entscheidsuche-ES
src/server.py FastMCP-Server mit allen 7 Tools (stdio + HTTP)
src/http_app.py schlanker WSGI-Adapter: GET / = Landing-Page, POST /mcp = MCP
passenger_wsgi.py Einstieg für gehosteten Betrieb (LiteSpeed/Passenger)
static/ Landing-Page + AssetsLokal betreiben (stdio, Claude Desktop)
python3 -m venv .venv && . .venv/bin/activate
pip install -r requirements.txt
python src/belex_source.py --live # Gesetzes-Index bauen (~3 Min)
python src/server.py # stdio-ServerRefresh der Gesetze (die BSG ändert am 1. des Monats): denselben --live-Befehl
erneut ausführen (z. B. als Monats-Cron).
Lizenz
Code: MIT. Gesetze und Gerichtsentscheide sind amtliche Werke (Art. 5 URG) und nicht urheberrechtlich geschützt. belex ist kein amtliches Angebot des Kantons Bern.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-quality-maintenanceProvides access to Swiss court decisions through the entscheidsuche.ch API, enabling search, retrieval, and analysis of legal documents across different cantons and courts using natural language queries.Last updated
- Alicense-qualityCmaintenanceEnables 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.Last updated33Apache 2.0
- Alicense-qualityDmaintenanceEnables AI assistants to search and analyze German legal texts using vector embeddings and semantic search.Last updated84MIT
- AlicenseAqualityAmaintenanceMCP Server for Swiss federal law — search the SR, monitor legal changes, and query BBl/treaties via Claude Desktop or Claude.ai.Last updated122MIT
Related MCP Connectors
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.
Suche in Schweizer Gerichtsentscheiden aller Instanzen (Bund, Kantone) in DE/FR/IT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/blueforce/belex-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server