Skip to content

rnckp/awesome-open-legal-switzerland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Awesome Open Legal Data Switzerland

GitHub Stars GitHub Issues GitHub Issues Awesome

A manually curated list of open legal data sources, tools, and resources in Switzerland.

Contents

Parliamentary Data

Federal Legislation & Official Publications

  • Fedlex - Publication platform for Swiss federal law. Includes the Systematic Compilation of Federal Law (SR), the Official Compilation (AS), the Federal Gazette (BBl), international treaties, and consultation procedures. Multilingual (DE/FR/IT) with a SPARQL endpoint.
  • Historical Federal Law (AS 1948-2018) - Bulk-data archive from the Swiss Federal Archives. Contains all Official Compilation files from 1948 to 2018 as XML, with legal classification tables in three languages.
  • Swiss Federal Gazette (BBl) - Official journal of federal legislation. Publishes drafts, dispatches, and official texts weekly. Archives back to 1849 are accessible via Fedlex.
  • Official Gazettes Portal (Amtsblattportal) - Central platform for official legal notices. Hosts the Swiss Official Gazette of Commerce (SOGC/SHAB) and cantonal gazettes. A REST API is available.

Legal Data Infrastructure & Metadata

  • Fedlex Linked Data - Persistent URIs for each act or article. SPARQL endpoint with a documented ontology (JOLux data model). Enables programmatic retrieval of law texts, metadata, versions, and relationships.
  • TERMDAT - Federal Administration's multilingual terminology database for legal and administrative terms.
  • International Treaties Database - Switzerland's binding international agreements.

Cantonal Legislation

All 26 cantons maintain official, freely accessible law collections:

Judicial Decisions

Federal Courts

Aggregated & Research Data

  • Entscheidsuche.ch - Non-profit initiative aggregating all publicly available Swiss court decisions (federal and cantonal). [GitHub]
  • Swiss Federal Supreme Court Dataset (SCD) - Structured dataset of all Federal Supreme Court cases from 2007 to 2024 (127k+ cases). Updated quarterly. Released under CC-BY 4.0.
  • FSCS Swiss Court Decisions Corpus - Multilingual text corpus of 85k Federal Supreme Court judgments (2000-2020) in DE/FR/IT for NLP research and legal judgment prediction. [GitHub]
  • Swiss Landmark Decisions Summarization (SLDS) - Cross-lingual dataset with 20k Federal Supreme Court rulings paired with official headnote summaries in DE/FR/IT (60k data points). Released under CC-BY 4.0.
  • Justement.ch - Commercial legal search engine aggregating Swiss court decisions. A free tier is available for Federal Supreme Court decisions; advanced features require a paid subscription.

Legal Commentary & Secondary Sources

  • Onlinekommentar.ch - The first non-profit, open-access commentary platform in Switzerland. [API]
  • Repositorium.ch - Specialist subject repository for Swiss law. Central, freely and openly accessible, Switzerland-wide and Switzerland-related, institution-independent and discipline-specific.
  • Fragmeisterjuristen.ch - Open-access legal AI chatbot by University of St. Gallen (2024). Answers questions on Swiss law with citations to classical legal scholarship.
  • sui-generis.ch - Open-access law journal and non-profit publisher. Published Switzerland's first open-access law textbook, "Introduction to Swiss Law," in 2018.
  • ex/ante - Open-access journal for (young) legal scholars. Publishes peer-reviewed articles, essays, and case comments in multiple languages.
  • Center for Legal Data Science (UZH) - Data-driven legal research and dataset links.

MCP Servers

Warning

MCP servers can create security and privacy risks even when you do not use them with sensitive data. Depending on how they are built and configured, they may read data from your AI tool, workspace, or local machine, send data to third-party services, change files, run commands, or expose your device to additional attack surfaces. Even a server that runs only on your own computer can still pose a serious risk to that computer. Only use MCP servers that you understand and trust, and review their code, permissions, operator, and deployment setup before enabling them.

Core Swiss Law & Legislation

  • Ansvar-Systems/switzerland-law-mcp - Swiss federal-law MCP server for Fedlex/SR, covering searchable provisions, citation validation, currency checks, and EU-law cross-references.
  • malkreide/fedlex-mcp - Fedlex MCP server for Swiss federal law; searches the Systematic Compilation, recent publications, upcoming legal changes, Federal Gazette, treaties, and law history.
  • janmanuelwinkler/hf_lexfind_mcp - Offline Swiss law search MCP server over 35,000+ federal and cantonal laws from a LexFind-derived Hugging Face dataset.
  • JayTheSkier/fedlex-connector - A connector that gives Claude direct access to the official text of Swiss federal legislation on Fedlex.

Swiss Case Law & Courts

  • jonashertner/caselaw-repo-1 - OpenCaseLaw Swiss case-law dataset and MCP server, with 965k+ court decisions, citation analysis, statute lookup, and legislation search.
  • malkreide/swiss-courts-mcp - MCP server for Swiss court decisions via entscheidsuche.ch, covering the Federal Supreme Court, federal courts, and all 26 cantonal courts.
  • self-tech-labs/entscheidsuche-MCP-server - MCP server for searching and retrieving Swiss federal and cantonal court decisions through the Entscheidsuche API.
  • Gian-MarcoModer/opencaselaw-mcp - Minimal OpenCaseLaw MCP deployment/wrapper repository; appears to launch a local FastAPI/uvicorn MCP service.

Swiss Legal Commentary & Doctrine

  • self-tech-labs/onlinekommentar-mcp - MCP server for Swiss legal commentaries from onlinekommentar.ch, including search, retrieval, multilingual support, and act filtering.
  • self-tech-labs/onlinekommentar-remote-mcp - Remote MCP/Cloudflare Workers variant related to Online Kommentar; the public README appears mostly template-like, so verify implementation before relying on it.

Swiss Legal-Agent Frameworks

  • fedec65/bettercallclaude - Swiss legal-intelligence plugin that connects multiple MCP servers for Swiss court search, BGE search, citation verification, Fedlex SPARQL, Online Kommentar, CAS/TAS jurisprudence, and document intelligence.
  • fedec65/BetterCallClaudeMCP - Dedicated MCP-server source repository referenced by BetterCallClaude for its remote Swiss legal MCP servers and HTTP aggregator.

Swiss Regulatory / Public-Law MCP Servers

  • malkreide/swiss-public-data-mcp - Central index for Swiss public-data MCP servers; its “Legal & Regulatory” section lists Fedlex, BAKOM telecom/media, and Swiss IP MCP servers.
  • malkreide/bakom-mcp - BAKOM telecommunications and media open-data MCP server, categorized as “Legal & Regulatory” in the Swiss Public Data MCP portfolio.
  • malkreide/swiss-ip-mcp - Swiss IP MCP server for IGE/IPI Swissreg data, including trademarks, patents, and supplementary protection certificates.
  • malkreide/register-mcp - Read-only MCP server for the Swiss Federal Commercial Register/Zefix and Swiss Official Gazette of Commerce references.
  • Ansvar-Systems/ch-land-woodland-mcp - Swiss land and woodland law/regulation MCP server covering land acquisition, forest protection, building zones, farmland protection, and agricultural lease rules.
  • Ansvar-Systems/ch-food-safety-mcp - Swiss food-safety law MCP server for Lebensmittelgesetz, HACCP, labelling, and Swissness origin-marking regulations.
  • Ansvar-Systems/ch-farm-safety-mcp - Swiss farm workplace-safety MCP server covering BUL/SPAA, Suva, EKAS, machinery safety, chemical exposure, youth-work restrictions, and accident-reporting duties.
  • malkreide/swiss-food-safety-mcp - BLV/Federal Food Safety and Veterinary Office data MCP server; not purely legal, but useful for regulated food/veterinary compliance and links to food-law workflows.

Fact-Checking / Legal-Reference Adjacent

  • swisstruthorg/swiss-truth-mcp - Swiss fact-checking MCP server that uses official sources and can cite Swiss legal mandates, such as KVG health-insurance obligations.

Miscellaneous

  • Open Access content collection University of Basel - List of repositories, collections, e-journals and blogs with open access content.
  • ejustice.ch - Association connecting cantonal and federal legal authorities, practitioners, service providers, and stakeholders to promote digital innovation in Swiss justice administration.
  • Open Legal Lab - Free two-day event bringing together legal, tech, design, and data experts to develop innovative solutions for Swiss justice.
  • Awesome Legal Data - Curated list of open legal data sources, tools, and resources worldwide.

About

A manually curated list of open legal data sources, tools, and resources in Switzerland.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors