INDIVIDUAL MCP TOOL
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).
LIVE ENDPOINT
https://madda.ma/mcp
Connect to this endpoint to inspect the live schema for get_article and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- A tool name or description suggests retrieving external content.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.madda]
url = "https://madda.ma/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"madda": {
"type": "http",
"url": "https://madda.ma/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: madda
Remote MCP URL: https://madda.ma/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"madda": {
"url": "https://madda.ma/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"madda": {
"type": "http",
"url": "https://madda.ma/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "madda",
"transport": "streamable-http",
"url": "https://madda.ma/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
search_law— Full-text search over Moroccan legislation articles (and texts by number or title, e.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.