Developers: API and MCP

Use Tamil transliteration, keyboards, dictionary and scoring from your own apps or AI assistants.

REST API

Base URL https://thattachu.com/api/v1 · OpenAPI: /api/v1/openapi.json · Authenticate with Authorization: Bearer tht_… (API keys)

MethodPathSummaryScope
POST/transliterateTanglish to Tamilpublic
POST/reverse-transliterateTamil to ISO 15919 / Tanglishpublic
POST/convertUnicode <-> legacy encodingpublic
GET/keyboardsList keyboard layouts and legacy encodingspublic
GET/keyboards/{layout}Layout definitionpublic
POST/keyboards/{layout}/simulateSimulate a key sequencepublic
GET/suggestWord suggestionspublic
GET/letters/{letter}Letter informationpublic
POST/graphemesTamil letter segmentation and countspublic
GET/numeralsTamil numeralspublic
POST/scoreScore a typing attemptpublic
GET/pow/challengeProof-of-work challengepublic
GET/lexicon/manifestLexicon shard manifestpublic
POST/lexicon/selectionsAnonymous word-choice countspublic
GET/dictionary/en-taSearch the English-Tamil dictionarypublic
GET/dictionary/en-ta/{slug}Dictionary entrypublic
GET/passagesTyping passagespublic
GET/passages/{id}One passagepublic
GET/lessons/{layout}Lessons for a layoutpublic
GET/exam-presetsExam presetspublic
GET/leaderboardLeaderboardpublic
GET/documentsList your documentsdocs:read
POST/documentsCreate a documentdocs:write
GET/documents/{id}Read a documentdocs:read
PUT/documents/{id}Update a document (If-Match required)docs:write
DELETE/documents/{id}Delete a documentdocs:write
GET/me/statsYour typing statisticsdocs:read

Anonymous requests are rate limited per IP; API keys have their own limits. Text inputs are limited to 50,000 characters.

MCP

Connect an MCP client to https://thattachu.com/mcp (Streamable HTTP, JSON-RPC 2.0).

claude mcp add --transport http thattachu https://thattachu.com/mcp --header "Authorization: Bearer tht_YOUR_KEY"
{ "mcpServers": { "thattachu": { "type": "http", "url": "https://thattachu.com/mcp", "headers": { "Authorization": "Bearer tht_YOUR_KEY" } } } }

Tools

ToolSummary
transliterateConvert Tanglish (Tamil typed in English letters) to Tamil script, optionally with ranked candidates per word.
reverse_transliterateConvert Tamil script to ISO 15919 or casual Tanglish.
convert_encodingConvert between Unicode and a legacy Tamil font encoding (only encodings installed on the server).
keyboard_mapGet a keyboard layout, simulate a key sequence, or find the keys that type a Tamil string.
dictionary_lookupLook up an English word in the English-Tamil dictionary (or search by Tamil word).
suggest_wordsWord suggestions for a Latin (Tanglish) or Tamil prefix.
letter_infoInformation about one Tamil letter (type, components, code points, romanisation).
split_graphemesSplit text into Tamil letters (எழுத்து) and count letters, words and code points.
tamil_numeralsConvert a number to Tamil digits, traditional numerals or words, or parse Tamil numerals.
get_passageGet a typing-practice passage by id or filters.
get_lessonGet a typing lesson for a layout.
score_typingScore typed text against a reference (WPM, accuracy, errors).
list_documentsList your saved documents. Requires an API key with scope docs:read.
read_documentRead one of your documents. Requires an API key with scope docs:read.
create_documentCreate a document. Set transliterate=true to convert Tanglish content to Tamil first. Requires an API key with scope docs:write.
update_documentUpdate a document. Requires the current version (optimistic locking). Requires an API key with scope docs:write.
get_typing_statsYour typing statistics: best scores, recent results and weakest keys. Requires an API key with scope docs:read.