SuperAPIAI Directory

ruTS-mcp

github.com · AI developer platforms

ruTS-mcp is an MCP server for LLM agents that wraps the ruTS Russian text statistics library into callable tools, enabling agents to actually measure Russian text rather than assess it by feel. It provides tools for text statistics, keyword-in-context (KWIC), collocations, dispersion, keyness, text comparison, visualization, and finding reference texts; every value comes with an explanation, scale interpretation, and a warning when the value is unstable or not applicable to the text. The server can be launched via uvx, supports integration with MCP clients such as Claude Code, Claude Desktop, and Cursor, and also offers an HTTP mode and a Docker image. The project is MIT-licensed, and some dictionaries and corpora follow their respective authors' license terms.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

ruTS-mcp is the MCP server for the ruTS Russian text statistics library. Its goal is to provide text statistics capabilities as tools to LLM agents so that agents can measure Russian text rather than evaluate it by subjective impression. Every returned statistic comes with a description, an interpretation according to a scale (where a scale exists), and a warning when the value is unstable or meaningless for the text.

Main capabilities (tools):

  • analyze_text: returns text statistics by group, including basic statistics, readability (with reader grade and age), lexical diversity, morphology, phonetic statistics, coherence, style and officialese, lexical complexity, poetry, syntax, and readability formulas for other languages.
  • kwic: returns the occurrences of a word or phrase along with their context.
  • collocations: returns fixed collocations and word collocability.
  • dispersion: measures how evenly a word is distributed throughout the text.
  • keyness: keywords relative to Russian as a whole or to another text.
  • compare_texts: compares two text corpora by stylistic features.
  • visualize: generates text charts as images, including Zipf's law, sentence length, word positions, and poetic rhythm.
  • find_texts: finds reference texts from the ruTS datasets, including poets' poems, classic prose, and school-grade texts.

Resources and prompts: provides readability scales and style norms, as well as ready-made analysis workflows: readability, officialese, poetry, SEO check, and comparison of two texts.

Usage: the server is launched via uv's uvx, which automatically downloads the package and Python. The documentation gives instructions for integration with Claude Code; the lexical and verse groups require dictionaries, which can be downloaded with a single command. The ruTS text sets used by find_texts (poems, classic prose, school-grade texts) are also downloaded by name with the same command, for example uvx ruts-mcp download poetry_corpus, occupying about 1 to 90 MB of disk space. There is also a Claude Code plugin that installs together with a skill; the skill is used to prompt the agent on how to use the server. For integration with Claude Desktop, Cursor, and other clients, the HTTP-mode server and Docker image, and all settings, see the documentation.

Use cases: agent workflows that require quantifiable analysis of Russian text, such as readability assessment, style and officialese checks, vocabulary richness and collocation analysis, keyword extraction, text comparison, poetic rhythm analysis, and SEO text checks.

Limitations and licensing: the project is MIT-licensed. Dictionaries downloaded via ruts-mcp download follow their authors' terms: the frequency dictionary by Lyashevskaya and Sharov, and Koziev's stress dictionary (CC0). The same applies to the text sets: Plain Russian Language (CC0), Gusev's PoetryCorpus (Apache-2.0), RusLit (PDDL), the «Родная речь» anthology, and the Stalin collected works on Harvard Dataverse. For specific installation commands, client configuration, and full documentation, refer to the project repository and documentation; content not provided in the materials is not yet available.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools