Arabic Text
БесплатноНе проверенDeterministic Arabic text tools (normalization, diacritics, digits, Buckwalter) as an MCP server
Описание
Deterministic Arabic text tools (normalization, diacritics, digits, Buckwalter) as an MCP server
README
A small MCP server that gives any agent deterministic Arabic text tools — no model calls, no network, no state. Useful because LLMs are unreliable at exact character-level work (stripping diacritics, unifying alef forms, converting digits).
TL;DR — Seven deterministic Arabic text tools for any MCP client; tested end-to-end through a real stdio MCP session.
Tools
| Tool | What it does |
|---|---|
normalize |
Strips tashkeel and tatweel; optionally unifies alef (أإآٱ→ا), yaa (ى→ي), taa marbuta (ة→ه), hamza carriers (ؤئ) |
strip_diacritics |
Removes harakat, shadda, sukun and the dagger alef (ٰ) only |
convert_digits |
Western ↔ Eastern Arabic-Indic digits; Persian digits (۰-۹) folded in, since real text mixes them |
to_buckwalter / from_buckwalter |
Lossless Buckwalter transliteration |
split_sentences |
Splits on . ! ? ؟ ؛ and newlines |
script_stats |
Arabic/Latin letter counts, diacritics, words, Arabic ratio |
Design choice: taa_marbuta normalization is off by default — it merges مدرسة/مدرسه but also conflates distinct words, so it must be requested.
Install & use
pip install arabic-text-mcp
# Claude Code
claude mcp add arabic-text -- arabic-text-mcp
Any MCP client: {"command": "arabic-text-mcp"} (stdio), or python -m arabic_text_mcp.
Tests
pip install -e ".[test]"
pytest tests
Includes an end-to-end test that spawns the server as a real process and calls a tool through an MCP client over stdio. Test cases come from real text (Uthmani-script basmala, tatweel-stretched headlines, mixed Eastern/Persian digits, a Wikipedia line mixing LTR and RTL).
Built on mcp 2.x (MCPServer, formerly FastMCP).
Scope
Intentionally excludes dialect identification and diacritization: those need models and honest accuracy numbers, not rules. Planned as separate, evaluated modules.
Установить Arabic Text в Claude Desktop, Claude Code, Cursor
unyly install arabic-textСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add arabic-text -- uvx arabic-text-mcpПошаговые гайды: как установить Arabic Text
FAQ
Arabic Text MCP бесплатный?
Да, Arabic Text MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Arabic Text?
Нет, Arabic Text работает без API-ключей и переменных окружения.
Arabic Text — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Arabic Text в Claude Desktop, Claude Code или Cursor?
Открой Arabic Text на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
автор: UnylyTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectServer Sequential Thinking
MCP server for sequential thinking and problem solving
автор: GitHub ActionsAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
автор: blustAIdemo
demo — MCP server via Smithery
автор: yoojoohans-jpgServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
автор: Mitsubishi-FusoCompare Arabic Text with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
