Moroccan law inside Claude and ChatGPT
Haqia's MCP connector lets Claude, ChatGPT and other compatible assistants search 984 136 official articles of Moroccan law and cite the exact article, with a link to its page. Free, no account.
https://haqia.ma/mcpIn Claude
- Open Claude settings, "Connectors" section.
- Choose "Add custom connector".
- Name it "Haqia" and paste the address https://haqia.ma/mcp, with no authentication.
- In a conversation, enable the Haqia connector and ask your Moroccan law question.
With Claude Code, in one command:
claude mcp add --transport http haqia https://haqia.ma/mcp
In ChatGPT
- Open ChatGPT settings, apps and connectors section. Depending on your plan, adding a custom connector requires enabling developer mode.
- Create a connector named "Haqia" with the address https://haqia.ma/mcp, with no authentication.
- Enable it in a conversation: ChatGPT uses Haqia's "search" and "fetch" tools.
Other assistants
Any client compatible with the Model Context Protocol (HTTP transport) can use this address: Cursor, VS Code, Le Chat, custom agents…
Available tools
| Tool | Purpose |
|---|---|
search | Search the official texts with Haqia's engine (Arabic and French) |
fetch | Full text of an article or a law, with its source |
search_articles | Search filtered by language and type (law, circular, decision…) |
get_article | A specific article of a code, with its version in the other language |
list_codes | The main codes and their identifiers |
latest_updates | The latest texts found by the legal watch |
Example questions
- « What does Article 53 of the Moroccan Labour Code say? »
- « What notice period applies to a dismissed manager in Morocco? »
- « ما هي شروط الطلاق للشقاق في مدونة الأسرة؟ »
- « What are the latest circulars published in Morocco? »
Terms
- Read-only: the connector reads no data from your account and keeps no conversations.
- Up to 60 requests per minute per address.
- General legal information: only publication in the Official Bulletin is authoritative.
Claude and ChatGPT finally know Moroccan law: connect them to Haqia in two minutes →