Bhasini Indic Languages

io.github.Codegres-com由 GitHub 账号 Codegres-com 发布v0.1.0更新于 Oct 26, 2026

Indic MCP: transliterate into all 22 Indian languages, convert scripts, keymaps. Hosted or local.

已验证Streamable HTTP可网页运行效率与工作流AI 与机器学习

概览

AI 生成的概览

面向印度语言的 MCP 服务器,让助手在印度 22 种法定语言之间进行音译、文字转换、翻译和数字本地化。

可以做什么
  • 按发音把拉丁字母罗马化文本转写成印度文字,遵循 ITRANS/Baraha 键位约定
  • 在婆罗米系文字与 Meetei Mayek 之间逐字转换文字,不改变语言
  • 在英语与 22 种印度法定语言之间,或两种印度语言之间翻译含义
  • 列出支持的语言及其代码,并返回某语言的拼音键盘映射
  • 把 ASCII 数字替换为某语言的本地数字
适用场景
适合处理印度语言内容:把文本按发音输入或罗马化到天城文、泰米尔文、孟加拉文等文字,在不同文字间迁移文本,或快速获得英语与印度语言之间的翻译。也适合构造正确的罗马化输入或教学某语言的键盘布局。
运行要求
可作为远程托管端点使用,也可作为本地 .NET 包(Bhasini.Mcp)通过 stdio 运行。未声明任何身份验证、环境变量或请求头。README 中的网页编辑器本地运行需要 .NET 8 SDK。
安装前请注意
翻译仅在所述用量上限内免费,大量使用可能触达上限或需要付费。印度语言之间的翻译会经由英语中转,文字转换在目标文字缺少对应字母时会回退到最接近的字母,结果可能不够精确。提交翻译的文本会发送到托管服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Bhasini Indic Languages,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Codegres-com%2Fbhasini/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "bhasini-indic-languages": {
      "type": "http",
      "url": "https://mcp.bhasini.com/mcp"
    }
  }
}

README

Bhasini (भाषिणी)

[Sponsor via Razorpay] [Open Bhasini] [License: MIT]

A multilingual Indic typing editor for all 22 scheduled languages of India, built with Blazor WebAssembly. Everything runs in the browser; no server round-trips while you type.

It grew out of the Kannada Nudi web editor (KannadaNudiEditor/KannadaNudiWeb) and keeps its shape: a Quill rich-text editor whose keystrokes are transliterated by a C# engine.

Languages

LanguageScript
AssameseBengali-Assamese (ৰ, ৱ)
BengaliBengali
BodoDevanagari
DogriDevanagari
GujaratiGujarati
HindiDevanagari
KannadaKannada
KashmiriPerso-Arabic (RTL), also Devanagari
KonkaniDevanagari
MaithiliDevanagari
MalayalamMalayalam (chillus, Mozhi-style keys)
ManipuriMeetei Mayek (lonsum letters), also Bengali
MarathiDevanagari (ळ)
NepaliDevanagari
OdiaOdia
PunjabiGurmukhi (tippi, bindi, addak)
SanskritDevanagari
SantaliOl Chiki
SindhiPerso-Arabic (RTL), also Devanagari
TamilTamil (ந/ன by context, ற, ழ)
TeluguTelugu
UrduPerso-Arabic, Nastaliq (RTL)

Plus English (no transliteration).

Features

  • Phonetic typing: type how it sounds (namaste → नमस्ते, vaNakkam → வணக்கம், aadaab → آداب). ITRANS/Baraha-style keys: capitals for retroflex/long sounds (T D N L Sh A I U E O), M anusvara, H visarga, .h explicit virama, _ to stop letters joining, | / || danda.
  • InScript: the government-standard layout for every Brahmic script.
  • F9 switches between the selected language and English.
  • Key map panel for the current language and method. Tap a letter to insert it, which also helps on phones.
  • Native digits toggle (१२३, ௧௨௩, ۱۲۳, …).
  • Convert: rewrite text from one Indian script to another, or turn romanised text into script.
  • Dictation through the browser's speech recognition (Chrome and Edge, where the locale is supported).
  • Open .txt / .docx, save as .docx, .txt or .html. Settings are remembered per browser.

How it works

src/Bhasini.Core has no web dependencies:

  • Input/BrahmicPhoneticEngine turns Latin keys into Devanagari, with a per-language PhoneticProfile (Dravidian short e/o, word-final virama, Tamil nasals, local key conventions).
  • Scripts/OffsetScriptMapper maps Devanagari into each ISCII-derived Unicode block by offset. Letters a script lacks fall back to the nearest letter. Script-specific spelling rules (Malayalam chillus, Gurmukhi tippi/addak, Bengali য়) run as post-processing.
  • Scripts/MeeteiMayekMapper handles Meetei Mayek. Input/SequenceEngine handles the alphabetic scripts (Perso-Arabic with word-initial/final forms, and Ol Chiki).
  • Input/TypingSession keeps the Latin keys of the current word and re-renders the whole word on every key, returning a minimal { delete, insert } edit for the editor.

src/Bhasini.Web is the Blazor WebAssembly app. wwwroot/js/editor.js intercepts keys in Quill and calls the session synchronously.

Run

Requires the .NET 8 SDK.

bash
dotnet run --project src/Bhasini.Web
bash
dotnet test

Docker (nginx serving the published static files on port 5000):

bash
docker build -t bhasini .

Script fonts come from Google Fonts (Noto). When offline, the editor falls back to system fonts such as Nirmala UI on Windows.

Support Bhasini

Bhasini is free to use. If it helps you, please consider sponsoring its development:

[Sponsor via Razorpay]

Windows app

BhasiniWindows/ packages Bhasini as a Windows desktop app and Microsoft Store AppX. It adds Global mode: press F9 to type the selected Indian language in any application.

License

MIT © Codegres

来源:README.md,提交 1c29f12

工具

6

convert_script

Convert between Indian scripts

Rewrites text from one Indian script into another letter by letter, e.g. Devanagari 'नमस्ते' → Kannada 'ನಮಸ್ತೇ'. The language does not change, only the letters. Works between the Brahmic scripts (Devanagari, Bengali, Gurmukhi, Gujarati, Odia, Tamil, Telugu, Kannada, Malayalam) and Meetei Mayek; sounds the target script lacks use the nearest letter. Text in other scripts is kept as it is.

输入参数text必填targetLanguage必填

get_keymap

Get phonetic keyboard map

Returns the phonetic keyboard map for a language: which Latin keys produce each letter. Useful for teaching someone to type a language or for building correct romanised input for transliterate.

输入参数language必填

list_languages

List Indian languages

Lists the 22 scheduled languages of India (plus extra official scripts for Kashmiri, Manipuri and Sindhi) with the codes the other tools accept.

无需输入参数。

native_digits

Write digits in a native script

Replaces ASCII digits 0-9 with a language's native digits, e.g. '2026' → '२०२६' (Hindi), '௨௦௨௬' (Tamil), '۲۰۲۶' (Urdu).

输入参数text必填language必填

translate

Translate text

Translates the meaning of text between English and the 22 scheduled languages of India, or between two of them, e.g. 'Where is the station?' → 'स्टेशन कहाँ है?' (Hindi). English → Indic uses AI4Bharat IndicTrans2; Indic → English uses Gemma 4; Indic → Indic goes through English. Free use: up to 2,000 characters per call, 5 calls a minute and 10,000 characters a day. Unlike the other tools this sends the text to Bhasini's server (mcp.bhasini.com); the text is not stored. To write romanised words in a script by sound, use transliterate instead.

输入参数text必填sourceLanguagetargetLanguage必填

transliterate

Transliterate romanised text

Writes romanised (Latin-letter) text in an Indian script by sound, e.g. 'namaste' → 'नमस्ते' for Hindi or 'vaNakkam' → 'வணக்கம்' for Tamil. This is transliteration, not translation: spell the words as they sound in the target language. Keys follow ITRANS/Baraha conventions: capitals for long vowels and retroflex consonants (A I U E O, T D N L Sh), M = anusvara, H = visarga. Use get_keymap for a language's exact keys.

输入参数text必填language必填

版本历史

1
  1. v0.1.0最新Oct 19, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分