madda MCP
An MCP server operated by madda that provides tools to search Moroccan law, retrieve specific articles, get consolidated texts, view previous versions, and list categories. It sources content from the Ministry of Justice portal.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://madda.ma/mcpWhat its tools do
5 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to madda.ma ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
What you can do with it
- Search for legal articles
- Retrieve specific law articles
- Get consolidated legal texts
- List legal categories
Source and maintenance
Protocol and capabilities
- Server
- madda 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 5 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
5 advertised
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"kind": {
"type": "string",
"description": "loi, decret, dahir, dahir-loi, arrete, constitution"
},
"lang": {
"enum": [
"ar",
"fr"
],
"type": "string",
"default": "ar",
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published)."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"category": {
"type": "string",
"description": "Category slug from list_categories"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lang",
"slug",
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Article key, e.g. 4, 5-bis, 185-to-200"
},
"lang": {
"enum": [
"ar",
"fr"
],
"type": "string",
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published)."
},
"slug": {
"type": "string",
"description": "Text slug, e.g. loi-70-03"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lang",
"slug"
],
"properties": {
"lang": {
"enum": [
"ar",
"fr"
],
"type": "string",
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published)."
},
"slug": {
"type": "string",
"description": "Text slug, e.g. loi-65-99"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_versions — Get previous versions of an article
Previous wordings of an article with their validity dates, and the current wording.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lang",
"slug",
"key"
],
"properties": {
"key": {
"type": "string"
},
"lang": {
"enum": [
"ar",
"fr"
],
"type": "string",
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published)."
},
"slug": {
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_categories — List categories
Subject categories (المادة المدنية, Matière commerciale…) with their slugs and text counts.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lang": {
"enum": [
"ar",
"fr"
],
"type": "string",
"default": "ar",
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published)."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 1676 ms
- 95th percentile latency
- 2494 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1636 ms · 5 tool(s)
- · probe · passed · 2589 ms · metadata changed · 5 tool(s)
- · probe · passed · 803 ms · metadata changed · 5 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http madda-mcp https://madda.ma/mcpCodex
codex mcp add madda-mcp --url https://madda.ma/mcpCursor
{
"mcpServers": {
"madda-mcp": {
"url": "https://madda.ma/mcp"
}
}
}Cline
{
"mcpServers": {
"madda-mcp": {
"type": "streamableHttp",
"url": "https://madda.ma/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"madda-mcp": {
"type": "http",
"url": "https://madda.ma/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http madda-mcp https://madda.ma/mcpClaude Desktop
https://madda.ma/mcpWindsurf
{
"mcpServers": {
"madda-mcp": {
"serverUrl": "https://madda.ma/mcp"
}
}
}Let your agent find its tools
Find servers like madda MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other documentation and reference servers
Do you run madda MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.