eu.ansvar/qatari-law-mcp
Qatari legislation via MCP — full-text search across statutes and provisions
★ 0NOASSERTIONsearch
Install
Config snippet generator goes here (5 client tabs)
README
# Qatari Law MCP Server
**The Qatar e-Legislation Portal alternative for the AI age.**
[](https://www.npmjs.com/package/@ansvar/qatari-law-mcp)
[](https://registry.modelcontextprotocol.io)
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/Ansvar-Systems/Qatari-law-mcp)
[](https://github.com/Ansvar-Systems/Qatari-law-mcp/actions/workflows/ci.yml)
[](https://github.com/Ansvar-Systems/Qatari-law-mcp/actions/workflows/check-updates.yml)
[](https://github.com/Ansvar-Systems/Qatari-law-mcp)
[](https://github.com/Ansvar-Systems/Qatari-law-mcp)
Query **9,428 Qatari statutes** -- from قانون حماية البيانات الشخصية and قانون العقوبات to قانون التجارة, قانون الشركات, and more -- directly from Claude, Cursor, or any MCP-compatible client.
If you're building legal tech, compliance tools, or doing Qatari legal research, this is your verified reference database.
Built by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden
---
## Why This Exists
Qatari legal research means navigating ميزان (almeezan.qa), Qatar's official legislative portal, across thousands of statutes in Arabic with limited cross-referencing tools. Whether you're:
- A **lawyer** validating citations in a brief or contract
- A **compliance officer** checking Qatar data protection or financial services obligations
- A **legal tech developer** building tools on Qatari law
- A **researcher** tracing legislative provisions across commercial, criminal, and civil codes
...you shouldn't need dozens of browser tabs and manual Arabic-language cross-referencing. Ask Claude. Get the exact provision. With context.
This MCP server makes Qatari 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://qatari-law-mcp.vercel.app/mcp`
| Client | How to Connect |
|--------|---------------|
| **Claude.ai** | Settings > Connectors > Add Integration > paste URL |
| **Claude Code** | `claude mcp add qatari-law --transport http https://qatari-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": {
"qatari-law": {
"type": "url",
"url": "https://qatari-law-mcp.vercel.app/mcp"
}
}
}
```
**GitHub Copilot** -- add to VS Code `settings.json`:
```json
{
"github.copilot.chat.mcp.servers": {
"qatari-law": {
"type": "http",
"url": "https://qatari-law-mcp.vercel.app/mcp"
}
}
}
```
### Use Locally (npm)
```bash
npx @ansvar/qatari-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": {
"qatari-law": {
"command": "npx",
"args": ["-y", "@ansvar/qatari-law-mcp"]
}
}
}
```
**Cursor / VS Code:**
```json
{
"mcp.servers": {
"qatari-law": {
"command": "npx",
"args": ["-y", "@ansvar/qatari-law-mcp"]
}
}
}
```
---
## Example Queries
Once connected, just ask naturally:
- *"البحث عن أحكام 'حماية البيانات الشخصية' في التشريعات القطرية"*
- *"ماذا يقول قانون العقوبات القطري عن الجرائم الإلكترونية؟"*
- *"أوجد أحكام القانون المدني القطري المتعلقة بالتعويضات"*
- *"ما هي القوانين التي تنظم التجارة الإلكترونية في قطر؟"*
- *"هل قانون حماية البيانات الشخصية لا يزال سارياً؟"*
- *"Search for provisions about financial services regulation in Qatari law"*
- *"What international frameworks does Qatar's data protection law align with?"*
- *"Validate the citation 'المادة 5 من قانون حماية البيانات الشخصية'"*
---
## What's Included
| Category | Count | Details |
|----------|-------|---------|
| **Statutes** | 9,428 statutes | Comprehensive Qatari legislation from almeezan.qa |
| **Provisions** | 71,155 sections | Full-text searchable with FTS5 |
| **Legal Definitions** | 0 (free tier) | Table reserved, extraction not enabled in current free build |
| **Database Size** | Optimized SQLite | Portable, pre-built |
| **Daily Updates** | Automated | Freshness checks against ميزان portal |
**Verified data only** -- every citation is validated against officia