asomiya-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.
অসমীয়া · Asomiya
A programming language in Assamese. Write real programs in অসমীয়া script, or in English letters the way you type Assamese in chats.
Website & Playground · Documentation · Examples · Report a bug · অসমীয়াত পঢ়ক
Assamese script
ধৰা ভাষা = "অসমীয়া"
ধৰা বয়স = ২০
কোৱা("নমস্কাৰ, পৃথিৱী!")
কোৱা("এই প্ৰগ্ৰামটোৰ ভাষা: " + ভাষা)
যদি (বয়স >= ১৮) {
কোৱা("প্ৰাপ্তবয়স্ক")
} নহ'লে {
কোৱা("অপ্ৰাপ্তবয়স্ক")
}English letters
dhora bhaxa = "Oxomiya"
dhora boyox = 20
kowa("Nomoskar, prithibi!")
kowa("ei programor bhaxa: " + bhaxa)
jodi (boyox >= 18) {
kowa("praptoboyosko")
} nohole {
kowa("oprapto-boyosko")
}Both are the same program. Output:
নমস্কাৰ, পৃথিৱী!
এই প্ৰগ্ৰামটোৰ ভাষা: অসমীয়া
প্ৰাপ্তবয়স্কYou can run it without installing anything in the playground:

Try it now
No install needed: open the playground at asomiya.codes and press ▶.
Or install the command-line tool:
npm install -g asomiya
asomiya # start the interactive REPLRelated MCP server: Home Assistant MCP Server
Features
Assamese everywhere. Keywords, built-ins, error messages, and numbers (
১০ + ২০prints৩০).Or type in English letters.
dhora,kowa,jodi,nohole… with several common spellings for each word, because romanised Assamese has no single standard spelling.Helpful errors. Every error has a code, a message in Assamese or English, and points at the exact spot. Typos get a hint:
kowaa→ did you meankowa(কোৱা)?A real language. Variables, conditions, loops, functions, recursion, closures, lists and input. A real lexer, parser and interpreter, written in TypeScript.
Runs anywhere. A CLI and REPL for Node.js 20+, a browser playground, and a library API.
Safe to run other people's code. Programs can't touch files or the network, and loops, recursion and memory are limited. See SECURITY.md.
Well tested. Over 400 tests, run on Linux, macOS and Windows.
Installation
Requires Node.js 20 or newer.
npm install -g asomiyaThis installs the asomiya command. To use Asomiya as a library in a project instead:
npm install asomiya
asomiya: command not found? You probably rannpm install asomiyawithout-g. Usenpm install -g asomiya, or run it once withnpx asomiya.
Quick start
Save this as hello.asom:
কোৱা("নমস্কাৰ, অসম!")Run it:
asomiya run hello.asomStart the REPL and type code line by line:
asomiyaSource files use the .asom extension.
The language in five minutes
Concept | Assamese script | English letters |
variable |
|
|
|
| |
if / else |
|
|
while loop |
|
|
for-each loop |
|
|
break |
|
|
continue |
|
|
function |
|
|
true/false/null |
|
|
and / or / not |
|
|
list |
|
|
comment |
| same |
Numbers can be written with Assamese (
২৪) or ASCII (24) digits. Programs in Assamese script print২৪; programs in English letters print24.Text uses double quotes.
+joins text with any value. Length and indexing count whole characters, soদৈৰ্ঘ্য("নাম")is২.Conditions must be true or false (
সঁচা/মিছা). There is no "truthiness".Statements end at a newline,
;, or the danda।.
Built-in functions
Assamese | English letters | What it does |
|
| length of text or a list |
|
| the type of a value, as text |
|
| text → number ( |
|
| any value → text |
|
| drop the decimal part |
|
| add |
|
| ask a question and read one line of input |
English letters: how spelling works
Everyone types Assamese differently, so Asomiya accepts several spellings for each word:
kowa, kuwa, kua and koa all mean কোৱা; xosa, hosa and sosa all mean সঁচা.
Roman keywords are lower-case only, so Jodi or Misha can still be names. The full list is in
the Roman spelling guide.
Examples
A leap-year checker, in English letters:
fangchon adhibarxa(boxor) {
jodi (boxor % 400 == 0) { ghuraidiya xosa }
nohole jodi (boxor % 100 == 0) { ghuraidiya misa }
ghuraidiya boxor % 4 == 0
}
dhora boxor = xonkhya(xudha("Boxor likhok: "))
jodi (adhibarxa(boxor)) { kowa(boxor, "adhibarxa") } nohole { kowa(boxor, "adhibarxa nohoy") }More in the examples/ folder (also
built into the playground):
File | Shows |
| variables, joining text, if/else |
| types, reassignment, scope, separators |
| precedence, decimals, conversions |
| else-if chains, logic words, nesting |
| while, for-each, break, nested loops |
| functions, recursion, higher-order, closures |
| lists, Assamese-aware text indexing |
| reading input with |
| the same language in English letters |
Command-line usage
asomiya run <file> [options] run a program
asomiya python <file> [options] print the same program in Python
asomiya [repl] [options] start the REPL (default)
asomiya --version | --help
Options:
-l, --lang <as|en> language for error messages (default: as)
--ascii-digits always print numbers with 0-9
--assamese-digits always print numbers with ০-৯
--max-steps <n> execution step budget, 0 = unlimited (default: 10000000)
--max-depth <n> maximum function call depth (default: 500)Exit codes: 0 success, 1 the program had an error, 2 usage error or unreadable file.
Errors show a code, a message, the location and the line:
চলোৱাৰ সময়ৰ ভুল [R001]: "খ" নামৰ কোনো চলক ঘোষণা কৰা হোৱা নাই (প্ৰথমে "ধৰা খ = …" লিখক)
--> program.asom:2:10
|
2 | কোৱা(ক + খ)
| ^REPL
A complete statement runs when you press Enter. An open { or ( waits for more lines, and
সোধা reads the next line you type.
Command | Effect |
| show help |
| discard an unfinished multi-line input |
| quit |
Ctrl+C | quit immediately, even mid-program |
The REPL has no arrow-key history on purpose: line editors redraw the line with column arithmetic that doesn't match how terminals draw Assamese, which garbled the screen.
Playground
asomiya.codes runs the real interpreter in your browser. Nothing is
sent to a server. It has the examples built in, an input box for সোধা, Assamese or English
errors, a digit-style switch, and share links that carry your program in the URL.
The Python button shows your program in Python, side by side, updating as you type. It is a
real translation, not an approximation: the Python program prints exactly what the Asomiya program
prints, byte for byte, and stops with an error where Asomiya would. Where Python behaves
differently (Python prints 3.0 where Asomiya prints ৩, -7 % 3 is 2 in Python but -১ in
Asomiya, Python counts ক্ষ as three characters …) the code calls a small helper function, so
learners see plain Python everywhere else. asomiya python file.asom does the same in the
terminal. The test suite checks this by running thousands of programs in both languages and
comparing the output.
VS Code extension
Asomiya for VS Code (also Cursor, Windsurf and VSCodium): syntax colours in both scripts, errors as you type, hover help, a ▶ Run button whose output (with proper Assamese text) appears in an Asomiya panel, and a live Show in Python view.

VS Code: Visual Studio Marketplace, or search “Asomiya” in the Extensions view.
Cursor, Windsurf, VSCodium: Open VSX, or search “Asomiya” in Extensions.
More on the extension page; the source is in
editors/vscode.
Use with AI
asomiya-mcp is an MCP server that lets Claude, ChatGPT, VS Code Copilot, Cursor and other AI apps write, check, run and explain Asomiya, with a playground right in the chat. Add it to your AI app:
claude mcp add asomiya -- npx -y asomiya-mcpOther apps, and the one-click Claude Desktop extension: asomiya.codes/ai.
Use as a library
import { runSource } from 'asomiya';
const { output, error } = runSource('কোৱা(১০ + ২০)');
console.log(output); // ৩০
runSource('kowa(10 + 20)').output; // "30\n"
import { parse, toPython } from 'asomiya';
toPython(parse('কোৱা(১০ + ২০)')); // a Python program that prints ৩০Documentation
Guide | What's in it |
types, operators, scoping, semantics | |
EBNF, precedence table, lexical rules | |
what every word means and why it was chosen | |
writing Asomiya in English letters | |
every error code, in Assamese and English | |
how the interpreter is built | |
what changed in each version |
Why Asomiya?
Programming languages almost always borrow English for their keywords. Asomiya shows that nothing
about lexing, parsing or running code depends on that. Variables can be called বয়স, loops can be
written with যেতিয়ালৈকে, and ১০ + ২০ prints ৩০. It's made for teaching programming to
Assamese speakers in their own language, and for showing how a programming language works inside.
It's a small, educational language: readable and well tested, not fast or feature-complete.
Contributing
Contributions are welcome, especially from native Assamese speakers: if a keyword, spelling or error message sounds unnatural, please open an issue. Several keywords are still marked provisional in the glossary. See CONTRIBUTING.md.
Running tests
git clone https://github.com/d43ash1sh/asomiya.git
cd asomiya
npm install
npm test # unit + integration tests
npm run check # typecheck, lint, format and testsSecurity
To report a security problem, please use GitHub's private vulnerability reporting instead of a public issue. See SECURITY.md.
People
Created by Debashish Bordoloi (@d43ash1sh, ORCID 0009-0006-0473-0774). Everyone who has helped, including people who reviewed words or wrote lessons (emoji key):
To add someone, comment on any issue or pull request:
@all-contributors please add @username for code, doc
See all contributors on GitHub.
Support
Asomiya is free and always will be. If it helps you or your students, you can buy the maintainer a coffee ☕. It pays for the domain and hosting, and for time spent on lessons and tools for learners.
Acknowledgements
The idea of a playful language with native-language keywords was inspired by BhaiLang. Asomiya has its own grammar, semantics and implementation.
License
MIT © Debashish Bordoloi and contributors
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
MCP server for AI dialogue using various LLM models via AceDataCloud
An MCP server that gives your AI access to the source code and docs of all public github repos
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.1130 npm102MIT
- AlicenseAqualityAmaintenanceA comprehensive MCP server that enables AI assistants to interact with Home Assistant, control smart home devices, query states, execute services, and manage automations via natural language.77137,969 PyPI8,163MIT
- AlicenseNot gradedqualityDmaintenanceMCP server enabling AI assistants to read and write Obsidian notes, create and edit Excalidraw drawings, and run Excalidraw scripts via natural language commands.MIT
- AlicenseNot gradedqualityDmaintenanceA custom MCP server that lets AI assistants interact with GitHub accounts, offering tools for repository creation, file viewing, code search, and issue management.ISC