Skip to main content
Glama
bangla-tools-mcp

bangla-tools-mcp

README.md
# bangla-tools-mcp

<!-- mcp-name: io.github.hossainbuilds/bangla-tools-mcp -->

An [MCP](https://modelcontextprotocol.io) server that gives AI assistants like Claude three small Bangla tools, for things language models often get wrong.

> AI বাংলায় যেসব জায়গায় ভুল করে, তার তিনটার জন্য ছোট টুল: সংখ্যার নাম, বাংলা তারিখ, লাখ-কোটি কমা।

## Why

We measured it with [bangla-ai-eval](https://github.com/hossainbuilds/bangla-ai-eval) ([report](https://doi.org/10.5281/zenodo.24653100), runs of 29 November 2026):

- On number words, ERNIE 5.5 Flash scored 71% and Nemotron 3 Ultra 54%. One wrote ৫৩ as *তিরান্ন*; the right word is *তিপ্পান্ন*.
- Nemotron placed Pohela Falgun on 13 February. In Bangladesh it has been 14 February since the 2019 calendar revision.

Both models formatted lakh/crore commas correctly in that run. The tool is here for models that don't.

## Tools

| Tool | Example |
| --- | --- |
| `number_to_bangla_words` | `53` → তিপ্পান্ন, `350000` → তিন লক্ষ পঞ্চাশ হাজার |
| `gregorian_to_bangla_date` | `2026-12-16` → ১ পৌষ ১৪৩৩ |
| `format_bangla_number` | `1234567` → ১২,৩৪,৫৬৭ |

All three are local calculations: no network access and no API keys.

The date tool follows the **Bangladeshi** calendar as revised in 2019 (not the West Bengal one) and accepts dates from 14 April 2019.

## Setup

You need [uv](https://docs.astral.sh/uv/).

**Claude Code**

```sh
claude mcp add bangla-tools -- uvx bangla-tools-mcp
```

**Claude Desktop, Cursor and other clients**

```json
{
  "mcpServers": {
    "bangla-tools": {
      "command": "uvx",
      "args": ["bangla-tools-mcp"]
    }
  }
}
```

Without uv: `pip install bangla-tools-mcp`, then use `bangla-tools-mcp` as the command.

Then ask, for example: *"১৬ ডিসেম্বর ২০২৬ বাংলা কত তারিখ?"* or *"Write 1,25,00,000 in Bangla words."*

## Development

```sh
pip install -e . pytest
pytest
```

Number-word and comma tests use the native-speaker-checked answers from bangla-ai-eval. The full 0–99 table was reviewed by a native speaker. Found a wrong spelling or date? [Open an issue](https://github.com/hossainbuilds/bangla-tools-mcp/issues).

## License

MIT

TDQS

A3.8/5.0

Scored across 3 tools

Disambiguation5/5

Each tool targets a distinct transformation: digits→words, ISO date→Bangla date, and digit grouping/script formatting. The outputs (words vs. comma-grouped numerals vs. a date object) are clearly different, and the descriptions make the boundaries explicit.

Naming Consistency4/5

All names are snake_case and readable, built from clear domain nouns (number, bangla, date). Two follow an X_to_Y pattern while one uses verb_noun (format_bangla_number), a minor stylistic deviation but nothing confusing.

Tool Count4/5

Three tightly scoped tools fit a narrow Bangla-localization utility server; each earns its place with no filler. It is on the lean side, but not trivially thin.

Completeness3/5

The forward conversions are covered, but there are no inverse operations (Bangla words→number, Bangla date→Gregorian, or parsing comma-grouped Bangla numerals), which are natural follow-up needs. Agents needing round-tripping will hit a dead end.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues