madda — Moroccan law, article by article
ma.madda/law
MCP server OK 5 tools
Search and read Moroccan law article by article, in Arabic and French, with citations and PDFs.
Technical sheet
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/ma.madda/law)<a href="https://latlas.dev/en/mcp/ma.madda/law"><img src="https://latlas.dev/badge/statut/mcp/ma.madda/law.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/ma.madda/law)<a href="https://latlas.dev/en/mcp/ma.madda/law"><img src="https://latlas.dev/badge/fiche/ma.madda/law.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://madda.ma/mcp
- Last result
- OK 28 Nov 2026, 10:21
- Response time
- 455 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- madda 1.0.0
- Tools
- 5
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:21 | OK | 455 ms | 5 |
Exposed tools (5, from tools/list, 28 Nov 2026)
search_law
Search Moroccan 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | |
| lang | enum: "ar" | "fr" | no | Language of the text: "ar" (Arabic, most texts) or "fr" (French translation, when published). |
| kind | string | no | loi, decret, dahir, dahir-loi, arrete, constitution |
| category | string | no | Category slug from list_categories |
| limit | integer | no |
get_article
Get an article
One article of a text, exactly as published, with its citation block (canonical URL, marker, text title and number, consolidated date, official PDF).
| Parameter | Type | Required | Description |
|---|---|---|---|
| lang | enum: "ar" | "fr" | yes | Language of the text: "ar" (Arabic, most texts) or "fr" (French translation, when published). |
| slug | string | yes | Text slug, e.g. loi-70-03 |
| key | string | yes | Article key, e.g. 4, 5-bis, 185-to-200 |
get_text
Get a text
Metadata of a law/decree (title, number, dates, Bulletin officiel, official PDF) and its table of contents with article keys.
| Parameter | Type | Required | Description |
|---|---|---|---|
| lang | enum: "ar" | "fr" | yes | Language of the text: "ar" (Arabic, most texts) or "fr" (French translation, when published). |
| slug | string | yes | Text slug, e.g. loi-65-99 |
get_versions
Get previous versions of an article
Previous wordings of an article with their validity dates, and the current wording.
| Parameter | Type | Required | Description |
|---|---|---|---|
| lang | enum: "ar" | "fr" | yes | Language of the text: "ar" (Arabic, most texts) or "fr" (French translation, when published). |
| slug | string | yes | |
| key | string | yes |
list_categories
List categories
Subject categories (المادة المدنية, Matière commerciale…) with their slugs and text counts.
| Parameter | Type | Required | Description |
|---|---|---|---|
| lang | enum: "ar" | "fr" | no | Language of the text: "ar" (Arabic, most texts) or "fr" (French translation, when published). |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://madda.ma/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http law https://madda.ma/mcpCustomize > Connectors > + Add > Add custom connector ; Name : law ; URL : https://madda.ma/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : law ; Server URL : https://madda.ma/mcp ; Create as a plugin{
"mcpServers": {
"law": {
"url": "https://madda.ma/mcp"
}
}
}{
"mcpServers": {
"law": {
"type": "http",
"url": "https://madda.ma/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"law": {
"url": "https://madda.ma/mcp"
}
}
}{
"mcpServers": {
"law": {
"httpUrl": "https://madda.ma/mcp"
}
}
}[mcp_servers.law]
url = "https://madda.ma/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
madda — Moroccan law, article by article · L’Atlas · Tested on
[madda — Moroccan law, article by article — L’Atlas](https://latlas.dev/en/mcp/ma.madda/law)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.