Skip to main content
Glama

Server Details

Turn a phrase and its translation into a shareable word-alignment diagram.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
tinygodsdev/bitext-word-alignment
GitHub Stars
5
Server Listing
Word Aligner MCP Server
ChatGPT
–
Claude
–

TDQS

A4.5/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of confusing it with another tool. Its purpose is further clarified by the detailed description of when and how to use it.

Naming Consistency5/5

The sole tool uses a clear snake_case verb_noun pattern: create_word_alignment. Although there are no other names to compare against, the name is predictable and matches common MCP naming conventions.

Tool Count3/5

The server is essentially a single-purpose generator, and the existing tool is rich enough to handle many advanced cases. Still, with only one tool, the server feels thin and lacks supporting operations such as listing or managing previously created alignments.

Completeness4/5

The creation workflow is well covered, including tokenization, RTL scripts, vertical text, and multiple alignment styles. The main gap is post-creation lifecycle support such as updating or deleting shared alignment diagrams, though those are not central to the tool's stated purpose.

Available Tools

1 tool
create_word_alignmentCreate word alignment diagramA
Read-onlyIdempotent
Inspect

Create a shareable Word Aligner diagram that shows which words match across two or more stacked lines of text (a translation and its source, an interlinear gloss, IPA, etc.). Returns a URL that opens the interactive diagram, plus a preview image.

Use this when the user wants to translate a phrase and show word correspondences, align a translation with its source (including RTL scripts like Hebrew or Arabic, or vertically written ones like Japanese and Mongolian), or build a Leipzig-style interlinear gloss.

Word indices are 0-based token positions. Tokenize each line the same way the tool does before assigning indices:

  • Whitespace always splits ("I have been going" -> I[0] have[1] been[2] going[3]).

  • The characters in settings.tokenSplitChars (default ".-|") also split and are then removed from the rendered text, so "go.PST.IPFV" becomes three tokens (go, PST, IPFV) and the dots disappear. For Leipzig glosses set tokenSplitChars to "-|" to keep the dots.

  • Punctuation stays attached by default ("Hello, world!" -> Hello,[0] world![1]).

  • In RTL lines, word 0 is the logically first word (rightmost on screen); index in reading order.

  • Japanese and Chinese are written without spaces and nothing is segmented for you: put spaces where the alignment units should be.

For a vertically written script set settings.axis to "columns". Every line then becomes a vertical column and the connectors run sideways. Set orientation per line: "vertical" stacks the characters (Japanese, Chinese), "sideways" rotates the line a quarter turn (traditional Mongolian, and Latin runs inside vertical text), "upright" leaves a translation as horizontal word boxes. The first line is the leftmost column, so for Japanese and Chinese, whose columns read right to left, list the translation first and the script second.

Each alignment is [lineA, wordA, lineB, wordB]; the two lines must be neighbours in the stack (|lineA - lineB| = 1), which means one above the other in rows and side by side in columns. To express many-to-one, list each target word as its own tuple. Tokens that share a connection group get the same color automatically.

Inputs: lines (required), pairs, settings, alignments. Returns: url

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.