arabic-dict-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@arabic-dict-mcpWhat's the root of مكتوب and what other words come from it?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
arabic-dict-mcp
An MCP server that gives AI agents grounded Arabic dictionary lookup — so replies about words, roots, and meanings come from real dictionary data instead of the model's parametric memory.
Built for Arabic learners who are tired of AI assistants confidently inventing meanings, roots, and derivations.
Why
Ask any LLM "what's the root of مكتوب and its siblings?" and you'll get an answer that sounds right — sometimes it is, often it isn't. This server exposes three tools the model can call to look words up in real dictionaries. When wired into Claude Code, Claude Desktop, or any MCP-compatible client, the model grounds its answer in the returned data instead of guessing.
Related MCP server: word-orb
Tools
Tool | What it does |
| All dictionary entries under a root. Accepts any form: |
| Matches an inflected surface form or lemma. Returns each match's root so the agent can pivot to |
| Full-text search over meanings for "what's the root for X?" style questions. |
Diacritics. Input is tashkeel-insensitive — كَاتِبٌ, كاتب, and كَاتِب all match. Output preserves full vocalization from the source (including final case marks), because the vowelled form is what disambiguates the lemma.
Data sources
Downloaded at build time by scripts/build_dataset.py; not vendored in the repo.
Source | Coverage | License |
~40k MSA verb & noun entries — root, POS, wazn, forms, Arabic definitions | GPL | |
1,651 Quranic roots with English (Lane) glosses | GPLv3 |
Total: 5,610 roots · 42,351 entries in a unified SQLite index with FTS5.
Install
git clone https://github.com/arnizamani/arabic-dict-mcp.git
cd arabic-dict-mcp
uv venv .venv
uv pip install --python .venv/bin/python -e .
.venv/bin/python scripts/build_dataset.py # ~40 MB download → data/arabic.dbUse — Claude Code / Desktop (stdio)
claude mcp add arabic-dict \
-- /absolute/path/arabic-dict-mcp/.venv/bin/python -m arabic_dict_mcp.mainOr add to ~/.claude/mcp.json / claude_desktop_config.json:
{
"mcpServers": {
"arabic-dict": {
"command": "/absolute/path/arabic-dict-mcp/.venv/bin/python",
"args": ["-m", "arabic_dict_mcp.main"]
}
}
}Then ask Claude something like "What's the root of مكتوب and what other words come from it?" — the model will call lookup_word → lookup_root and reply with grounded data.
Use — HTTP (remote)
export MCP_AUTH_TOKEN=$(openssl rand -hex 24)
.venv/bin/python -m arabic_dict_mcp.main --http --host 0.0.0.0 --port 8000Clients must send Authorization: Bearer $MCP_AUTH_TOKEN. The server refuses to start over HTTP without a token set.
Test
PYTHONPATH=src .venv/bin/python -m pytest tests/Layout
src/arabic_dict_mcp/
normalize.py diacritic + letter-variant normalization (pyarabic)
db.py SQLite queries: lookup_root / lookup_word / search_meaning
server.py MCPServer with the three tools registered
main.py --http | stdio entrypoint
scripts/
build_dataset.py downloads sources → unified data/arabic.db with FTS5
tests/
test_normalize.pyKnown limits
English meanings only cover the ~1,651 Quranic roots. Other MSA vocabulary returns terse Arabic glosses from arramooz only.
arramooz definitions are short dictionary glosses, not full lexicon entries. A future version could bring in the full Lane's Lexicon (Perseus XML) for classical coverage.
License asymmetry: this repository's code is MIT, but the downloaded dictionary data is GPL/GPLv3. Redistributing the built
data/arabic.dbtriggers GPL; the code alone doesn't.
Contributing
Issues and pull requests are welcome. Ideas that would help:
Full Lane's Lexicon ingestion beyond Quranic roots
Additional MSA/dialect dictionaries with permissive licenses
Root-similarity or fuzzy matching for typo tolerance
License
MIT — see LICENSE for details. Note the data-license asymmetry above.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceAn MCP server that provides fact-checking capabilities and truth anchoring for AI agents using verified data sources.Last updatedMIT
- Alicense-qualityDmaintenanceVocabulary intelligence MCP server — 162K words, 47 languages, definitions, IPA pronunciation, etymology, translations, and daily lessons. 19 tools for AI agents.Last updated241MIT
- FlicenseAqualityDmaintenanceAn MCP server for multilingual dictionary lookups with word relations such as synonyms, antonyms, and definitions, leveraging ConceptNet, Wiktionary, and Datamuse APIs.Last updated283
- AlicenseAqualityCmaintenanceAn MCP server that provides AI agents with access to Dubai and UAE public data (prayer times, exchange rates, school ratings, etc.) and curated business setup knowledge for entrepreneurs.Last updated1004MIT
Related MCP Connectors
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arnizamani/arabic-dict-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server