eu.ansvar/dominican-law-mcp

Dominican Republic legislation via MCP -- full-text search across statutes and provisions

0NOASSERTIONsearch

Install

Config snippet generator goes here (5 client tabs)

README

# Dominican Republic Law MCP Server

**The Senado de la República Dominicana alternative for the AI age.**

[![npm version](https://badge.fury.io/js/@ansvar%2Fdominican-law-mcp.svg)](https://www.npmjs.com/package/@ansvar/dominican-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/Dominican-law-mcp?style=social)](https://github.com/Ansvar-Systems/Dominican-law-mcp)
[![CI](https://github.com/Ansvar-Systems/Dominican-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Dominican-law-mcp/actions/workflows/ci.yml)
[![Database](https://img.shields.io/badge/database-pre--built-green)](https://github.com/Ansvar-Systems/Dominican-law-mcp)

Query **Dominican Republic statutes** -- from Ley 172-13 on data protection and the Código Penal to the Código de Trabajo and Código Civil -- directly from Claude, Cursor, or any MCP-compatible client.

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

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

---

## Why This Exists

Dominican legal research is scattered across senado.gob.do, camaradediputados.gob.do, and consultoria.gov.do. Whether you're:
- A **lawyer** validating citations in a brief or contract
- A **compliance officer** checking whether a statute is still in force
- A **legal tech developer** building tools on Dominican law
- A **researcher** tracing legislative developments across the Congreso Nacional

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

This MCP server makes Dominican Republic 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://dominican-law-mcp.vercel.app/mcp`

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

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

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

### Use Locally (npm)

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

**Cursor / VS Code:**

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

---

## Example Queries

Once connected, just ask naturally (in Spanish or English):

- *"¿Qué dice la Ley 172-13 sobre protección de datos personales respecto al consentimiento?"*
- *"Buscar disposiciones sobre protección de datos personales en la legislación dominicana"*
- *"¿Está vigente el Código Penal Dominicano?"*
- *"Buscar artículos sobre contrato de trabajo en el Código de Trabajo"*
- *"¿Qué establece el Código Civil sobre obligaciones?"*
- *"Buscar legislación sobre sociedades comerciales en República Dominicana"*
- *"Validar la cita Ley 479-08 sobre Sociedades Comerciales"*
- *"What does the Personal Data Protection Law (172-13) say about data subject rights?"*

---

## What's Included

| Category | Count | Details |
|----------|-------|---------|
| **Statutes** | Ingestion in progress | Legislation from consultoria.gov.do, senado.gob.do |
| **Provisions** | Ingestion in progress | Full-text searchable with FTS5 |
| **Database Size** | ~206 MB | Optimized SQLite, portable |
| **Legal Definitions** | Table reserved | Extraction planned for upcoming release |
| **Freshness Checks** | Automated | Drift detection against official sources |

> **Note:** This server is in active ingestion. The database infrastructure is deployed and operational. Statute content is being populated from authoritative Dominican sources. Use `list_sources` to see current coverage, and `about` for the latest statistics.

**Verified data only** -- every citation is validated again