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/mcp

In Claude

  1. Open Claude settings, "Connectors" section.
  2. Choose "Add custom connector".
  3. Name it "Haqia" and paste the address https://haqia.ma/mcp, with no authentication.
  4. 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

  1. Open ChatGPT settings, apps and connectors section. Depending on your plan, adding a custom connector requires enabling developer mode.
  2. Create a connector named "Haqia" with the address https://haqia.ma/mcp, with no authentication.
  3. 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

ToolPurpose
searchSearch the official texts with Haqia's engine (Arabic and French)
fetchFull text of an article or a law, with its source
search_articlesSearch filtered by language and type (law, circular, decision…)
get_articleA specific article of a code, with its version in the other language
list_codesThe main codes and their identifiers
latest_updatesThe 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 →

Method and sources →