text-barrier-mcp

v0.2.0
io.github.mcontrerasmalpar-pixel/text-barrier-mcp Checked 5 hours ago Published 7 days ago

Deterministic EN/ES readability metrics, Readability Band (A1-C2), and barrier detection.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyze_text Analyze Text Readability

Computes deterministic readability metrics (Flesch Reading Ease for EN, Fernández-Huerta & INFLESZ for ES, Grade Level, structure score, overall score) and a CEFR-inspired Readability Band (A1–C2, not a certification).

ParameterTypeDescription
text *stringPlain text or Markdown to analyze (non-empty, up to 1,000,000 characters).
ignoreWordsarrayOptional case-insensitive list of domain/product words or acronyms to ignore when flagging complex words and undefined acronyms (team glossary).
langstringAnalysis language code: "en" (English, Flesch Reading Ease) or "es" (Spanish, Fernández-Huerta). Defaults to "en".
markdownbooleanSet true when the text is Markdown: code blocks, tables, badges, URLs and link targets are ignored so only prose is scored. Offsets still refer to the original text. Defaults to false (check_file enab…

find_barriers Find Text Readability Barriers

Returns a deterministic list of readability barriers (passive, long_sentence, complex_word, undefined_acronym, bureaucratic) with start/end offsets, 1-based line/column coordinates, sentence index, short reason, and language code.

ParameterTypeDescription
text *stringPlain text or Markdown to scan for readability barriers (non-empty, up to 1,000,000 characters).
ignoreWordsarrayOptional case-insensitive list of domain/product words or acronyms to ignore when flagging complex words and undefined acronyms (team glossary).
langstringAnalysis language code: "en" (English, Flesch Reading Ease) or "es" (Spanish, Fernández-Huerta). Defaults to "en".
markdownbooleanSet true when the text is Markdown: code blocks, tables, badges, URLs and link targets are ignored so only prose is scored. Offsets still refer to the original text. Defaults to false (check_file enab…

check_file Check Markdown or Text File Readability

Reads a local .md or .txt file and returns both the full readability analysis and the list of detected barrier issues. Markdown files are analyzed as prose only (code blocks, tables, badges and URLs are ignored).

ParameterTypeDescription
path *stringPath to a local .md or .txt file to analyze for readability metrics and barriers.
ignoreWordsarrayOptional case-insensitive list of domain/product words or acronyms to ignore when flagging complex words and undefined acronyms (team glossary).
langstringAnalysis language code: "en" (English, Flesch Reading Ease) or "es" (Spanish, Fernández-Huerta). Defaults to "en".