UAE legislation via MCP — full-text search across federal laws, DIFC laws, and ADGM regulations
UAE legislation via MCP — full-text search across federal laws, DIFC laws, and ADGM regulations
Valid MCP server (3 strong, 2 medium validity signals). 4 known CVEs in dependencies (0 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (194/196 approved).
5 files analyzed · 5 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"eu-ansvar-uae-law-mcp": {
"args": [
"-y",
"@ansvar/uae-law-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
The MOHRE / UAE Legislation Portal alternative for the AI age.
Query 4,797 UAE federal laws and regulations -- from the Personal Data Protection Law and Cybercrimes Law to the Federal Penal Code, Commercial Companies Law, and Electronic Transactions Law -- directly from Claude, Cursor, or any MCP-compatible client.
If you're building legal tech, compliance tools, or doing UAE legal research, this is your verified reference database.
Built by Ansvar Systems -- Stockholm, Sweden
UAE legal research means navigating mohre.gov.ae, legislation.gov.ae, uaelegislation.gov.ae, and free-zone portals like DIFC and ADGM separately. Whether you're:
...you shouldn't need dozens of browser tabs and manual cross-referencing across Arabic and English sources. Ask Claude. Get the exact provision. With context.
This MCP server makes UAE law searchable, cross-referenceable, and AI-readable.
Connect directly to the hosted version -- zero dependencies, nothing to install.
Endpoint: https://mcp.ansvar.eu/law-ae/mcp
| Client | How to Connect |
|---|---|
| Claude.ai | Settings > Connectors > Add Integration > paste URL |
| Claude Code | claude mcp add uae-law --transport http https://mcp.ansvar.eu/law-ae/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:
{
"mcpServers": {
"uae-law": {
"type": "url",
"url": "https://mcp.ansvar.eu/law-ae/mcp"
}
}
}
GitHub Copilot -- add to VS Code settings.json:
{
"github.copilot.chat.mcp.servers": {
"uae-law": {
"type": "http",
"url": "https://mcp.ansvar.eu/law-ae/mcp"
}
}
}
npx @ansvar/uae-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
{
"mcpServers": {
"uae-law": {
"command": "npx",
"args": ["-y", "@ansvar/uae-law-mcp"]
}
}
}
Cursor / VS Code:
{
"mcp.servers": {
"uae-law": {
"command": "npx",
"args": ["-y", "@ansvar/uae-law-mcp"]
}
}
}
Once connected, just ask naturally:
| Category | Count | Details |
|---|---|---|
| Federal Laws & Regulations | 4,797 instruments | Federal decrees, laws, cabinet resolutions |
| Provisions | 113,230 sections | Full-text searchable with FTS5 |
| Coverage | Federal + DIFC/ADGM | Federal law plus key free-zone data protection frameworks |
| Data Source | moj.gov.ae | UAE Ministry of Justice official source |
| Database Size | Optimized SQLite | Portable, pre-built |
Verified data only -- every citation is validated against official sources (UAE Ministry of Justice, legislation.gov.ae). Zero LLM-generated content.
Verbatim Source Text (No LLM Processing):
Smart Context Management:
Technical Architecture:
MOJ / legislation.gov.ae --> Parse --> SQLite --> FTS5 snippet() --> MCP response
^ ^
Provision parser Verbatim database query
| Traditional Approach | This MCP Server |
|---|---|
| Search legislation.gov.ae by decree number | Search in Arabic or English: "حماية البيانات" |
| Navigate multi-chapter laws manually | Get the exact provision with context |
| Manual cross-referencing between laws | build_legal_stance aggregates across sources |
| "Is this regulation still in force?" -- check manually | check_currency tool -- answer in seconds |
| Find GCC alignment -- search separately | get_eu_basis -- linked international frameworks |
| No API, no integration | MCP protocol -- AI-native |
Traditional: Search legislation.gov.ae --> Navigate Arabic/English law --> Ctrl+F --> Cross-reference with cabinet resolutions --> Check DIFC portal separately --> Repeat
This MCP: "What are the consent requirements under the UAE PDPL and how do they compare to GDPR?" --> Done.
| Tool | Description |
|---|---|
search_legislation | FTS5 full-text search across 113,230 provisions with BM25 ranking. Supports Arabic and English queries, quoted phrases, boolean operators |
get_provision | Retrieve specific provision by decree/law number + article |
check_currency | Check if a statute is in force, amended, or superseded |
validate_citation | Validate citation against database -- zero-hallucination check |
build_legal_stance | Aggregate citations from multiple laws for a legal topic |
format_citation | Format citations per UAE legal conventions |
list_sources | List all available laws with metadata and coverage scope |
about | Server info, capabilities, dataset statistics, and coverage summary |
| Tool | Description |
|---|---|
get_eu_basis | Get international frameworks (GCC, GDPR comparisons) that a UAE law aligns with |
get_uae_implementations | Find UAE laws corresponding to a specific international standard or framework |
search_eu_implementations | Search international documents with UAE alignment counts |
get_provision_eu_basis | Get international law references for a specific provision |
validate_eu_compliance | Check alignment status of UAE statutes against international frameworks |
The UAE is not an EU member state, but UAE law has significant alignment with international data protection frameworks:
The international alignment tools allow you to explore these relationships -- checking which UAE provisions correspond to GDPR requirements or GCC standards.
Note: UAE cross-references reflect alignment relationships. The UAE operates its own independent legal system under federal and emirate-level law, plus separate free-zone jurisdictions. The EU tools identify comparative domains rather than formal transposition.
All content is sourced from authoritative UAE legal databases:
| Field | Value |
|---|---|
| Authority | UAE Ministry of Justice |
| Retrieval method | Official government portals |
| Languages | Arabic (primary), English (official translations) |
| License | UAE Government publications |
| Coverage | 4,797 federal instruments plus DIFC/ADGM key instruments |
A GitHub Actions workflow monitors data sources for changes:
| Check | Method |
|---|---|
| Statute amendments | Drift detection against known provision anchors |
| New decrees | Comparison against official gazettes |
| Repealed legislation | Status change detection |
Verified data only -- every citation is validated against official sources. Zero LLM-generated content.
This project uses multiple layers of automated security scanning:
| Scanner | What It Does | Schedule |
|---|---|---|
| CodeQL | Static analysis for security vulnerabilities | Weekly + PRs |
| Semgrep | SAST scanning (OWASP top 10, secrets, TypeScript) | Every push |
| Gitleaks | Secret detection across git history | Every push |
| Trivy | CVE scanning on filesystem and npm dependencies | Daily |
| Socket.dev | Supply chain attack detection | PRs |
| Dependabot | Automated dependency updates | Weekly |
See SECURITY.md for the full policy and vulnerability reporting.
THIS TOOL IS NOT LEGAL ADVICE
Statute text is sourced from official UAE government publications. However:
- This is a research tool, not a substitute for professional legal counsel
- Court case coverage is not included -- do not rely solely on this for case law research
- Verify critical citations against primary sources for court filings
- International cross-references reflect alignment relationships, not formal equivalence
- Federal vs. emirate law -- this covers federal legislation; emirate-specific laws (Dubai, Abu Dhabi, etc.) may apply in addition
- Free-zone law -- DIFC and ADGM operate separate legal systems; confirm which jurisdiction applies
Before using professionally, read: DISCLAIMER.md | SECURITY.md
Queries go through the Claude API. For privileged or confidential matters, use on-premise deployment. For professional use guidance, consult the Abu Dhabi Bar Association or UAE Bar Association professional conduct rules.
git clone https://github.com/Ansvar-Systems/uae-law-mcp
cd uae-law-mcp
npm install
npm run build
npm test
npm run dev # Start MCP server
npx @anthropic/mcp-inspector node dist/server.js # Test with MCP Inspector
npm run ingest # Ingest statutes from UAE government portals
npm run build:db # Rebuild SQLite database
npm run drift:detect # Run drift detection against anchors
npm run check:freshness # Check for amendments and new decrees
npm run check-updates # Check for source updates
This server is part of Ansvar's Compliance Suite -- MCP servers that work together for end-to-end compliance coverage:
Query 49 EU regulations directly from Claude -- GDPR, AI Act, DORA, NIS2, MiFID II, eIDAS, and more. Full regulatory text with article-level search. npx @ansvar/eu-regulations-mcp
Query 4,797 UAE federal laws and regulations -- PDPL, Cybercrimes Law, Commercial Companies Law, Electronic Transactions Law, DIFC/ADGM frameworks. npx @ansvar/uae-law-mcp
Query US federal and state compliance laws -- HIPAA, CCPA, SOX, GLBA, FERPA, and more. npx @ansvar/us-regulations-mcp
Query 261 security frameworks -- ISO 27001, NIST CSF, SOC 2, CIS Controls, SCF, and more. npx @ansvar/security-controls-mcp
70+ national law MCPs covering Australia, Brazil, Canada, Cameroon, Denmark, Finland, France, Germany, Ghana, India, Ireland, Israel, Italy, Japan, Netherlands, Nigeria, Norway, Singapore, Sweden, Switzerland, UK, and more.
Contributions welcome! See CONTRIBUTING.md for guidelines.
Priority areas:
If you use this MCP server in academic research:
@software{uae_law_mcp_2026,
author = {Ansvar Systems AB},
title = {UAE Law MCP Server: AI-Powered Legal Research Tool},
year = {2026},
url = {https://github.com/Ansvar-Systems/uae-law-mcp},
note = {4,797 UAE federal laws with 113,230 provisions, DIFC/ADGM coverage}
}
Apache License 2.0. See LICENSE for details.
We build AI-accelerated compliance and legal research tools for the global market. This MCP server started as our internal reference tool for UAE law -- turns out everyone building for the Gulf market or navigating PDPL compliance has the same research frustrations.
So we're open-sourcing it. Navigating 4,797 federal instruments across Arabic and English shouldn't require a law degree.
ansvar.eu -- Stockholm, Sweden
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.