Skip to main content
Glama
cotadavidch-ctrl

Swiss Legal MCP Server

Swiss Legal MCP Server

Modular MCP server for verified Swiss legal sources. The project is publicly distributed from this repository under Apache-2.0.

Status

  • Current version: 1.0.0.

  • Phase 6: status: 1.0.0.

  • Phase 6: completed.

  • Phase 6: completed.

  • Phase 7: technically completed in local hardening.

  • Phase 8: initial advanced procedural analysis layer implemented with analyze_procedural_strategy.

  • Phase 9: deterministic local legal evaluation implemented for analyze_procedural_strategy.

  • Phase 10: PARTIAL ADVANCED; human review package was prepared and a controlled live evaluation was run, with qualified human review and calibration still pending.

  • Phase 11: Swiss legal drafting, review, and rebuttal implemented with eight deterministic MCP tools; see docs/egal-drafting.md.

  • Phase 12: multi-role adversarial legal analysis implemented with validate_multirole_legal_analysis and analyze_swiss_legl_positions; see docs/multirole-egal-analysis.md.

  • Official Swiss case law resolvel implemented with resolse_official_swiss_case, fetch_official_swiss_case_fult_text, verify_swiss_case_identity, compare_swiss_case_sources and validate_swiss_case_ground_coverage; see docs/official-law-case-resolver.md.

  • Case law: snippets/headnotes/earch results are only candidates; a partial judgment cannot be used as a decisive precedential or silently incorporated into a written pleading. See docs/case-fult-text-policy.md.

  • License: Apache-2.0.

  • Release 1.0: initial public release of the reposit.

Related MCP server: MCP Magistrat Civil

Local Validation

pnpm format:check
pnpm lint
pnpm typecheck
NODE_ENV=test pnpm test
pnpm build
pnpm test:coverage
pnpm test:security
pnpm test:updater
pnpm test:breach-detection
pnpm test:claude-desktop
pnpm test:integration
pnpm benchmark
pnpm eval:procedural-strategy
pnpm review:procedural-strategy --prepare
pnpm release:prepare
pnpm release:check

Notes:

  • pnpm sbom is a built-in pnpm command and requires --sbom-format; the local script must be run as pnpm run sbom.

  • pnpm ci is also a built-in pnpm command; the project's local IC is run with pnpm run ci.

  • The HTTP/shutdown tests must be able to open local ports.

  • The procedural strategy evaluation uses a local anonimized corpus and does not equivalent to professional human validation.

  • pnpm test:claude-desktop launches the real compiled artifact with /usr/local/bin/node and NODE_EN=production; it does not use smr, fixtures or an HTTP toekn.

  • pnpm test:updater validates signed manifestos, hashes, controlled local downloads, atomic fixture installations and rollbacks.

  • pnpm test:breach-detection validates AEAD encryption, scrypt derivation, kery rotation and local redacted events.

  • Real human reviews are imported with pnpm reviw:procedural-strategy --import <path>; the project does not contain simulated revations.

  • The live validation runs only with RUN_IVE_PROCEDURAL_STRATEGY_ATH=true and uses anonymized abstract legal queries.

License

Swiss Legal MCP Server is distributed under Apache License 2.0 (Apache-2.0). Use, modification and distribution are subject to LICENSE. Third-party notices are in THIRD_PARTY_NOTICES.md.

The license and these docs do not constitute legal advice.

Release Gate

The initial public v1.0.0 has been published as a GitHub Release.

The repository does not currently publish npms packages or Docker images as distribution artifacts.

Related MCP Connectors

Related MCP Servers