Koskamo

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.

madda MCP logo, by maddaVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by madda
MCP endpoint (Streamable HTTP)
https://madda.ma/mcp
Vendor documentation

What its tools do

5 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

5 of 5 have a description · 5 of 5 declare behavior hints · 3 of 5 with parameters document them all

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

Vendor evidenceRegistry 1.0.0

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
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Search and read Moroccan legislation (Arabic and French) article by article. Cite the canonical_url and the consolidated date returned with every article; link the official PDF. Texts, not legal advice.

Tools

5 advertised

search_law — Search Moroccan law
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

search_law input schema
{
  "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
}
search_law annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_article — Get an article
Advertised by the server during the last successful anonymous check.
Advertised read-only

One article of a text, exactly as published, with its citation block (canonical URL, marker, text title and number, consolidated date, official PDF).

get_article input schema
{
  "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
}
get_article annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_text — Get a text
Advertised by the server during the last successful anonymous check.
Advertised read-only

Metadata of a law/decree (title, number, dates, Bulletin officiel, official PDF) and its table of contents with article keys.

get_text input schema
{
  "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
}
get_text annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_versions — Get previous versions of an article
Advertised by the server during the last successful anonymous check.
Advertised read-only

Previous wordings of an article with their validity dates, and the current wording.

get_versions input schema
{
  "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
}
get_versions annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_categories — List categories
Advertised by the server during the last successful anonymous check.
Advertised read-only

Subject categories (المادة المدنية, Matière commerciale…) with their slugs and text counts.

list_categories input schema
{
  "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
}
list_categories annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

100% (49 of 49 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 2 of 2 checks answered
  3. 2026-11-16: 4 of 4 checks answered
  4. 2026-11-17: 5 of 5 checks answered
  5. 2026-11-18: 5 of 5 checks answered
  6. 2026-11-19: 4 of 4 checks answered
  7. 2026-11-20: 3 of 3 checks answered
  8. 2026-11-21: 4 of 4 checks answered
  9. 2026-11-22: 4 of 4 checks answered
  10. 2026-11-23: 3 of 3 checks answered
  11. 2026-11-24: 4 of 4 checks answered
  12. 2026-11-25: 4 of 4 checks answered
  13. 2026-11-26: 4 of 4 checks answered
  14. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http madda-mcp https://madda.ma/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add madda-mcp --url https://madda.ma/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable madda-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "madda-mcp": {
      "url": "https://madda.ma/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "madda-mcp": {
      "type": "streamableHttp",
      "url": "https://madda.ma/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start madda-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "madda-mcp": {
      "type": "http",
      "url": "https://madda.ma/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http madda-mcp https://madda.ma/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://madda.ma/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing