uchcharan-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
uchcharan (उच्चारण)
Make any TTS speak Indian text correctly.
Voice agents, IVRs and audiobook tools break on Indian text: ₹2,500 comes out as "rupee two comma five hundred", PNR 4521879630 is read as one giant number, ₹2.5 crore loses the "ढाई". uchcharan is a small, vendor-neutral layer you put in front of any TTS (ElevenLabs, Sarvam, Google, Azure, Polly, open-source models) so the text is already in spoken form.
BEFORE: इस प्लॉट की कीमत ₹2.5 crore है, GST 18% अलग से।
AFTER : इस प्लॉट की कीमत ढाई करोड़ रुपये है, जी एस टी अठारह प्रतिशत अलग से।
BEFORE: तुमचा OTP 482913 आहे. तो 10 मिनिटांत वापरा.
AFTER : तुमचा ओ टी पी चार आठ दोन नऊ एक तीन आहे. तो दहा मिनिटांत वापरा.Zero dependencies. Pure rules, so it adds well under a millisecond, not a model round-trip.
Install
npm install uchcharanRelated MCP server: eco-policy-mcp
Use
import { normalize } from 'uchcharan';
normalize('आपका ₹2,500 का EMI 05/12/2026 को due है।');
// → 'आपका दो हज़ार पाँच सौ रुपये का ई एम आई पाँच दिसंबर दो हज़ार छब्बीस को due है।'
normalize('₹1.5 lakh पासून, दुकान 7:00 PM पर्यंत', { lang: 'mr' });
// → 'दीड लाख रुपयांपासून, दुकान संध्याकाळी सात वाजेपर्यंत'
normalize('Your order of Rs. 1,25,000 arrives on 25/11/2026 at 5:30 pm.', { lang: 'en' });
// → 'Your order of one lakh twenty five thousand rupees arrives on twenty fifth November twenty twenty six at five thirty P M.'
normalize('पैसे rahul@okicici पर भेजें, गाड़ी नंबर MH15AB1234', { lang: 'hi' });
// → 'पैसे rahul ऐट ओके आई सी आई सी आई पर भेजें, गाड़ी नंबर एम एच पंद्रह ए बी एक दो तीन चार'
// See exactly what changed (useful for debugging voice agents)
normalize('₹500 at 10:30', { explain: true });
// → { text: '...', changes: [{ rule: 'currency', from: '₹500', to: 'पाँच सौ रुपये' }, ...] }CLI:
npx uchcharan --lang mr "₹2.5 कोटी 25 Nov 2026"
echo "PNR 4521879630" | npx uchcharan --explainOptions
option | default | meaning |
|
|
|
|
|
|
|
| digit strings this long (PNR, OTP, account, PIN) are read digit by digit |
|
| last part of a number plate: |
|
| return |
Use it from Claude, Cursor and other AI apps (MCP)
uchcharan-mcp gives AI assistants a normalize_for_tts tool, so text is made speakable before it goes to ElevenLabs or any TTS. In Claude Desktop, add this to your config:
{ "mcpServers": { "uchcharan": { "command": "npx", "args": ["-y", "uchcharan-mcp"] } } }See mcp/README.md for Claude Code, Cursor and the ElevenLabs workflow.
What it handles
Input | Hindi | Marathi |
| दो हज़ार पाँच सौ रुपये (पचास पैसे) | दोन हजार पाचशे रुपये |
| ढाई करोड़ / डेढ़ लाख / साढ़े तीन लाख रुपये | अडीच कोटी / दीड लाख |
Indian & Western commas, decimals | लाख / करोड़ system | लाख / कोटी system |
| पच्चीस नवंबर दो हज़ार छब्बीस | पंचवीस नोव्हेंबर दोन हजार सव्वीस |
| उन्नीस सौ अट्ठानवे | एकोणीसशे अठ्ठ्याण्णव |
| दस बजकर तीस मिनट / शाम पाँच बजे | दहा वाजून तीस मिनिटे / संध्याकाळी पाच वाजता |
| digit by digit, with a pause in the middle | same |
PNR / OTP / PIN / account numbers | digit by digit | digit by digit |
| अठारह प्रतिशत, पाँच किलोमीटर, माइनस पाँच डिग्री सेल्सियस | अठरा टक्के, ... |
| दस से बारह, तीसरा, दसवीं | दहा ते बारा, तिसरा |
| डॉक्टर, श्रीमती, नंबर पाँच, वगैरह | डॉक्टर, श्रीमती, नंबर पाच, वगैरे |
| जी एस टी, ई एम आई, इसरो, एम्स | जी एस टी, ई एम आय, इस्रो, एम्स |
Devanagari digits | पच्चीस | पंचवीस |
| शाम सात बजे (time-of-day word never repeated) | संध्याकाळी सात वाजेपर्यंत |
| digit by digit | digit by digit |
UPI | rahul ऐट ओके आई सी आई सी आई | rahul ॲट ओके आय सी आय सी आय |
| एक दो नौ पाँच एक | एक दोन नऊ पाच एक |
| एम एच पंद्रह ए बी एक दो तीन चार | एम एच पंधरा ए बी एक दोन तीन चार |
| ई चार, ए बारह | ई चार |
English mode (lang: 'en')
Reads Indian numbers the way Indians say them in English, with no Hindi words mixed in:
₹1,25,000 → one lakh twenty five thousand rupees, ₹2.5 lakh → two and a half lakh rupees, ₹2,500.50 → two thousand five hundred rupees and fifty paise,
25/11/2026 → twenty fifth November twenty twenty six, 5:30 pm → five thirty P M, 10:05 → ten oh five, in 1998 → in nineteen ninety eight, GST → G S T.
How the new cases are spoken (decisions)
Train numbers: digit by digit, the way Indian Railways announcements say them ("गाड़ी संख्या एक दो नौ पाँच एक"). Only a 5-digit number right after ट्रेन / गाड़ी / train / express (optionally with नंबर, संख्या, क्रमांक, No.) is treated as a train number.
Vehicle numbers: state letters spelled, district code as a number (पंद्रह; a leading zero is read as digits: शून्य चार), series letters spelled, last digits one by one. Digit by digit is unambiguous for IVR and support calls; casual speech often uses pairs (बारह चौंतीस), so
vehicleDigits: 'pairs'is available. Only real state / UT codes (MH, DL, KA, ...) and the BH series are matched.UPI IDs: the handle is read as a word when it looks like a name (
rahul,priya), spelled when it is short or has no vowels (rk), digits one by one,.as डॉट / dot.@is ऐट / ॲट / at. Bank suffixes are split into known parts:okicici→ ओके आई सी आई सी आई,okhdfcbank→ ओके एच डी एफ सी बैंक,ybl→ वाई बी एल,paytm→ पेटीएम,ptyes→ पी टी यस. Emails (x@gmail.com) and unknown suffixes are left alone unless the text mentions UPI.OTP / codes: any number after OTP, PIN, MPIN, TPIN, CVV, PNR, code, verification code, सत्यापन कोड, कोड, or before "is your OTP" / "हा तुमचा OTP", is read digit by digit in all three languages.
Known limits
It does not inflect for grammar in general (
पर्यंतafter a clock time is handled; other postpositions are not).Latin words inside Hindi / Marathi text (a UPI handle like
rahul, English words likeerror) are kept in Latin for the TTS to read; they are not transliterated.English mode reads the same rules in English; it does not expand US-style "million / billion" wording.
A bare 10-digit number starting with 6–9 is treated as a phone number.
A bare 6+ digit number with no commas (
100000) is read digit by digit. Write1,00,000for amounts.Hinglish and Romanized Hindi ("aapka order") are not transliterated yet.
Roadmap
Hosted HTTP API with a free tier: https://uchcharan.dev
Gujarati, Tamil, Telugu, Bengali, Kannada
Custom pronunciation dictionary for brand and place names (
Nashik,Paithani)Plugins for ElevenLabs, Sarvam, Bolna and LiveKit pipelines
SSML output (
<say-as>and pauses)
Contributions are welcome, especially from native speakers checking number words.
Hosted API (no setup)
Don't want to run it yourself? Use the hosted API at https://uchcharan.dev. Try it in the browser at https://huggingface.co/spaces/Densa850/uchcharan. The hosted API and billing live in a separate private service.
curl -X POST https://uchcharan.dev/v1/normalize \
-H "content-type: application/json" -H "x-api-key: YOUR_KEY" \
-d '{"text":"₹2.5 crore, PNR 4521879630","lang":"hi"}'Plan | Requests/day | Price |
No key | 500 | free |
Free key | 2,000 | free |
Starter | 50,000 | ₹999/month |
Pro | 500,000 + custom pronunciations | ₹4,999/month |
Get a free key or upgrade at https://uchcharan.dev. Need help adding it to your voice bot? Email support@tathyo.com.
Support this project
If uchcharan saves you time, you can sponsor its development on GitHub. Sponsorship pays for new languages and rules.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Indic MCP: transliterate into all 22 Indian languages, convert scripts, keymaps. Hosted or local.
Indic transliteration plus Indian name, address, PIN, PAN, GSTIN normalization.
Text to speech in Hindi, other Indian languages and English, with the Bakbak API.
Hosted text-to-speech MCP server: 66 voices in 9 languages, long-form narration, podcasts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA lightweight MCP server empowering LLM clients with Indic language processing: translation, transliteration, language identification, and chat with Sarvam AI models.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to fetch Indian mutual-fund NAVs and NSE market data, calculate GST and income-tax amounts, and look up RBI policy rates, with provenance blocks for citations. Works with any MCP client over stdio or HTTP.1722 PyPIMIT
- AlicenseNot gradedqualityBmaintenanceA local MCP server that turns any text into narration, voice-overs, dialogues, audiobook chapters and per-shot video clips as MP3/WAV files — with emotions, acting modes, inline cues, presets and subtitles — driven by a ChatGPT sign-in rather than an API key. It also exposes tools for inspecting audio (timings, pace, pitch, waveform), transcribing recordings, listing and favouring voices, saving pronunciation presets, and checking sign-in status.MIT
- AlicenseNot gradedqualityBmaintenanceEnables small shopkeepers to record credit and payment entries, check balances, list dues, and get ranked collection plans with drafted reminders through natural voice commands, including code-mixed Tamil/Hindi/English speech. It returns short spoken-style responses over a self-hosted Streamable HTTP MCP server backed by Amazon Bedrock, with a regex fallback when Bedrock is unavailable.MIT