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 விசைகள்)
| Method | Path | Summary | Scope |
|---|---|---|---|
POST | /transliterate | Tanglish to Tamil | public |
POST | /reverse-transliterate | Tamil to ISO 15919 / Tanglish | public |
POST | /convert | Unicode <-> legacy encoding | public |
GET | /keyboards | List keyboard layouts and legacy encodings | public |
GET | /keyboards/{layout} | Layout definition | public |
POST | /keyboards/{layout}/simulate | Simulate a key sequence | public |
GET | /suggest | Word suggestions | public |
GET | /letters/{letter} | Letter information | public |
POST | /graphemes | Tamil letter segmentation and counts | public |
GET | /numerals | Tamil numerals | public |
POST | /score | Score a typing attempt | public |
GET | /pow/challenge | Proof-of-work challenge | public |
GET | /lexicon/manifest | Lexicon shard manifest | public |
POST | /lexicon/selections | Anonymous word-choice counts | public |
GET | /dictionary/en-ta | Search the English-Tamil dictionary | public |
GET | /dictionary/en-ta/{slug} | Dictionary entry | public |
GET | /passages | Typing passages | public |
GET | /passages/{id} | One passage | public |
GET | /lessons/{layout} | Lessons for a layout | public |
GET | /exam-presets | Exam presets | public |
GET | /leaderboard | Leaderboard | public |
GET | /documents | List your documents | docs:read |
POST | /documents | Create a document | docs:write |
GET | /documents/{id} | Read a document | docs:read |
PUT | /documents/{id} | Update a document (If-Match required) | docs:write |
DELETE | /documents/{id} | Delete a document | docs:write |
GET | /me/stats | Your typing statistics | docs: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
| Tool | Summary |
|---|---|
transliterate | Convert Tanglish (Tamil typed in English letters) to Tamil script, optionally with ranked candidates per word. |
reverse_transliterate | Convert Tamil script to ISO 15919 or casual Tanglish. |
convert_encoding | Convert between Unicode and a legacy Tamil font encoding (only encodings installed on the server). |
keyboard_map | Get a keyboard layout, simulate a key sequence, or find the keys that type a Tamil string. |
dictionary_lookup | Look up an English word in the English-Tamil dictionary (or search by Tamil word). |
suggest_words | Word suggestions for a Latin (Tanglish) or Tamil prefix. |
letter_info | Information about one Tamil letter (type, components, code points, romanisation). |
split_graphemes | Split text into Tamil letters (எழுத்து) and count letters, words and code points. |
tamil_numerals | Convert a number to Tamil digits, traditional numerals or words, or parse Tamil numerals. |
get_passage | Get a typing-practice passage by id or filters. |
get_lesson | Get a typing lesson for a layout. |
score_typing | Score typed text against a reference (WPM, accuracy, errors). |
list_documents | List your saved documents. Requires an API key with scope docs:read. |
read_document | Read one of your documents. Requires an API key with scope docs:read. |
create_document | Create a document. Set transliterate=true to convert Tanglish content to Tamil first. Requires an API key with scope docs:write. |
update_document | Update a document. Requires the current version (optimistic locking). Requires an API key with scope docs:write. |
get_typing_stats | Your typing statistics: best scores, recent results and weakest keys. Requires an API key with scope docs:read. |