Armenian-Russian Language MCP
MCP server and library for transliteration and translation between Armenian and Russian languages.
Features
- Transliteration: Convert Armenian text to Russian characters based on pronunciation rules
- Bidirectional Translation: Translate between Armenian and Russian using dictionary lookups
- Dictionary Resources: Access dictionary entries for specific words
- Batch Processing: Translate multiple words at once
- MCP Server: Integration with Claude Desktop and other systems via the MCP protocol
Installation
pip install armenian-russian-lang-mcp
Usage
As a Python Library
from armenian_russian_lang_mcp import transliterate, translate
# Transliterate Armenian text to Russian
result = transliterate("Բարև")
print(result) # "барев"
# Translate Armenian to Russian
result = translate("աբբա", direction="am-to-ru")
print(result) # Dictionary with translation results
# Translate Russian to Armenian
result = translate("авва", direction="ru-to-am")
print(result) # Dictionary with translation results
As an MCP Server
Running the server:
# Run using the entry point
armenian-russian-mcp-server
# Or using the Python module
python -m armenian_russian_lang_mcp.server
Available MCP Tools
-
transliterate: Transliterate Armenian text to Russian characters
# Example usage result = await session.call_tool("transliterate", arguments={"text": "Բարև"})
-
translate: Translate text between Armenian and Russian
# Example usage (Armenian to Russian) result = await session.call_tool("translate", arguments={ "text": "աբբա", "direction": "am-to-ru" }) # Example usage (Russian to Armenian) result = await session.call_tool("translate", arguments={ "text": "аббат", "direction": "ru-to-am" })
-
batch_translate: Translate multiple words at once
# Example usage result = await session.call_tool("batch_translate", arguments={ "words": ["աբբա", "աբբահայր"], "direction": "am-to-ru" })
Available MCP Resources
-
dictionary://am-ru/{word}: Get Armenian-Russian dictionary entry
# Example usage content, mime_type = await session.read_resource("dictionary://am-ru/աբբա")
-
dictionary://ru-am/{word}: Get Russian-Armenian dictionary entry
# Example usage content, mime_type = await session.read_resource("dictionary://ru-am/аббат")
Installing in Claude Desktop
To use with Claude Desktop:
# Run using the entry point
armenian-russian-mcp-install-to-claude
# Or using the Python module
python -m armenian_russian_lang_mcp.install_to_claude
Project Structure
-
Core Components:
server.py: MCP server implementationtransliteration.py: Armenian to Russian transliteration moduletranslation.py: Bidirectional translation module
-
Resource Files:
alphabet.md: Armenian alphabet with Russian transliteration rulesam-rus.dsl: Armenian-Russian dictionaryrus-am.dsl: Russian-Armenian dictionary
Development
Cloning the Repository
git clone https://gitlab.com/smoug25/armenian-russian-lang-mcp.git
cd armenian-russian-lang-mcp
Installing in Development Mode
pip install -e .
Running Tests
# Run all tests
make test
License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for armenian-russian-lang-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| armenian_russian_lang_mcp-0.1.0.tar.gz | 708.9 kB | Without provenance | Details for armenian_russian_lang_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| armenian_russian_lang_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for armenian_russian_lang_mcp-0.1.0-py3-none-any.whl |
Total release size: 1.4 MB
Release files / armenian_russian_lang_mcp-0.1.0.tar.gz
| Download URL | armenian_russian_lang_mcp-0.1.0.tar.gz |
|---|---|
| Size | 708.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7eae38d09abc0a5160b87bb7b8bb0e5925b2d79483652845574328d99a6d6ada
|
|
BLAKE2b-256 checksum How to use checksums |
24aaa1e3eb5c17522ef84914f23030d25c9fb89dbbab89c2f4c0698c7712d7e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.11
|
Release files / armenian_russian_lang_mcp-0.1.0-py3-none-any.whl
| Download URL | armenian_russian_lang_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 723.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83235e3e3a30254656016d551491a5551df00e67842ee6512947f243ae36089a
|
|
BLAKE2b-256 checksum How to use checksums |
a2950b605f0382c9edbb847a3c3da5239e6367a231d05976c3c3194d8bd7bfef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.11
|
Security for armenian-russian-lang-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.