ruTS-mcp

io.github.SergeyShkPublished by GitHub account SergeyShkv0.1.4Updated Oct 29, 2026

MCP server for ruTS: statistics of Russian texts as tools for LLM agents

VerifiedSTDIODesktop onlyKnowledge & MemoryData & Analytics

Overview

AI-generated overview

Local MCP server exposing the ruTS library so an assistant can measure Russian text statistics instead of judging them by eye.

What you can do
  • Analyze a Russian text across groups of statistics: basic counts, readability with reader class and age, lexical diversity, morphology, phonostatistics, cohesion, style and bureaucratic phrasing, lexical complexity, verse and syntax
  • Find keyword-in-context occurrences of a word or phrase
  • List stable collocations and a word's combinability
  • Measure how evenly words are dispersed through a text
  • Identify keywords relative to Russian overall or to another text
  • Compare two text corpora by stylistic features
When to use it
Useful when working with Russian-language texts and you want reproducible numbers rather than impressions: readability and style checks, SEO or bureaucratic-language review, keyword and collocation work, dispersion, or comparing two corpora.
Requirements
Runs locally as a stdio process, started with uvx from uv, which fetches the package and Python. The lexical, verse and syntax groups need dictionaries and a spaCy model, downloaded with a separate download command. No accounts, API keys or environment variables are declared.
Before you install
The download command fetches third-party dictionaries and a spaCy model whose licenses belong to their authors. Values are flagged as unstable or meaningless for some texts, so results should be read with the accompanying warnings rather than taken at face value.

Installation

In SourceWeft

  1. Open ruTS-mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

[ruTS-mcp]

ruTS-mcp

MCP-сервер для ruTS - статистики русского текста как инструменты для LLM-агентов

Документация · PyPI · English

[Версия] [Поддерживаемые версии Python] [Сборка] [Ruff] [Лицензия] [Оценка Glama]


ruTS-mcp дает LLM-агенту инструменты библиотеки ruTS, чтобы измерить русский текст, а не оценивать его на глаз. Каждое значение приходит вместе с описанием, прочтением по шкале, если она есть, и предупреждениями, когда значение неустойчиво или не имеет смысла для текста.

  • analyze_text - статистики текста по группам: базовые, удобочитаемость с классом и возрастом читателя, лексическое разнообразие, морфология, фоностатистики, связность, стиль и канцелярит, лексическая сложность, стих, синтаксис
  • kwic - вхождения слова или словосочетания с контекстом
  • collocations - устойчивые сочетания и сочетаемость слова
  • dispersion - насколько равномерно слова распределены по тексту
  • keyness - ключевые слова относительно русского языка или другого текста
  • compare_texts - чем различаются два корпуса текстов по признакам стиля
  • Ресурсы и промпты - шкалы удобочитаемости и нормы стиля, готовые разборы: удобочитаемость, канцелярит, стихотворение, SEO-проверка, сравнение двух текстов

Установка

Сервер запускается через uvx из uv, который сам скачает пакет и Python. Подключение к Claude Code:

bash
claude mcp add ruts -- uvx ruts-mcp

Для групп lexical, verse и syntax нужны словари и модель spaCy, их скачивает одна команда:

bash
uvx ruts-mcp download

Сервер вместе со скиллом, который подсказывает агенту, как им пользоваться, ставит плагин Claude Code:

/plugin marketplace add SergeyShk/ruTS-mcp/plugin install ruts@ruts-mcp

Подключение к Claude Desktop, Cursor и другим клиентам и настройки - в документации.

Лицензия

MIT. Словари, которые скачивает ruts-mcp download, распространяются на условиях их авторов: частотный словарь Ляшевской и Шарова, словарь ударений Козиева (CC0), модель spaCy (MIT).

Source: README.md at commit 6bac4ee

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.4LatestOct 29, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts