
ests-mcp
io.github.SergeyShk/ests-mcp
MCP server for esTS: statistics of Spanish texts as tools for LLM agents
Documentation
esTS-mcp
MCP server for esTS - statistics of Spanish texts as tools for LLM agents
esTS-mcp gives an LLM agent the tools of the esTS library to measure a Spanish text instead of judging it by eye: readability with the school stage and reader age of Spain, lexical diversity, morphology, syntax, meter and rhyme, keywords, collocations, comparison of corpora, charts. Every value comes with a description, a reading by a scale where there is one, and warnings when the value is unstable or meaningless for the text.
analyze_text- statistics of a text by groups: basic, readability with the school stage and the reader age, lexical diversity, morphology, phonostatistics, cohesion, style and the administrative style, lexical sophistication, verse, syntax, readability formulas of other languageskwic- occurrences of a word or a phrase with their contextcollocations- set phrases and the company of a worddispersion- how evenly words are spread over a textkeyness- keywords against Spanish books or another textcompare_texts- how two corpora of texts differ by style featuresvisualize- a chart of a text as an image: Zipf's law, sentence lengths, places of words, the rhythm of a versefind_texts- reference texts of the esTS datasets: the prose of Spanish and Latin American classics, the sonnets of DISCO- Resources and prompts - the readability scales, ready reviews: readability, the administrative style, a poem, a comparison of two texts
Installation
The server runs through uvx from uv, which downloads the package and Python itself. Connecting to Claude Code:
claude mcp add ests -- uvx ests-mcp
The lexical group and keyness against the language need the frequency dictionary, downloaded by one command:
uvx ests-mcp download
The esTS datasets for find_texts are downloaded by the same command by name: uvx ests-mcp download spanish_sonnets (5 MB on disk) or spanish_literature (86 MB).
The Claude Code plugin installs the server together with the skill that tells the agent how to use it:
/plugin marketplace add SergeyShk/esTS-mcp
/plugin install ests@ests-mcp
Connecting to Claude Desktop, Cursor and other clients, the server over HTTP and the Docker image, the settings - in the documentation.
License
MIT. The data that ests-mcp download downloads are distributed on the terms of their authors: the frequency dictionary of Google Books Ngram (CC BY 3.0), the sonnets of DISCO (CC BY 4.0), the works of Project Gutenberg (public domain).
ests-mcppip install ests-mcpghcr.io/sergeyshk/ests-mcp:0.1.0docker pull ghcr.io/sergeyshk/ests-mcp:0.1.0:undefinedhttps://github.com/SergeyShk/esTS-mcp/releases/download/0.1.0/ests-mcp-0.1.0.mcpb# mcpb: https://github.com/SergeyShk/esTS-mcp/releases/download/0.1.0/ests-mcp-0.1.0.mcpb