# madda — Moroccan law, article by article

> madda — Moroccan law, article by article is a freemium MCP server for legal and government. Search Moroccan legislation article by article in Arabic and French with citations. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, Android, API
- **Website:** https://madda.ma
- **MCP Registry name:** ma.madda/law
- **Categories:** legal and government
- **Listing updated:** 2026-11-14

## About

madda indexes Moroccan legal texts as published by the Ministry of Justice, and every text links back to its official copy on the ministry's Adala portal. The catalogue held 4,406 texts across 51 fields when it was fetched, from the constitution and the family code to the labour code, the code of obligations and contracts, the criminal code, procedure codes and the commercial code.

Through the MCP server an agent can search the texts and read individual articles, with citations and PDFs, in Arabic and French. The site also offers an Ask AI feature for questions such as how long a probation period can last or what the minimum capital of a public limited company is.

Reading and searching are free without an account. Paid yearly plans raise the daily AI-question limit and add alerts on amended texts, comparison of text versions, flashcards and quizzes, and export with references. The site states that it gives legal information, not legal advice.

## Features

- **Article-level reading:** Opens individual articles of Moroccan laws and codes rather than whole documents.
- **Arabic and French:** Texts can be searched and read in both languages.
- **Official source links:** Each text links to the official version on the Adala portal.
- **Citations and PDFs:** Results come with citations and PDF copies.
- **Ask AI:** Answers legal questions from the texts, with daily limits by plan.
- **Change alerts:** Paid plans notify you when a text or article is amended.

## Good for

- Look up the exact article behind a Moroccan labour or family law question
- Cite a Moroccan statute with a link to its official version
- Compare versions of a text after an amendment
- Revise Moroccan law as a law student
- Let an assistant ground answers about Moroccan law in source articles

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http law https://madda.ma/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://madda.ma/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "law": {
      "url": "https://madda.ma/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "law": {
      "type": "http",
      "url": "https://madda.ma/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "law": {
      "serverUrl": "https://madda.ma/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "law": {
      "type": "http",
      "url": "https://madda.ma/mcp"
    }
  }
}
```

## Tools

- `search_law`: Full-text search over Moroccan legislation articles (and texts by number or title, e.g. "65.99" or "مدونة الشغل"). Returns article snippets with URLs. With lang=fr it also returns `other_language`: laws that exist only in Arabic and that the query names (by number or by a French name such as "code de la route"); their `title` is the official Arabic title.
- `get_article`: One article of a text, exactly as published, with its citation block (canonical URL, marker, text title and number, consolidated date, official PDF).
- `get_text`: Metadata of a law/decree (title, number, dates, Bulletin officiel, official PDF) and its table of contents with article keys.
- `get_versions`: Previous wordings of an article with their validity dates, and the current wording.
- `list_categories`: Subject categories (المادة المدنية, Matière commerciale…) with their slugs and text counts.

## FAQ

### Do I need an account to read the texts?

No. Reading and searching are free and need no account.

### How many AI questions can I ask?

Anonymous visitors get one free question a day; the student plan lists 15 a day and the professional plan 50.

### What do the paid plans cost?

Student is 199 dirhams a year and Professional 790 dirhams a year, charged in euros with a 14-day refund window.

### Is this legal advice?

No. The site says it provides legal information, not legal advice.

### Where do the texts come from?

From texts published by the Ministry of Justice, each linked to its official version.

### Is madda — Moroccan law, article by article free?

madda — Moroccan law, article by article has a free plan, with paid plans for more usage or features.

### How do I add madda — Moroccan law, article by article to Claude Code?

Run this command in your terminal: claude mcp add --transport http law https://madda.ma/mcp

### What are the best alternatives to madda — Moroccan law, article by article?

The closest alternatives to madda — Moroccan law, article by article are NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog, SynomosAI Governance MCP and MedXpert 标准检索连接器.

## Alternatives

- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [SupplyClub Catalog](https://ai-powered.com/mcp/supplyclub-catalog): SupplyClub Catalog is a free MCP server for legal and government.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [SOMMON Office](https://ai-powered.com/mcp/sommon-office): SOMMON Office is a paid MCP server for communication.
- [MedXpert 全球法规连接器 (reg-connector)](https://ai-powered.com/mcp/medxpert-reg-connector): MedXpert 全球法规连接器 (reg-connector) is a free MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/madda-moroccan-law-article-by-article
