MCP Hub
Back to servers

slovenian-law-mcp

Query Slovenian statutes, court decisions, EU cross-references, and parliamentary materials

Registry
Updated
Feb 14, 2026

Quick Install

npx -y @ansvar/slovenian-law-mcp

Slovenian Law MCP

Production-grade Model Context Protocol server for Slovenian legal research.

npm version MCP Registry License CI Daily Data Check

It provides structured access to:

  • Slovenian statutes and regulations (PIS / pisrs.si)
  • Slovenian case law metadata (sodnapraksa.si)
  • EU legal cross-references (EUR-Lex metadata)
  • Parliamentary preparatory works (Drzavni zbor)

Package: @ansvar/slovenian-law-mcp
MCP name: eu.ansvar/slovenian-law-mcp

Features

  • 14 MCP tools for legal search, citation handling, temporal retrieval, and EU-compliance checks
  • SQLite + FTS5 query engine optimized for article-level lookup
  • Seed-based database build included in repository
  • Optional paid enrichment pipeline (case law ingestion, cross-references, EU import)
  • Stdio transport (CLI/MCP clients) and streamable HTTP transport (Vercel API)

Quick Start

Use Remotely (No Install Needed)

Connect directly to the hosted version — zero dependencies, nothing to install.

Endpoint: https://slovenian-law-mcp.vercel.app/mcp

ClientHow to Connect
Claude.aiSettings > Connectors > Add Integration > paste URL
Claude Codeclaude mcp add slovenian-law --transport http https://slovenian-law-mcp.vercel.app/mcp
Claude DesktopAdd to config (see below)
GitHub CopilotAdd to VS Code settings (see below)

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "slovenian-law": {
      "type": "url",
      "url": "https://slovenian-law-mcp.vercel.app/mcp"
    }
  }
}

GitHub Copilot — add to VS Code settings.json:

{
  "github.copilot.chat.mcp.servers": {
    "slovenian-law": {
      "type": "http",
      "url": "https://slovenian-law-mcp.vercel.app/mcp"
    }
  }
}

Use Locally (npm)

npx @ansvar/slovenian-law-mcp

Claude Desktop — add to claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "slovenian-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/slovenian-law-mcp"]
    }
  }
}

Cursor / VS Code:

{
  "mcp.servers": {
    "slovenian-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/slovenian-law-mcp"]
    }
  }
}

Local Development

Prerequisites:

  • Node.js 18+ (Node 20+ recommended)
  • npm

Setup:

npm install
npm run verify:seeds
npm run build
npm test

Run server locally:

npm run dev

Seeded Database

The repository ships with seed files in data/seed/*.json.

  • Build seed database: npm run build:db
  • Audit seed quality: npm run audit:seeds
  • Full seed verification (audit + rebuild): npm run verify:seeds

The prepublishOnly hook enforces release verification:

  • npm run verify:release (seed audit, seed DB build, TypeScript build, tests)

Default runtime DB path:

  • data/database.db

Override with:

  • SLOVENIAN_LAW_DB_PATH=/absolute/path/to/database.db

MCP Tools

  1. search_legislation
  2. get_provision
  3. search_case_law
  4. get_preparatory_works
  5. validate_citation
  6. build_legal_stance
  7. format_citation
  8. check_currency
  9. get_eu_basis
  10. get_slovenian_implementations
  11. search_eu_implementations
  12. get_provision_eu_basis
  13. validate_eu_compliance
  14. get_provision_at_date

HTTP Deployment (Vercel)

This repository includes:

  • api/mcp.ts (streamable HTTP MCP endpoint)
  • api/health.ts (health endpoint)
  • vercel.json rewrites:
    • /mcp -> /api/mcp
    • /health -> /api/health

Docker

Build image (requires prebuilt DB):

npm run build:db
docker build -t slovenian-law-mcp .

Data Sources

CI/CD & Security

This repository uses GitHub Actions for automated quality and security enforcement:

WorkflowSchedulePurpose
CIPush / PRBuild, test (Node 18/20/22), type check, coverage
CodeQLPush / PR / WeeklySemantic code analysis (security-extended queries)
TrivyPush / PR / DailyDependency vulnerability scanning (SARIF)
SemgrepPush / PRSAST — OWASP Top 10, secrets, JS/TS rules
GitleaksPush / PRSecret scanning across full git history
OSSF ScorecardPush / WeeklyRepository security hygiene scoring
Socket SecurityPush / PRSupply chain attack detection
Docker SecurityPush / PR / DailyContainer image scanning + SBOM (CycloneDX, SPDX)
Data FreshnessDailyPIS portal amendment check, auto-issue creation
PublishTag v*npm publish (with provenance) + MCP Registry
MCPB BundleTag v*MCPB distribution bundle

Release Checklist

npm run verify:release
npm pack --dry-run

Important Disclaimers

Legal Advice

THIS TOOL IS NOT LEGAL ADVICE

Statute text is sourced from official PIS/pisrs.si publications. However:

  • This is a research tool, not a substitute for professional legal counsel
  • Court case coverage is limited -- do not rely solely on this for case law research
  • Verify critical citations against primary sources for court filings
  • EU cross-references are extracted from Slovenian statute text, not EUR-Lex full text

Client Confidentiality

Queries go through the Claude API. For privileged or confidential matters, use on-premise deployment. Lawyers should consider Odvetniška zbornica Slovenije (Slovenian Bar Association) confidentiality obligations when using cloud-based AI tools.

Related Projects: Complete Compliance Suite

This server is part of Ansvar's Compliance Suite -- MCP servers that work together for end-to-end compliance coverage:

@ansvar/eu-regulations-mcp

Query 49 EU regulations directly from Claude -- GDPR, AI Act, DORA, NIS2, MiFID II, eIDAS, and more. Full regulatory text with article-level search. npx @ansvar/eu-regulations-mcp

@ansvar/slovenian-law-mcp (This Project)

Query Slovenian statutes directly from Claude -- ZVOP-2, KZ-1, ZGD-1, and more. Full provision text with EU cross-references. npx @ansvar/slovenian-law-mcp

@ansvar/swedish-law-mcp

Query 717 Swedish statutes directly from Claude -- DSL, BrB, ABL, MB, and more. Full provision text with EU cross-references. npx @ansvar/swedish-law-mcp

@ansvar/us-regulations-mcp

Query US federal and state compliance laws -- HIPAA, CCPA, SOX, GLBA, FERPA, and more. npm install @ansvar/us-regulations-mcp

@ansvar/ot-security-mcp

Query IEC 62443, NIST 800-82/53, and MITRE ATT&CK for ICS -- Specialized for OT/ICS environments. npx @ansvar/ot-security-mcp

@ansvar/automotive-cybersecurity-mcp

Query UNECE R155/R156 and ISO 21434 -- Automotive cybersecurity compliance. npx @ansvar/automotive-cybersecurity-mcp

@ansvar/sanctions-mcp

Offline-capable sanctions screening -- OFAC, EU, UN sanctions lists. pip install ansvar-sanctions-mcp

Citation

If you use this MCP server in academic research:

@software{slovenian_law_mcp_2025,
  author = {Ansvar Systems AB},
  title = {Slovenian Law MCP Server: Production-Grade Legal Research Tool},
  year = {2025},
  url = {https://github.com/Ansvar-Systems/Slovenian-law-mcp},
  note = {Comprehensive Slovenian legal database with EU law cross-references}
}

Legal

  • License: Apache-2.0
  • Security policy: see SECURITY.md
  • Contribution guidelines: see CONTRIBUTING.md

Data Licenses

  • Statutes & Regulations: Republic of Slovenia (public domain via PIS)
  • Case Law Metadata: sodnapraksa.si (public domain)
  • EU Metadata: EUR-Lex (EU public domain)
  • Parliamentary Materials: Državni zbor (public domain)

About Ansvar Systems

We build AI-accelerated compliance and legal research tools for the European market. This MCP server is part of our growing suite of jurisdiction-specific legal research tools.

ansvar.eu -- Stockholm, Sweden

Reviews

No reviews yet

Sign in to write a review