eu.ansvar/hungarian-law-mcp

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

1NOASSERTIONsearch

Install

Config snippet generator goes here (5 client tabs)

README

# Hungarian Law MCP Server

**The Magyar Közlöny alternative for the AI age.**

[![npm version](https://badge.fury.io/js/@ansvar%2Fhungarian-law-mcp.svg)](https://www.npmjs.com/package/@ansvar/hungarian-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/Hungarian-law-mcp?style=social)](https://github.com/Ansvar-Systems/Hungarian-law-mcp)
[![CI](https://github.com/Ansvar-Systems/Hungarian-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Hungarian-law-mcp/actions/workflows/ci.yml)
[![Daily Data Check](https://github.com/Ansvar-Systems/Hungarian-law-mcp/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/Hungarian-law-mcp/actions/workflows/check-updates.yml)
[![Database](https://img.shields.io/badge/database-pre--built-green)](docs/EU_INTEGRATION_GUIDE.md)
[![Provisions](https://img.shields.io/badge/provisions-130%2C124-blue)](docs/EU_INTEGRATION_GUIDE.md)

Query **4,314 Hungarian statutes** -- from the GDPR végrehajtási törvény and Büntető Törvénykönyv to the Polgári Törvénykönyv, Munka Törvénykönyve, and more -- directly from Claude, Cursor, or any MCP-compatible client.

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

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

---

## Why This Exists

Hungarian legal research is scattered across njt.hu (Nemzeti Jogszabálytár), Magyar Közlöny publications, and EUR-Lex. Whether you're:
- A **lawyer** validating citations in a brief or contract
- A **compliance officer** checking if a statute is still in force
- A **legal tech developer** building tools on Hungarian law
- A **researcher** tracing legislative provisions across 4,314 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 Hungarian 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://hungarian-law-mcp.vercel.app/mcp`

| Client | How to Connect |
|--------|---------------|
| **Claude.ai** | Settings > Connectors > Add Integration > paste URL |
| **Claude Code** | `claude mcp add hungarian-law --transport http https://hungarian-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": {
    "hungarian-law": {
      "type": "url",
      "url": "https://hungarian-law-mcp.vercel.app/mcp"
    }
  }
}
```

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

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

### Use Locally (npm)

```bash
npx @ansvar/hungarian-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": {
    "hungarian-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/hungarian-law-mcp"]
    }
  }
}
```

**Cursor / VS Code:**

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

---

## Example Queries

Once connected, just ask naturally:

- *"Keresés 'adatvédelem' -- milyen kötelezettségeket állapít meg a GDPR végrehajtási törvény?"*
- *"Hatályban van-e a Büntető Törvénykönyv 370. §-a?"*
- *"Találj rendelkezéseket a munkavállalók védelméről a Munka Törvénykönyvében"*
- *"Melyik uniós irányelvet ültette át a Polgári Törvénykönyv fogyasztóvédelmi fejezete?"*
- *"Melyik magyar törvények ültetik át a GDPR-t?"*
- *"Ellenőrizd a hivatkozást: Btk. 370. § (1) bek."*
- *"Állíts össze jogi álláspontot az adatvédelmi incidensek bejelentési kötelezettségéről"*
- *"Megfelel-e a magyar kibervédelmi törvény a NIS2 irányelv követelményeinek?"*

---

## What's Included

| Category | Count | Details |
|----------|-------|---------|
| **Statutes** | 4,314 statutes | Comprehensive Hungarian legislation from njt.hu |
| **Provisions** | 130,124 sections | Full-text searchable with FTS5 |
| **Case Law** | 11,519 decisions | Court decisions (premium tier) |
| **EU Cross-References** | Included | Directives and regulations linked to Hungarian transpositions |
| **Database Size** | 282 MB | Optimized SQLite, portable |
| **Daily Updates** | Automated | Freshness checks against njt.hu |

**Verified dat