Skip to main content

nutq-mcp

An MCP server that gives AI assistants (Claude, and any other MCP client) reliable tools for Tajik, Persian, Dari and Uzbek text, built on nutq.

Language models often misspell Tajik in Perso-Arabic script, mix up Uzbek oʻ/gʻ, or get number words wrong. With this server, the assistant calls tested code instead of guessing.

Tools

Tool What it does Example
convert_script Changes the writing system Забони тоҷикӣ → زبان تاجیکی; O'zbekiston → Ўзбекистон
normalize_text Spells out numbers, dates, times, money, %, phone numbers, units and abbreviations for TTS Нархи 25 $ аст → Нархи бисту панҷ доллар аст
number_to_words Writes a single number in words (cardinal or ordinal, any script) 4, uz, ordinal, Cyrl → тўртинчи
clean_text Fixes characters only (look-alike letters, ي/ك, apostrophes, ZWNJ) o'zbek → oʻzbek
list_languages Lists languages, scripts and status tg, fa, fa-AF, uz

All tools are read-only and work offline.

Install

Requires Python 3.10+. With uv, there is nothing to install by hand.

Claude Code

claude mcp add nutq -- uvx nutq-mcp

Claude Desktop — add this to claude_desktop_config.json:

{
  "mcpServers": {
    "nutq": {
      "command": "uvx",
      "args": ["nutq-mcp"]
    }
  }
}

Without uv: pip install nutq-mcp, then use "command": "nutq-mcp".

Then ask, for example: "Write «Забони тоҷикӣ ширинтар аз шакар» in Persian script" or "Prepare this Uzbek text for speech synthesis: 2026-yil 12-mart, 15% chegirma".

Development

pip install -e ../ -e .
python -m unittest discover -s tests

The tests start the server in-process through a real MCP client, and also as a subprocess over stdio.

MIT license.

Metadata

Release files for nutq-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)

Source distribution for nutq-mcp 0.1.0
File Size Uploaded Provenance Actions
nutq_mcp-0.1.0.tar.gz 5.5 kB With provenance Details for nutq_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nutq-mcp 0.1.0
File Interpreter ABI Platform Actions
nutq_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for nutq_mcp-0.1.0-py3-none-any.whl

Total release size: 10.4 kB

Release files / nutq_mcp-0.1.0.tar.gz

Download URL nutq_mcp-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ebefee167e28600f6207a8a47d9201a938f24658d26ee1ddc979f7fdc5949ac9
BLAKE2b-256 checksum
How to use checksums
521575e3723b84014c36538305b216b280b4945cf88623645e870602f2194b0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / nutq_mcp-0.1.0-py3-none-any.whl

Download URL nutq_mcp-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0852ff7516c50b5fe120af593c0ac9d76b88c30c1f73466d0b6179b8d30ece6e
BLAKE2b-256 checksum
How to use checksums
966e89aefe06284c30dff577979b32476d06eed7c1cf6730c890875bf22ad65c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for nutq-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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nutq_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page