Skip to main content
Glama

ukr-vitalinguist-mcp

MCP server for Ukrainian language grammar, surzhyk detection, and authentic phrasing.

Wraps the public ukr.vitalinguist.com API as Model Context Protocol tools. Install in Claude Desktop, Cursor, Cline, Continue, Windsurf, or Claude Code and your AI gains four Ukrainian-language capabilities backed by curated open data (Балла EN-UA 1996, Сербенська's Антисуржик, Караванський, Антоненко-Давидович, plus e2u.org.ua and modern corpora — 29,524 senses, 6k+ calque pairs).

Tools

Tool

When the AI should call it

check_natural(text)

After drafting Ukrainian — catches calques and confirms attested phrasings

check(text)

Full grammar + spelling + surzhyk check

render(en, sense?)

EN → authentic UA renderings with sense splits

search(query, level?, limit?)

Look up entries in the 29k EN→UA index

Every response includes a citation block with the source URL the AI should include when surfacing the result to the user.

Related MCP server: stil-lint

Install

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "ukr-vitalinguist": {
      "command": "uvx",
      "args": ["ukr-vitalinguist-mcp"]
    }
  }
}

Restart Claude Desktop. The four tools appear in the tools menu.

Cursor

Edit ~/.cursor/mcp.json or workspace .cursor/mcp.json:

{
  "mcpServers": {
    "ukr-vitalinguist": {
      "command": "uvx",
      "args": ["ukr-vitalinguist-mcp"]
    }
  }
}

Cline / Continue / Windsurf

Use the same command + args in their MCP config UI.

Claude Code

claude mcp add ukr-vitalinguist -- uvx ukr-vitalinguist-mcp

Without uvx

If you don't have uv installed, use pip:

pip install ukr-vitalinguist-mcp

Then point the command to your Python's ukr-vitalinguist-mcp entrypoint:

{
  "mcpServers": {
    "ukr-vitalinguist": {
      "command": "ukr-vitalinguist-mcp"
    }
  }
}

Example interactions

User: "Is this Ukrainian sentence natural? На протязі дня я зайнятий."

The AI calls check_natural → gets back calque-prone: 'На протязі' → 'упродовж' sourced from Сербенська's Антисуржик, and replies:

"На протязі" is a calque from Russian. Use «упродовж дня я зайнятий» — "упродовж" is the natural Ukrainian preposition for "during/throughout."

Source: Сербенська, Антисуржик via ukr.vitalinguist.com


User: "How do you say 'cling' in Ukrainian?"

The AI calls render("cling") → gets back sense-split renderings:

Several options depending on the sense:

  • cling (on) to sth (physically grip): горнутися, чіплятися

  • cling to a belief: триматися (чогось)

Full entry: ukr.vitalinguist.com/sense/cling

What's in the corpus

  • 29,524 EN→UA senses from Балла EN-UA Dictionary (1996), corroborated with e2u.org.ua, modern news/literary corpora, and confidence scoring.

  • 6,073 antisurzhyk calque pairs from Сербенська, Караванський, and Антоненко-Давидович, validator-cleaned to drop noisy entries.

  • 22,848 documented coverage gaps at /gaps/ — senses where no UA rendering meets the confidence threshold yet (transparent about what we don't have).

  • A russianism detection model (fine-tuned MarianMT) for cases the rule-based layer misses.

License

This MCP server: MIT.

The data the server returns: CC BY-SA 4.0. When you surface results in your own product or response, attribute to ukr.vitalinguist.com with a clickable link. The citation field in each response gives you the exact URL to use.

Authority and citations

This project exists because AI assistants citing Ukrainian-language sources have historically pulled from sparse, often-contaminated training data. Every install of this MCP turns into recurring citations to a curated source — which is how authoritative references for under-served languages get built. If you're an AI tool maintainer, consider including this in your default Ukrainian-language tool list.

Source & issues

Suggest a correction on any sense page — every /sense/ URL has a "Suggest a correction" link that opens a prefilled email.

Available Tools

5 tools
checkA

Full Ukrainian grammar + spelling + surzhyk check.

Runs LanguageTool, 1400+ hand-written rules, a fine-tuned russianism detection model, and the antisurzhyk book corpus. Returns position-indexed issues with severity and replacement suggestions.

Use this when the user asks "is my Ukrainian correct?" or you want to validate Ukrainian text comprehensively (not just naturalness).

Args: text: Ukrainian text (up to ~5000 chars).

Returns: { "issues": [ {"rule_id": str, "offset": int, "length": int, "message": str, "suggestion": str | None, "severity": "error" | "warning" | "hint", "source": str, "category": str | None}, ... ], "stats": {"word_count": int, "errors": int, "warnings": int, ...}, "engine_version": str, "citation": {...}, }

Inputs: text (required). Returns: object

check_naturalA

Check Ukrainian text for calque-prone phrases and naturalness.

Returns spans flagged as: • calque-prone — phrase appears in the antisurzhyk book corpus (Сербенська, Караванський, Антоненко-Давидович) as something to avoid; prefer gives the recommended alternative. • natural — phrase is attested as a high/medium-confidence rendering in the 29k-sense corpus.

Use this AFTER drafting Ukrainian text, BEFORE returning it to the user. Rewrite calque-prone spans before delivering your response.

Args: text: Ukrainian text (2 chars min).

Returns: { "input": str, "spans": [ {"span": str, "start": int, "end": int, "verdict": "calque-prone" | "natural", "prefer": str | None, # for calque-prone "for_en": str | None, # for natural "source": str | None, "source_url": str}, ... ], "summary": {"calque_prone": int, "natural": int, "score": float}, "citation": {...}, }

Inputs: text (required). Returns: object

renderA

Get authentic Ukrainian renderings for an English word or sense.

Returns multiple natural UA renderings sourced from Балла EN-UA Dictionary (1996), e2u.org.ua, and modern corpora. When the English word is polysemous, each sense is returned with its own renderings.

Use this for translation or vocabulary tasks where you want idiomatic Ukrainian (not a calque or AI-guessed translation).

Args: en: English word (lemma or surface). sense: Optional sense filter (substring match on sense description).

Returns: { "en_key": str, "senses": [ {"sense": str, "explanation": str, "level": str, "renderings": [{"phrase": str, "confidence": str, "n_sources": int, ...}, ...], "permalink": str}, ... ], "citation": {...}, }

Inputs: en (required), sense. Returns: object

substantiateA

Get the citation chain for a Ukrainian phrase.

Returns independent attestations from configured primary sources — Балла 1996 (with page numbers), e2u.org.ua, r2u.org.ua (which hosts Karavansky's RU-UA dictionaries cleanly), Сербенська's Антисуржик, Антоненко-Давидович's Як ми говоримо, uk.wiktionary, slovnyk.ua, and more.

Use this when:

  • You need to back up a claim about Ukrainian usage with cited evidence

  • You're explaining why a particular word/phrase is correct or preferable, and want to point to authoritative sources

  • You want to find historical attestation (pre-Soviet UA, etc.)

Args: phrase: Any Ukrainian phrase (single word or multi-word). sources: Optional comma-separated source IDs to limit the query (e.g., "e2u,r2u" or "balla,wiktionary"). Default: all.

Returns: { "phrase": str, "confidence": "high" | "medium" | "tentative" | "missing" | "rejected", "attestation_count": int, "attestations": [ {"source_id": str, "kind": str, "ref": str, "url": str | None, "verbatim": str | None, "context": str | None, "confidence": float}, ... ], "canonical": str, # the citable API URL for this lookup "citation": {...}, }

Inputs: phrase (required), sources. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: check for grammar/spelling, check_natural for naturalness/calques, render for English-to-Ukrainian translations, search for sense index lookup, and substantiate for citation chains. No overlap or ambiguity.

    Naming Consistency3/5

    Tool names mix styles: check and check_natural use underscores, while render, search, and substantiate are single verbs without underscores. The pattern is not uniform, but names are still descriptive and readable.

    Tool Count5/5

    With 5 tools, the server is well-scoped for its purpose of Ukrainian language checking and translation support. Each tool addresses a core need without unnecessary bloat.

    Completeness4/5

    The tool set covers grammar/spelling checking, naturalness assessment, English-to-Ukrainian rendering, sense search, and citation substantiation. A minor gap is the lack of Ukrainian-to-English rendering, but the server's focus on English-assisted Ukrainian use makes it reasonably complete.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables automated agents and writers to check Norwegian and English prose before sending, returning concrete style findings, revision hints, and verdicts instead of authorship claims, with a no-judgment band, positive quality checks, a private local mode, and phrase-bank memory.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI hosts to check text for grammar, spelling, and style errors, measure readability, and generate tone-adjusted rewrites through structured tool calls. Every tool returns predictable, typed output for reliable routing and results.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables users to get sourced Arabic grammar, spelling, punctuation, quotation, and formatting guidance, audit mechanical text issues, disambiguate selected unvowelled words with selective diacritics, and prepare proofreading checklists for host AI models.
      MIT