eu.ansvar/croatian-law-mcp

Croatian legislation via MCP — full-text search across statutes and provisions

0NOASSERTIONsearch

Install

Config snippet generator goes here (5 client tabs)

README

# Croatian Law MCP Server

**The NN (Narodne novine) alternative for the AI age.**

[![npm version](https://badge.fury.io/js/@ansvar%2Fcroatian-law-mcp.svg)](https://www.npmjs.com/package/@ansvar/croatian-law-mcp)
[![MCP Registry](https://img.shields.io/badge/MCP-Registry-blue)](https://registry.modelcontextprotocol.io)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![GitHub stars](https://img.shields.io/github/stars/Ansvar-Systems/croatian-law-mcp?style=social)](https://github.com/Ansvar-Systems/croatian-law-mcp)
[![CI](https://github.com/Ansvar-Systems/croatian-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/croatian-law-mcp/actions/workflows/ci.yml)
[![Database](https://img.shields.io/badge/database-pre--built-green)](docs/EU_INTEGRATION_GUIDE.md)
[![Provisions](https://img.shields.io/badge/provisions-157%2C667-blue)](docs/EU_INTEGRATION_GUIDE.md)

Query **4,531 Croatian statutes** -- from the Zakon o provedbi GDPR and Kazneni zakon to the Zakon o radu, Zakon o trgovačkim društvima, and more -- directly from Claude, Cursor, or any MCP-compatible client.

If you're building legal tech, compliance tools, or doing Croatian legal research, this is your verified reference database.

Built by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden

---

## Why This Exists

Croatian legal research means navigating Narodne novine, zakon.hr, and EUR-Lex for EU implementation status -- across a dense system of codes and implementing regulations. Whether you're:

- A **lawyer** validating citations before the Vrhovni sud (Supreme Court) or Ustavni sud (Constitutional Court)
- A **compliance officer** checking GDPR implementation status under the Zakon o provedbi Opće uredbe o zaštiti podataka
- A **legal tech developer** building tools on Croatian law
- A **researcher** tracing EU directive transposition across 4,531 statutes

...you shouldn't need dozens of browser tabs and manual cross-referencing. Ask Claude. Get the exact provision. With context.

This MCP server makes Croatian law **searchable, cross-referenceable, and AI-readable**.

---

## Quick Start

### Use Remotely (No Install Needed)

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

**Endpoint:** `https://croatian-law-mcp.vercel.app/mcp`

| Client | How to Connect |
|--------|---------------|
| **Claude.ai** | Settings > Connectors > Add Integration > paste URL |
| **Claude Code** | `claude mcp add croatian-law --transport http https://croatian-law-mcp.vercel.app/mcp` |
| **Claude Desktop** | Add to config (see below) |
| **GitHub Copilot** | Add to VS Code settings (see below) |

**Claude Desktop** -- add to `claude_desktop_config.json`:

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

**GitHub Copilot** -- add to VS Code `settings.json`:

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

### Use Locally (npm)

```bash
npx @ansvar/croatian-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`

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

**Cursor / VS Code:**

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

## Example Queries

Once connected, just ask naturally:

- *"Što govori Zakon o provedbi Opće uredbe o zaštiti podataka o privoli?"*
- *"Je li Kazneni zakon još uvijek na snazi?"*
- *"Pretraži 'zaštita osobnih podataka' u hrvatskom zakonodavstvu"*
- *"Koje EU direktive provodi Zakon o radu?"*
- *"Što kaže članak 144. Kaznenog zakona o povredi tajnosti?"*
- *"Pronađi odredbe o prijavljivanju povreda osobnih podataka"*
- *"Koji hrvatski zakoni provode NIS2 direktivu?"*
- *"Validiraj citat 'članak 5. Zakona o zaštiti osobnih podataka'"*
- *"Usporedi zahtjeve za zaštitu podataka kroz NIS2 implementacije u hrvatskom pravu"*

---

## What's Included

| Category | Count | Details |
|----------|-------|---------|
| **Statutes** | 4,531 statutes | Comprehensive Croatian legislation from Narodne novine |
| **Provisions** | 157,667 articles | Full-text searchable with FTS5 |
| **Database Size** | 253 MB | Optimized SQLite, portable |
| **Freshness Checks** | Automated | Drift detection against Narodne novine |

**Verified data only** -- every citation is validated against official sources (Narodne novine, zakon.hr). Zero LLM-generated content.

---

## See It In Action

### Why This Works

**Verbatim Source Text (No LLM Processing):**
- All statute text is ingested from Narodne novin