eu.ansvar/cambodian-law-mcp

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

0NOASSERTIONsearch

Install

Config snippet generator goes here (5 client tabs)

README

# Cambodian Law MCP Server

**The National Assembly of Cambodia alternative for the AI age.**

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

Query **7,982 Cambodian laws** -- from the Law on Telecommunications and the Criminal Code to the Law on Commercial Enterprises, Labour Law, and more -- directly from Claude, Cursor, or any MCP-compatible client.

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

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

---

## Why This Exists

Cambodian legal research is scattered across the National Assembly website, cambodialawcenter.org, OHCHR Cambodia, and un.org/cambodia. 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 Cambodian law
- A **researcher** tracing Cambodian legislation across national and international frameworks

...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 Cambodian law **searchable, cross-referenceable, and AI-readable** in both Khmer and English.

---

## Quick Start

### Use Remotely (No Install Needed)

> Connect directly to the hosted version -- zero dependencies, nothing to install.

**Endpoint:** `https://cambodian-law-mcp.vercel.app/mcp`

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

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

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

### Use Locally (npm)

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

**Cursor / VS Code:**

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

---

## Example Queries

Once connected, just ask naturally:

- *"ស្វែងរក​ច្បាប់​ការ​ការពារ​ទិន្នន័យ​ផ្ទាល់ខ្លួន"* (Search for personal data protection law)
- *"What does the Law on Telecommunications say about data privacy?"*
- *"Find provisions in the Criminal Code about cybercrime"*
- *"ស្វែងរក​ច្បាប់​ការងារ​អំពី​ម៉ោង​ធ្វើការ"* (Search Labour Law provisions on working hours)
- *"Is the Law on Commercial Enterprises still in force?"*
- *"Find provisions about electronic transactions in Cambodian law"*
- *"What ASEAN frameworks does Cambodia's cybersecurity law align with?"*
- *"Validate the citation: Law on Telecommunications, Article 97"*
- *"Build a legal stance on consumer protection obligations in Cambodia"*

---

## What's Included

| Category | Count | Details |
|----------|-------|---------|
| **Laws** | 7,982 laws | Comprehensive Cambodian legislation |
| **Provisions** | 13,691 sections | Full-text searchable with FTS5 |
| **Database Size** | ~17 MB | Optimized SQLite, portable |
| **Languages** | Khmer and English | Bilingual coverage |
| **Freshness Checks** | Automated | Drift detection against official sources |

**Verified data only** -- every citation is validated against official sources (National Assembly of Cambodia, OHCHR Cambodia). Zero LLM-generated content.

---

## Why This Works

**Verb