QariAI Arabic Roots

Read-only Quranic Arabic Corpus morphology, root counts and root drills for all 6,236 verses.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
100%
Naming quality
96%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,670Tokens (tool definitions)
~2.4 KBTypical response size
Moderate attention impact (1.30% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "arabic-roots": {
      "url": "https://mcp.qariai.app/mcp"
    }
  }
}

Remote endpoints

https://mcp.qariai.app/mcpstreamable-http

What it can do

Tool inventory

Tools (5)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢lookup_root_or_word(query, verse)

Look up one Arabic root or word in the QariAI vocabulary catalog (139 roots, 799 headwords; separate from the corpus data), optionally with a surah:ayah reference. Returns the matching root entry, headword or verified verse token, or a status for an unsupported word–verse pair, conflicting vowel marks, ambiguous matches or no catalog match. Verse readings are returned only for verified word–verse pairs.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Arabic root or word to look up, 1-80 characters, Arabic script only. Vowel marks and tatweel are optional; a root may be written with spaces. Examples: \"ك ت ب\" (root), \"يسبحون\" (word)."
    },
    "verse": {
      "description": "Optional Quran verse reference as surah:ayah, each part 1-3 digits. Example: \"21:33\". When omitted, the lookup is against the catalog only; when given, a verse token is returned only for verified word-verse pairs.",
      "type": "string",
      "pattern": "^\\d{1,3}:\\d{1,3}$"
    }
  },
  "required": [
    "query"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢get_root_drill(root)

Return three multiple-choice questions for one Arabic root in the QariAI catalog. Call it when a learner wants to practise a root. Creates no server-side session or saved progress.

Input Schema

{
  "type": "object",
  "properties": {
    "root": {
      "type": "string",
      "minLength": 1,
      "maxLength": 24,
      "description": "Arabic root letters, 1-24 characters, Arabic script only. Spaces, vowel marks and tatweel are ignored, so \"ك ت ب\" and \"كتب\" are the same root. Example: \"ك ت ب\". Only roots in the QariAI catalog (139 roots) return a drill."
    }
  },
  "required": [
    "root"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢check_root_answer(root, question, choice, score_so_far)

Grade one numbered choice (1-3) for a question from a drill returned by get_root_drill. Returns whether the choice is correct, the correct answer, and, after question 3, an optional final_message with a link to further QariAI material.

Input Schema

{
  "type": "object",
  "properties": {
    "root": {
      "type": "string",
      "minLength": 1,
      "maxLength": 24,
      "description": "Arabic root letters, 1-24 characters, Arabic script only. Spaces, vowel marks and tatweel are ignored, so \"ك ت ب\" and \"كتب\" are the same root. Example: \"ك ت ب\". The root of the drill being answered."
    },
    "question": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "description": "Number of the drill question being answered, an integer from 1 to 3. Example: 2."
    },
    "choice": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "description": "Number of the chosen answer option, an integer from 1 to 3. Example: 1."
    },
    "score_so_far": {
      "description": "Number of earlier questions in this drill answered correctly (0-2), used to compute the running score. Optional; when omitted, no score is returned. Example: 1.",
      "type": "integer",
      "minimum": 0,
      "maximum": 2
    }
  },
  "required": [
    "root",
    "question",
    "choice"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢get_verse_morphology(surah, ayah)

Return the word-by-word morphology of one Quran verse from the Quranic Arabic Corpus: for every word, its segments with tag, lemma, root and grammatical features. Covers all 6,236 verses. Lemmas and roots are derived from the corpus’s Buckwalter source. Contains no Quran text and no translation. Call it when the grammar or roots of a specific verse are needed.

Input Schema

{
  "type": "object",
  "properties": {
    "surah": {
      "type": "integer",
      "minimum": 1,
      "maximum": 114,
      "description": "Surah (chapter) number, an integer from 1 to 114. Example: 2."
    },
    "ayah": {
      "type": "integer",
      "minimum": 1,
      "maximum": 286,
      "description": "Ayah (verse) number within the surah, an integer from 1 to 286 (surah 2, the longest, has 286 verses). Example: 255."
    }
  },
  "required": [
    "surah",
    "ayah"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢find_verses_by_root(root, limit, offset)

List where an Arabic root occurs in the Quran according to the Quranic Arabic Corpus: total count, lemma breakdown and a page of occurrences (verse, word number, lemma, tag), paged with limit and offset; next_offset is returned when more remain. Counts cover the whole Quran. Lemmas and roots are derived from the corpus’s Buckwalter source. Contains no Quran text and no translation. Call it when the usage or frequency of a root is needed.

Input Schema

{
  "type": "object",
  "properties": {
    "root": {
      "type": "string",
      "minLength": 1,
      "maxLength": 24,
      "description": "Arabic root letters, 1-24 characters, Arabic script only. Spaces, vowel marks and tatweel are ignored, so \"ك ت ب\" and \"كتب\" are the same root. Example: \"ك ت ب\". Hamza and alif variants are treated as equal."
    },
    "limit": {
      "description": "Maximum number of occurrences returned in this page, an integer from 1 to 100. Defaults to 50. Example: 20.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "offset": {
      "description": "Number of occurrences to skip, an integer of 0 or more. Defaults to 0. The next page starts at the next_offset value returned by the previous result. Example: 50.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "root"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded5 tools