home / mcp / uae law mcp server

UAE Law MCP Server

Query UAE legislation and EU cross-references from Claude, Cursor, or any MCP client.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ansvar-systems-uae-law-mcp": {
      "url": "https://uae-law-mcp.vercel.app/mcp",
      "headers": {
        "YOUR_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

You can query UAE legislation directly from an MCP client to search, retrieve, and cross-reference provisions with context. This server provides a verified UAE legal database with full-text search and EU cross-references, designed for legal researchers, compliance professionals, and developers building UAE law tools.

How to use

Connect an MCP client to one of the available endpoints to start querying UAE law. You can use a remote hosted endpoint for zero-install usage or run the MCP server locally for development or offline workloads. Once connected, you can search for provisions, retrieve exact text by statute and section, validate citations, check currency (whether a statute is in force or amended), and build legal stances by aggregating citations across sources. You can also query EU basis and implementations related to UAE law and format citations according to UAE conventions.

How to install

Prerequisites: you need Node.js and npm installed on your system. You also need a command-line interface to run the MCP client commands.

# Option A: Use the hosted MCP server (no install required)
# Skip to the usage steps for connecting a client
```
```bash
# Option B: Run the MCP server locally via npm
# 1) Install dependencies and build
git clone https://github.com/Ansvar-Systems/UAE-law-mcp
cd UAE-law-mcp
npm install
npm run build

# 2) Start the local MCP server
npm run dev

Additional content

Deployment options include an HTTP endpoint for remote access and a local, stdio-based runtime for developers. The remote endpoint requires no installation on your side, while the local approach lets you run the MCP server on your machine or in your own environment. You can connect clients such as Claude, Cursor, or a compatible MCP client to either endpoint. The server ships with an 80–150 MB database bundle containing the federal UAE laws plus DIFC and ADGM materials.

Available tools

search_legislation

Full-text search across all provisions using FTS5 with BM25 ranking.

get_provision

Retrieve a specific provision by statute, including chapter and section identifiers.

check_currency

Determine if a statute is in force, amended, or repealed.

validate_citation

Validate a citation against the database to ensure accuracy.

build_legal_stance

Aggregate citations from multiple statutes to support a legal topic.

format_citation

Format legal citations according to UAE conventions.

list_sources

List all available statutes with associated metadata.

about

Provide server capabilities and coverage summary.

get_eu_basis

Retrieve EU directives or regulations referenced by UAE statutes.

get_uae_implementations

Find UAE laws that implement a given EU act.

search_eu_implementations

Search EU documents and return UAE implementation counts.

get_provision_eu_basis

Get EU law references tied to a specific provision.

validate_eu_compliance

Check the implementation status of EU directives in UAE law.

UAE Law MCP Server - ansvar-systems/uae-law-mcp