eu.ansvar/bulgarian-law-mcp

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

0NOASSERTIONsearch

Install

Config snippet generator goes here (5 client tabs)

README

# Bulgarian Law MCP Server

**The Lex.bg alternative for the AI age.**

[![npm version](https://badge.fury.io/js/@ansvar%2Fbulgarian-law-mcp.svg)](https://www.npmjs.com/package/@ansvar/bulgarian-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/Bulgarian-law-mcp?style=social)](https://github.com/Ansvar-Systems/Bulgarian-law-mcp)
[![CI](https://github.com/Ansvar-Systems/Bulgarian-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Bulgarian-law-mcp/actions/workflows/ci.yml)
[![Daily Data Check](https://github.com/Ansvar-Systems/Bulgarian-law-mcp/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/Bulgarian-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-17%2C103-blue)](docs/EU_INTEGRATION_GUIDE.md)

Query **1,997 Bulgarian statutes** -- from the Закон за защита на личните данни (ЗЗЛД) and Наказателен кодекс to the Граждански процесуален кодекс, Търговски закон, and more -- directly from Claude, Cursor, or any MCP-compatible client.

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

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

---

## Why This Exists

Bulgarian legal research is scattered across Lex.bg, the Държавен вестник (State Gazette), 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 Bulgarian law
- A **researcher** tracing legislative provisions across 1,997 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 Bulgarian 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://bulgarian-law-mcp.vercel.app/mcp`

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

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

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

### Use Locally (npm)

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

**Cursor / VS Code:**

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

---

## Example Queries

Once connected, just ask naturally:

- *"Търсене 'защита на личните данни' -- какви задължения предвижда ЗЗЛД?"*
- *"Действа ли Наказателният кодекс в актуалния му вид?"*
- *"Намери разпоредби за търговски дружества в Търговския закон"*
- *"Кои европейски актове са въведени чрез Закона за електронното управление?"*
- *"Кои български закони прилагат GDPR?"*
- *"Потвърди цитат: ЗЗЛД чл. 6, ал. 1"*
- *"Изгради правна позиция относно задълженията за уведомяване при нарушения на сигурността"*
- *"Съответства ли българското законодателство на изискванията на NIS2?"*

---

## What's Included

| Category | Count | Details |
|----------|-------|---------|
| **Statutes** | 1,997 statutes | Comprehensive Bulgarian legislation from parliament.bg |
| **Provisions** | 17,103 sections | Full-text searchable with FTS5 |
| **EU Cross-References** | Included | Directives and regulations linked to Bulgarian transpositions |
| **Database Size** | 93 MB | Optimized SQLite, portable |
| **Daily Updates** | Automated | Freshness checks against Lex.bg / Държавен вестник |

**Verified data only** -- every citation is validated against official sources (parliament.bg, Lex.bg). Zero LLM-generated content.

---