eu.ansvar/jordanian-law-mcp

Jordan legislation via MCP -- full-text search across statutes and provisions

0NOASSERTIONsearch

Install

Config snippet generator goes here (5 client tabs)

README

# Jordanian Law MCP Server

**The Official Gazette of Jordan (الجريدة الرسمية) alternative for the AI age.**

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

Query **62 Jordanian statutes** -- from the Cybercrime Law and Penal Code to the Labour Law, Companies Law, and more -- directly from Claude, Cursor, or any MCP-compatible client.

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

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

---

## Why This Exists

Jordanian legal research means navigating moj.gov.jo (وزارة العدل, Ministry of Justice), legislation.gov.jo, and Official Gazette archives published in Arabic. Whether you're:
- A **lawyer** validating citations in a brief or contract
- A **compliance officer** checking obligations under the Cybercrime Law and data protection provisions
- A **legal tech developer** building tools on Jordanian law
- A **researcher** tracing provisions across 62 key statutes

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

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

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

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

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

### Use Locally (npm)

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

**Cursor / VS Code:**

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

---

## Example Queries

Once connected, just ask naturally:

- *"البحث عن أحكام حماية البيانات الشخصية في قانون الجرائم الإلكترونية الأردني"* (Search for personal data protection in the Jordanian Cybercrime Law)
- *"ما هي عقوبة الاحتيال الإلكتروني في القانون الأردني؟"* (What are the penalties for electronic fraud in Jordanian law?)
- *"البحث عن حقوق العمال في قانون العمل الأردني رقم 8 لسنة 1996"* (Search for worker rights in Jordanian Labour Law No. 8 of 1996)
- *"ما هي التزامات الشركات بموجب قانون الشركات الأردني؟"* (What are company obligations under Jordanian Companies Law?)
- *"هل قانون الجرائم الإلكترونية لعام 2023 لا يزال ساري المفعول؟"* (Is the 2023 Cybercrime Law still in force?)
- *"التحقق من صحة الاستشهاد 'المادة 7، قانون الجرائم الإلكترونية'"* (Validate the citation 'Article 7, Cybercrime Law')
- *"Find provisions on data breach notification under Jordanian law"*
- *"Build a legal stance on cybersecurity compliance obligations in Jordan"*

---

## What's Included

| Category | Count | Details |
|----------|-------|---------|
| **Statutes** | 62 statutes | Key Jordanian legislation |
| **Provisions** | 5,285 sections | Full-text searchable with FTS5 |
| **Database Size** | ~7 MB | Optimized SQLite, portable |
| **Data Sources** | moj.gov.jo / jordan-lawyer.com | Ministry of Justice and official