Qanun MCP server
Lets AI assistants search Tunisian codes and laws article by article and cite the exact official gazette reference through an MCP server.
read 2026-11-19
How to connect
Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:
{
"mcpServers": {
"qanun-mcp": {
"type": "http",
"url": "https://qanun.tn/mcp"
}
}
}Add it
Claude Code, in a terminal
claude mcp add --transport http qanun https://qanun.tn/mcpclaude.ai, ChatGPT and other clients: add https://qanun.tn/mcp as a custom connector in the settings.
search_lawverified Nov 26, 2026Search Tunisian law (codes, laws, organic laws, decree-laws) by keywords in French or Arabic; returns matching articles with JORT references. Recherche plein texte dans le droit tunisien (codes, lois, décrets-lois) en français ou en arabe…
get_articledescribed by the serverGet one article of a Tunisian law or code by text_id and article number, with French and Arabic side by side when available. Obtenir un article d'un texte de droit tunisien (texte_id et numéro), en français et en arabe côte à côte si…
get_textdescribed by the serverGet metadata and the list of articles of a Tunisian law or code (500 per page; use offset to paginate). Obtenir les métadonnées et la liste des articles d'une loi ou d'un code tunisien (500 par page ; paginer avec offset).
search_announcementsseen, not called yetSearch Tunisian official JORT legal announcements (company formation, changes, dissolution, merger) by company name, keywords, RNE number or date. Rechercher les annonces légales du JORT tunisien (constitution, modification, dissolution…
latest_jortdescribed by the serverSummarise recent Tunisian official journal (JORT) activity: announcement counts by kind, the 20 latest announcements and newly added law texts. Résumé de l’activité récente du JORT tunisien : annonces par type, les 20 dernières annonces…
How we checked it
Should an agent connect it
- Its tools do every use case we checked: Find the exact article of a Tunisian code or law; Check whether a company published a notice in the JORT; Look up the dismissal notice period in the labour code.
- On Nov 26, 2026 we called its read-only tools following a fixed scenario, and 1 of 1 steps returned what the check expects.
Once connected
- For "Find the exact article of a Tunisian code or law", the likely first call is search_law.
- For "Check whether a company published a notice in the JORT", the likely first call is search_announcements.
- For "Look up the dismissal notice period in the labour code", the likely first call is search_law.
- Parameters are untyped or undescribed in 5 of 5 tools: check arguments before calling.
Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.
Measured daily
- INITE MCP score96 of 100answers 100 · does the job 100 · definitions 83 · context 100 · connects 100
- Checked by calling it1 of 1 steps passedlatest run Nov 26, 2026, read-only calls only
- What an agent can do with it3 of 3 use cases
- Answered100% of days11 of 11 daily checks
- Median first answer201 ms
- Space in an agent's context≈ 949 tokensthe definitions of all its tools (5), which an agent carries on every turn
- Tool definitionsB · 83 of 100
- Typed results0 of 5 toolsdeclared outputSchema: results come typed, read once
- Parameters without a description: in 5 of 5
What an agent can do with it
- can do · Find the exact article of a Tunisian code or law
- can do · Check whether a company published a notice in the JORT
- can do · Look up the dismissal notice period in the labour code
Each of the product's use cases, put to Jev against this server's tool list: can an agent do it with these tools?
Worth a look
None of the five warning signs in these definitions.
A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →
- Stateanswerschecked 2026-11-19
- Tools5
- Server calls itselfqanun-mcp
- Server version1.0.0
- Protocol version2025-06-18
On 2026-11-19 the server answered initialize and tools/list without a sign-in. First answer in 178 ms.
- Registry nametn.qanun/qanun-mcpverified in the MCP registry
The registry name sits under qanun.tn. The registry only lets a publisher use that namespace after proving control of the domain through DNS or HTTP.
Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.
Before we count this visit
Analytics and ad measurement tell us which pages and which of our ads do their job: Google Analytics and Google Ads, the Meta pixel, Yandex Metrica, and one first-party id of our own. Nothing is stored until you answer, and declining changes nothing about the site.