eu.ansvar/jamaican-law-mcp

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

0NOASSERTIONsearch

Install

Config snippet generator goes here (5 client tabs)

README

# Jamaican Law MCP Server

**The Ministry of Justice Laws alternative for the AI age.**

[![npm version](https://badge.fury.io/js/@ansvar%2Fjamaican-law-mcp.svg)](https://www.npmjs.com/package/@ansvar/jamaican-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/Jamaican-law-mcp?style=social)](https://github.com/Ansvar-Systems/Jamaican-law-mcp)
[![CI](https://github.com/Ansvar-Systems/Jamaican-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Jamaican-law-mcp/actions/workflows/ci.yml)
[![Provisions](https://img.shields.io/badge/provisions-16%2C310-blue)]()

Query **910 Jamaican Acts** -- from the Data Protection Act and Cybercrime Act to the Companies Act, Judicature Act, and more -- directly from Claude, Cursor, or any MCP-compatible client.

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

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

---

## Why This Exists

Jamaican legal research means navigating [laws.moj.gov.jm](https://laws.moj.gov.jm), downloading PDFs from the Ministry of Justice, and manually cross-referencing across Acts. Whether you're:

- A **lawyer** validating citations in a brief or contract
- A **compliance officer** checking Data Protection Act obligations or Cybercrime Act requirements
- A **legal tech developer** building tools on Jamaican law
- A **researcher** tracing legislative provisions across 910 Acts

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

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

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

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

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

### Use Locally (npm)

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

**Cursor / VS Code:**

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

---

## Example Queries

Once connected, just ask naturally:

- *"What does the Data Protection Act say about consent for processing personal data?"*
- *"Is the Cybercrime Act still in force?"*
- *"Find provisions about unauthorized computer access in Jamaican law"*
- *"What does the Companies Act require for director disclosures?"*
- *"Search for data breach notification obligations across Jamaican statutes"*
- *"What does the Judicature Act say about civil jurisdiction of the Supreme Court?"*
- *"Validate the citation 'Section 4 of the Data Protection Act'"*
- *"Build a legal stance on employment termination requirements under Jamaican law"*
- *"What are the penalty provisions under the Proceeds of Crime Act?"*

---

## What's Included

| Category | Count | Details |
|----------|-------|---------|
| **Acts** | 910 statutes | Comprehensive Jamaican legislation from laws.moj.gov.jm |
| **Provisions** | 16,310 sections | Full-text searchable with FTS5 |
| **Database Size** | ~45 MB | Optimized SQLite, portable |
| **Freshness Checks** | Automated | Drift detection against Ministry of Justice source |

**Verified data only** -- every citation is validated against official sources (laws.moj.gov.jm). Zero LLM-generated content.

---

## See It In Action

### Why This Works

**Verbatim Source Text (No LLM Processing):**
- All statute text is ingested from the [Jamaica Ministry of Justice Laws website](https://laws.moj.gov.jm) (official source)
- Provisions are returned **unchanged** from SQLite FTS5