Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Mongolia

БесплатноПоддерживается

MCP server for Mongolian developers: MNS 5217:2012 Cyrillic-to-Latin romanization and aimag, soum and Ulaanbaatar district lookup.

GitHubEmbed

Описание

MCP server for Mongolian developers: MNS 5217:2012 Cyrillic-to-Latin romanization and aimag, soum and Ulaanbaatar district lookup.

README

An MCP server with small, correct utilities for Mongolian developers. Plug it into Claude (or any MCP client) and stop pasting Mongolian reference data into prompts.

Tools

Tool What it does
romanize_mongolian Cyrillic to Latin using the national standard MNS 5217:2012 (Хөвсгөл -> Khövsgöl, Цэцэрлэг -> Tsetserleg). Optional ascii flag drops the umlauts.
lookup_mongolian_place Find an aimag, aimag capital, soum, or Ulaanbaatar district by name. Accepts Cyrillic and the spellings people actually type (Khuvsgul, Hovsgol, Uvurkhangai, Bayan-Ulgii).
list_mongolian_aimags All 21 aimags plus Ulaanbaatar, with NSO and ISO 3166-2 codes, Cyrillic and English names and capitals.
list_mongolian_soums The 330 soums with their codes, optionally filtered by aimag (aimag: "Khuvsgul").
list_ulaanbaatar_districts The 9 districts of Ulaanbaatar.

Example:

You: Give me a Prisma enum for Mongolian aimags using romanized names. Claude: (calls list_mongolian_aimags, then romanize_mongolian)

Install

Claude Code

claude mcp add mongolia -- npx -y mongolia-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "mongolia": {
      "command": "npx",
      "args": ["-y", "mongolia-mcp"]
    }
  }
}

Data sources

Place data links to where it came from. The romanization table follows MNS 5217:2012, which has no free official copy online to link; a link to one is a welcome contribution.

Data Source Notes
Aimag, district and soum codes; soum names OCHA COD-AB Mongolia v01 (sheets mng_admin1, mng_admin2) Original source: National Statistical Office of Mongolia. Licence: CC BY-IGO. Reviewed by OCHA on 30 October 2025. Regenerate with scripts/build-soums.mjs.
ISO 3166-2:MN codes ISO Online Browsing Platform All 22 codes checked against the platform on 16 November 2026. ISO spells the names in BGN/PCGN 1964 (Hövsgöl, Dzavhan); only the codes are taken from it.

Codes are the National Statistical Office administrative unit codes (67 Khövsgöl, 6728 Renchinlkhümbe). Prefix MN to get the OCHA P-code (MN6728). These are not the ISO codes: ISO 3166-2 numbers the same aimags differently (MN-041 Khövsgöl), and each aimag carries both.

Limitations (read these)

  • Romanization is one-way and lossy. MNS 5217:2012 maps й, ь and ъ all to i, so you cannot reliably go back to Cyrillic. Real-world usage also doesn't follow the standard consistently, so don't expect it to match every passport or street sign.
  • Place data stops at the second level. 21 aimags, their capitals, 330 soums, Ulaanbaatar, and its 9 districts. Bags and khoroos are not included: OCHA publishes boundaries down to soum level only, and no complete, current list from the National Statistical Office could be verified.
  • Soum names are copied verbatim from the source, including a few spellings that differ from common usage: Шарын гол (usually Шарынгол), Есөн зүйл (Есөнзүйл), Гурван булаг in Bulgan (Гурванбулаг), Их тамир (Ихтамир), Хишиг-өндөр (Хишиг-Өндөр) and Өмнөгөвь in Uvs (Өмнөговь). Lookup matches both forms.
  • Soum Latin names are MNS 5217:2012 romanizations of the Cyrillic name, not official English names.
  • Name matching is fuzzy on purpose. Names collide (Sükhbaatar is an aimag, a city, two soums and a UB district), so lookups return every match instead of guessing.
  • Khentii's capital is listed as Chinggis (renamed from Öndörkhaan in 2013). The old name still matches.

Roadmap

Good first contributions, roughly in order of usefulness:

  • Soums (OCHA COD-AB)
  • Bags and khoroos, once a complete and current official list can be linked
  • Public holidays and the lunar calendar (Tsagaan Sar), only with a verified algorithm or a verified table
  • Traditional Mongolian script support
  • ISO 3166-2:MN codes for first-level divisions

If you add data, please link the source in the PR. Wrong data is worse than missing data.

Development

npm install
npm test        # vitest
npm run build   # tsc -> dist/

Logic lives in src/romanize.ts and src/divisions.ts as plain functions. src/soums.data.ts is generated by scripts/build-soums.mjs; don't edit it by hand. src/server.ts only wires them to MCP tools.

License

MIT

from github.com/ErkhesErkhes/mongolia-mcp

Установить Mongolia в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install mongolia

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add mongolia -- npx -y mongolia-mcp

Пошаговые гайды: как установить Mongolia

FAQ

Mongolia MCP бесплатный?

Да, Mongolia MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Mongolia?

Нет, Mongolia работает без API-ключей и переменных окружения.

Mongolia — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Mongolia в Claude Desktop, Claude Code или Cursor?

Открой Mongolia на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Opencode Omniroute Plugin

OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc

GitHub Actionsавтор: GitHub Actions
83

Roblox Studio

Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce

paralovавтор: paralov

Antigravity Drawio

MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.

S-SUJAN-Sавтор: S-SUJAN-S

Fetch

Web content fetching and conversion for efficient LLM usage.

автор: Community

AWS KB Retrieval

Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.

modelcontextprotocolавтор: modelcontextprotocol

Spring AI MCP Server

Provides auto-configuration for setting up an MCP server in Spring Boot applications.

автор: Community

llm-analysis-assistant

A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also

xuzexin-hzавтор: xuzexin-hz

MCP-Agent

A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)

lastmile-aiавтор: lastmile-ai

Spring AI MCP Client

Provides auto-configuration for MCP client functionality in Spring Boot applications.

автор: Community

mcp.natoma.ai

A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)

автор: Community

Compare Mongolia with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai