AI L10n MCP logo

AI L10n MCP

Translates localization files through l10n.dev and manages instructions, glossaries, API keys, balances, and project structure.

Install AI L10n MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ai-l10n-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ai-l10n-mcp"
      ],
      "env": {
        "L10N_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

ai-l10n-mcp connects AI agents to l10n.dev for translating localization files and managing translation resources. Its primary tool translates one source file into multiple languages, while project-structure detection can identify source files, naming patterns, existing targets, and language codes. It supports JSON, JSONC, Flutter ARB, YAML, PO, XLIFF, Markdown, and other text-based formats. Reach for it when an agent needs to update application translations while preserving localization structure and optionally applying saved instructions or glossary terms.

Use cases

  • Translate application locale files into multiple target languages
  • Detect existing localization files and target-language layouts
  • Update only new strings in JSON-based translations
  • Apply saved terminology and tone rules during translation
  • Review character usage and remaining l10n.dev balance

Key features

  • AI translation through l10n.dev
  • Support for JSON, ARB, YAML, PO, XLIFF, and text formats
  • Project structure and language detection
  • Linguistic instruction management
  • Glossary and terminology management
  • Incremental translation and usage reporting

Tools16

What AI L10n MCP lets your agent do. Expand a tool for its parameters.

Verified live~4.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 78d

What it can do

From the 16 tools this server returned when we ran it; 16 declare their own safety hints.

Can delete or modify data · 3Handles credentials · 3Makes network requests · 13Read-only tools · 13
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age114 days
Maintainers1

Observed 2026-10-28 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4h ago via OSV.dev · ai-l10n-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads808Package downloads in the last 30 days.
Last commit18d agoMost recent push to the default branch.
Tools exposed16Callable tools this server registers over MCP.

How AI L10n MCP works

What ai-l10n-mcp does

ai-l10n-mcp exposes l10n.dev localization workflows through the Model Context Protocol. Its central capability is l10n_translate_file, which translates an i18n source file into one or more target languages. The tool can work with JSON, JSONC, Flutter ARB, YAML, PO/gettext, XLIFF, Markdown, and other text-based localization formats, choosing the format from the file extension.

The server is designed for projects where language files follow common folder or filename conventions. It can work with layouts such as locales/en.json, locales/en/common.json, locales/common.en.json, app_en.arb, and language-coded PO, XLIFF, or YAML files. Translation results include usage information, including character consumption and remaining balance. Strings excluded by content filtering can be written to a separate path for review.

How it works

When a source file is not supplied, the translation workflow can scan the project for likely localization files. l10n_detect_project_structure identifies whether a project is folder-based or file-based, determines the source language, detects target languages, and reports the resolved target paths and whether those files already exist. An optional language-code regular expression helps with unconventional filenames.

Before translation, an agent can inspect saved linguistic instructions and glossaries. Instructions control tone, style, or brand terminology for a language pair. Glossaries map source terms to preferred translations and may include context notes. Existing JSON, JSONC, and ARB targets can be updated incrementally so unchanged strings are skipped.

Setup and configuration

Run the MCP package with a standard stdio configuration:

config.json
{
  "mcpServers": {
    "l10n": {
      "command": "npx",
      "args": ["-y", "ai-l10n-mcp"]
    }
  }
}

Authentication uses an l10n.dev API key. Set L10N_API_KEY in the MCP process environment, or use l10n_set_api_key to save a key locally under ~/.ai-l10n/config.json. An environment variable takes precedence over the stored key. l10n_get_api_key_status reports whether a key is available. Keys can be obtained from https://l10n.dev/ws/keys.

Translation consumes the account's character balance. l10n_get_balance checks the remaining amount; insufficient funds require purchasing additional characters through l10n.dev.

Tools and capabilities

  • Translate one source file into one or more target languages with l10n_translate_file.
  • Detect folder-based or filename-based localization layouts with l10n_detect_project_structure.
  • List, create, update, delete, and inspect linguistic instructions.
  • List, create, update, delete, and inspect glossaries and glossary entries.
  • Store an API key and check its configuration status.
  • Check remaining character balance.
  • Apply incremental translation to existing JSON-based target files.
  • Generate plural forms, glossaries, and filtered-string review files through translation options.

The translation workflow also supports preserving placeholders, HTML tags, formatting, JSON data types, and plural forms, including language-specific plural structures. These behaviors are provided by the l10n.dev translation service.

Limitations and notes

The service requires an l10n.dev API key and available character balance. New accounts receive a three-day trial with 10,000 characters before a monthly plan is required. Content-filtered strings are not silently translated; they are reported through a review path when one is returned.

If the project structure cannot be inferred from a filename, a language-code regular expression may be needed. The server's translation output depends on the source and target files, detected naming pattern, selected language pairs, and any active instructions or glossaries.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about AI L10n MCP

ai-l10n-mcp is an MCP server that connects AI agents to l10n.dev for application localization. Its main tools translate i18n files, detect project language-file structures, manage linguistic instructions and glossaries, store and check API-key status, and report remaining character balance for translation workflows.

Install it by adding an MCP stdio entry that runs `npx -y ai-l10n-mcp`. Configure the l10n.dev credential with the `L10N_API_KEY` environment variable or the `l10n_set_api_key` tool, then connect an MCP client to the configured server.

ai-l10n-mcp supports JSON, JSONC, Flutter ARB, YAML, PO/gettext, XLIFF, Markdown, and other text-based localization formats. The translation tool determines the format from the source file extension.

Yes, ai-l10n-mcp works with Cursor through its standard MCP configuration. Add the server command using `npx -y ai-l10n-mcp`, provide an l10n.dev API key, and let Cursor invoke the translation and localization-management tools.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAI L10n MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ai-l10n-mcp?style=directory)](https://allmcps.com/mcp/ai-l10n-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/ai-l10n-mcp"><img src="https://allmcps.com/api/badge/ai-l10n-mcp?style=directory" alt="AI L10n MCP on AllMCPs" /></a>