Server definition
- Hash
- sha256:f21699994727c41cfa990150870a0ca69dc7b19f801b40c4b830902e00b51ad0
- What it is
- What a remote MCP server returned when asked what it offers: 5 tools
The blob, as servednamed by its sha256
{
"instructions": "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": [
{
"description": "One article of a text, exactly as published, with its citation block (canonical URL, marker, text title and number, consolidated date, official PDF).",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"key": {
"description": "Article key, e.g. 4, 5-bis, 185-to-200",
"type": "string"
},
"lang": {
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published).",
"enum": [
"ar",
"fr"
],
"type": "string"
},
"slug": {
"description": "Text slug, e.g. loi-70-03",
"type": "string"
}
},
"required": [
"lang",
"slug",
"key"
],
"type": "object"
},
"name": "get_article",
"outputSchema": null
},
{
"description": "Metadata of a law/decree (title, number, dates, Bulletin officiel, official PDF) and its table of contents with article keys.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"lang": {
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published).",
"enum": [
"ar",
"fr"
],
"type": "string"
},
"slug": {
"description": "Text slug, e.g. loi-65-99",
"type": "string"
}
},
"required": [
"lang",
"slug"
],
"type": "object"
},
"name": "get_text",
"outputSchema": null
},
{
"description": "Previous wordings of an article with their validity dates, and the current wording.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"lang": {
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published).",
"enum": [
"ar",
"fr"
],
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"lang",
"slug",
"key"
],
"type": "object"
},
"name": "get_versions",
"outputSchema": null
},
{
"description": "Subject categories (المادة المدنية, Matière commerciale…) with their slugs and text counts.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"lang": {
"default": "ar",
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published).",
"enum": [
"ar",
"fr"
],
"type": "string"
}
},
"type": "object"
},
"name": "list_categories",
"outputSchema": null
},
{
"description": "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.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"category": {
"description": "Category slug from list_categories",
"type": "string"
},
"kind": {
"description": "loi, decret, dahir, dahir-loi, arrete, constitution",
"type": "string"
},
"lang": {
"default": "ar",
"description": "Language of the text: \"ar\" (Arabic, most texts) or \"fr\" (French translation, when published).",
"enum": [
"ar",
"fr"
],
"type": "string"
},
"limit": {
"default": 10,
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"query": {
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "search_law",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:f21699994727c41cfa990150870a0ca69dc7b19f801b40c4b830902e00b51ad0 | sha256sum