the-i18n-mcp logo

the-i18n-mcp

Community
fabkho

Toolkit for managing i18n in any framework

Publisherfabkho
Repositorythe-i18n-kit
LanguageTypeScript
Forks
1
Stars
11
Available tools
15
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    the-i18n-mcp exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 15 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    11 stars and 1 forks from the linked repository.

the-i18n-kit

CI License Glama score

The i18n toolkit for AI agents and large monorepos. Find missing keys, remove dead ones, and rename across every locale and layer at once — from your agent, your terminal, or your pipeline.

📖 Documentation


Packages

PackageVersionWhat it is
@the-i18n-kit/clinpmThe CLI, and the library every other surface is built on
@the-i18n-kit/mcpnpmMCP server, for AI coding agents
@the-i18n-kit/nuxtnpmPublishes the layer graph Nuxt already resolved

A GitHub Action and a GitLab CI template ship from this repository too.

Quick Start

bash
npm install -g @the-i18n-kit/cli

the-i18n-cli init        # write a config from what it detects
the-i18n-cli status      # coverage per locale and per layer
the-i18n-cli missing     # what is not translated yet

For an AI agent, point your MCP host at the server:

json
{
  "mcpServers": {
    "the-i18n-mcp": {
      "command": "npx",
      "args": ["@the-i18n-kit/mcp@latest"]
    }
  }
}

→ Getting started · MCP setup · CLI reference

Documentation

Everything lives on the documentation site. The reference sections are generated from the source they describe, so they cannot drift from it.

Why this toolkitWho it is for, and who it is not
Monorepos and layersThe consumer graph, shared libraries, misplaced usages
FrameworksNuxt, Laravel, Vue, React/Next, generic
ConfigurationWhere it lives, precedence, every field
CI/CDThe Action and the GitLab template
CLI · MCP toolsGenerated reference

Development

bash
pnpm install
pnpm build
pnpm test
pnpm lint
pnpm typecheck

DEBUG=1 enables verbose logging to stderr. See CONTRIBUTING.md.

License

MIT

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "fabkho-the-i18n-kit": {
      "command": "npx",
      "args": [
        "-y",
        "the-i18n-kit"
      ]
    }
  }
}

Available Tools

  • detect_i18n_config

    Detect the Nuxt i18n configuration from the project. Returns locales, locale directories, default locale, and fallback chain. Call this first before using other tools.

  • list_locale_dirs

    List all i18n locale directories in the project, grouped by layer. Shows file count and top-level key namespaces per layer.

  • get_translations

    Get translation values for given key paths from a specific locale and layer. Use "*" as locale to read from all locales.

  • add_translations

    Add new translation keys to the specified layer. Provide translations per locale file name. Keys are inserted in alphabetical order. Fails if a key already exists (use update_translations instead).

  • update_translations

    Update existing translation keys in the specified layer. Provide new values per locale file name. Fails if a key does not exist (use add_translations instead).

  • get_missing_translations

    Find translation keys that exist in the reference locale but are missing in other locales. Scans a specific layer or all layers.

  • find_empty_translations

    Find translation keys that have empty string values ("") in locale files. Unlike get_missing_translations which compares against a reference locale, this tool checks each locale independently for empty values. Useful for finding untranslated keys in the reference locale itself.

  • search_translations

    Search translation files by key pattern (glob/regex) or value substring. Useful for finding existing translations before adding duplicates.

  • remove_translations

    Remove one or more translation keys from ALL locale files in the specified layer. Use dryRun to preview changes before applying them.

  • rename_translation_key

    Rename/move a translation key across ALL locale files in a layer. Preserves the value in every locale. Use dryRun to preview changes before applying them.

  • translate_missing

    Find keys missing in target locales and translate them. Uses the host LLM via MCP sampling if available, otherwise returns context for the agent to translate inline. Uses project config (glossary, translation prompt, locale notes, examples) if available. Each locale writes to its own file — parallel calls targeting different locales are safe.

  • find_orphan_keys

    Find translation keys that exist in locale JSON files but are not referenced in any Vue/TS source code. Scans a specific layer or all layers. Reports keys that can potentially be removed.

  • scan_code_usage

    Scan Vue/TS source files to find where translation keys are referenced. Shows file paths and line numbers for each key. Useful for understanding where a key is used before renaming or removing it.

  • cleanup_unused_translations

    Find translation keys not referenced in source code and remove them. Combines find_orphan_keys + remove_translations in one step. Always does a dry run first unless dryRun is explicitly set to false.

  • scaffold_locale

    Create empty locale files for new languages. Copies the key structure from the default locale with all values set to empty strings. Supports both JSON (Nuxt) and PHP (Laravel) formats. Does NOT modify framework config — the agent must add the locale to the framework config before calling this tool.

Use the-i18n-mcp MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once the-i18n-mcp is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add the-i18n-mcp as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the the-i18n-mcp MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "fabkho-the-i18n-kit": {
      "command": "npx",
      "args": [
        "-y",
        "the-i18n-kit"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the the-i18n-mcp MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the the-i18n-mcp MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use the-i18n-mcp to help me with this task?
the-i18n-mcp
Sure. I read it.
Here is what I found using the-i18n-mcp.

Frequently asked questions

What is the the-i18n-mcp MCP server used for?

the-i18n-mcp is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use the-i18n-mcp MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use the-i18n-mcp with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use the-i18n-mcp MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With the-i18n-mcp connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect the-i18n-mcp MCP to TypingMind?

the-i18n-mcp runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does the-i18n-mcp MCP provide in TypingMind?

the-i18n-mcp exposes 15 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use the-i18n-mcp MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If the-i18n-mcp requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

add-feature-translations

Guided workflow for adding i18n translations when building a new feature.

fix-missing-translations

Find and fix all missing translations across the project.

add-language

Add a new language to the project: update framework config, scaffold empty locale files, then translate all keys.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇