text-barrier-mcp
v0.2.0Deterministic 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).
| Parameter | Type | Description |
|---|---|---|
text * | string | Plain text or Markdown to analyze (non-empty, up to 1,000,000 characters). |
ignoreWords | array | Optional case-insensitive list of domain/product words or acronyms to ignore when flagging complex words and undefined acronyms (team glossary). |
lang | string | Analysis language code: "en" (English, Flesch Reading Ease) or "es" (Spanish, Fernández-Huerta). Defaults to "en". |
markdown | boolean | Set 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.
| Parameter | Type | Description |
|---|---|---|
text * | string | Plain text or Markdown to scan for readability barriers (non-empty, up to 1,000,000 characters). |
ignoreWords | array | Optional case-insensitive list of domain/product words or acronyms to ignore when flagging complex words and undefined acronyms (team glossary). |
lang | string | Analysis language code: "en" (English, Flesch Reading Ease) or "es" (Spanish, Fernández-Huerta). Defaults to "en". |
markdown | boolean | Set 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).
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to a local .md or .txt file to analyze for readability metrics and barriers. |
ignoreWords | array | Optional case-insensitive list of domain/product words or acronyms to ignore when flagging complex words and undefined acronyms (team glossary). |
lang | string | Analysis language code: "en" (English, Flesch Reading Ease) or "es" (Spanish, Fernández-Huerta). Defaults to "en". |