# word-aligner MCP server

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

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-tinygodsdev-word-aligner
- Repository: https://github.com/tinygodsdev/bitext-word-alignment

## Install
- Endpoint: https://aligner.tinygods.dev/mcp
- Auth: Not captured

## Setup notes
- Remote endpoint: https://aligner.tinygods.dev/mcp

## Tools
- create_word_alignment (Create word alignment diagram) - 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 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.

Each alignment is [lineA, wordA, lineB, wordB]; the two lines must be vertically adjacent (|lineA - lineB| = 1). To express many-to-one, list each target word as its own tuple. Tokens that share a connection group get the same color automatically. Endpoint: https://aligner.tinygods.dev/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: io.github.tinygodsdev
- Version: 1.0.0
- Runtime: Streamable Http
- Transports: HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Jun 29, 2026
- Source: https://registry.modelcontextprotocol.io
