MCP.Market

I18n Codelens MCP server

by hepter·io.github.hepter/i18n-codelens-mcp·v2.0.0

Inspect, audit and safely edit i18n locale JSON files from AI agents.

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

full report

Adoption
New

0 stars31 downloads/wk

Reviews

Write one

Nobody has reviewed I18n Codelens yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

I18n Codelens tools (10, 2 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • i18n_audit

    Project-wide health check: keys missing in some locale (vs the base locale), placeholder mismatches, keys used in code but untranslated, and keys never referenced in code. Choose checks to keep the response small.

  • i18n_delete_keyswrite action

    Remove keys from all or selected locales. Previews by default; pass dryRun:false to delete (or confirm the dialog).

  • i18n_file_keys

    Translation keys referenced in one source file and the locales that lack each of them. Run after editing a component to verify its copy is complete.

  • i18n_format_resources

    Normalize JSON formatting and sort keys (top level only for mixed files). Previews by default; pass dryRun:false to rewrite.

  • i18n_get_translations

    Values of specific keys in every (or selected) locale; null marks a missing translation. A key ending with '.' returns the whole namespace. Use includeValues:false for presence only.

  • i18n_key_references

    Where keys are used in code, as path:line:column, with exact totals. Useful before renaming or deleting a key.

  • i18n_project_info

    Locales, key format (plain or namespace:key), key counts, resolved config and warnings. Call once per session before other tools.

  • i18n_rename_key

    Rename a key across locales, or move a whole namespace when from ends with '.' (e.g. 'nav.' -> 'menu.'). Refuses when a target exists. Previews by default; pass dryRun:false to apply.

  • i18n_search_keys

    Find keys by substring of the key or the translated text, optionally under a key prefix. Keys missing from some locales are marked with "in". Add includeValues to see the text.

  • i18n_upsert_translationswrite action

    Create or update keys in one call, with a value per locale. Writes immediately and never deletes keys. An existing value that differs is reported as a conflict unless overwrite:true. Reports missing locales and placeholder mismatches.

Public scan report

scanner v0.1.10 · 2026-10-16 · same rubric, same numbers if you re-run it

no findings
  • Code scan50 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 44 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 88/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How I18n Codelens compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 75% of 48,243 servers
Tools
10
the typical server has 7
Tools that change things
20%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
31
more than 19% of 12,306 servers with a package

What its tools let an agent do: 8 read · 2 change

Install I18n Codelens in Claude Code, Cursor or VS Code

Runs npx -y i18n-codelens-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add i18n-codelens-mcp -- npx -y i18n-codelens-mcp
Add to Cursor

What the publisher says

From the I18n Codelens repository's README, as published. We do not edit it. Read it on GitHub

i18n-codelens-mcp

Model Context Protocol (MCP) server for i18n translation files. It lets AI agents (Claude Code, Cursor, Antigravity, GitHub Copilot, Codex, Gemini CLI and any other MCP client) inspect, audit and safely edit locale JSON files without ever loading a whole locale file into the model context.

  • Compact by design. Ten tools, single-line JSON results, no echoed input, limit/includeValues everywhere. A typical read costs 50-200 tokens.
  • Safe by construction. No write path can reduce a locale file's key set; mixed flat/nested files are edited in place, never converted; upserts report conflicts instead of overwriting.
  • Current MCP. Built on the TypeScript SDK v2: protocol revision 2026-07-28 and the 2025 revisions, server instructions, prompts (slash commands), cache hints and elicitation-based confirmation for destructive tools.
  • Any layout. locales/en.json, locales/en-US.json, messages.en.json and i18next-style locales/en/common.json (namespace files, keys as common:nav.home).

This package is also the MCP backend of the i18n CodeLens VS Code extension.

Requirements

  • Node.js 20 or newer
  • Locale resources as JSON files
  • An MCP client that supports stdio servers

Install

npx -y i18n-codelens-mcp
# or
npm install -g i18n-codelens-mcp

Client setup

Every command below registers the same thing: a stdio server named i18n-codelens running npx -y i18n-codelens-mcp. Pick your client, run one line, done.

The server needs to know which project to work on. Most clients start it in the project directory, and Claude Code passes the project root explicitly, so nothing else is needed. When your client starts the server from somewhere else, add the project path with the client's env flag, for example -e WORKSPACE_ROOT=/absolute/path/to/project.

Windows PowerShell: PowerShell can swallow a bare -- before it reaches the CLI, which then reports unknown option '-y'. If that happens, quote the separator as '--', or run the command from cmd, Git Bash or WSL.

Claude Code

# for the whole team: writes .mcp.json in the repo
claude mcp add --scope project i18n-codelens -- npx -y i18n-codelens-mcp

# just for you, in every project
claude mcp add --scope user i18n-codelens -- npx -y i18n-codelens-mcp

Claude Code sets CLAUDEPROJECTDIR for stdio servers, so the server always finds the right project. Its tool-search feature defers MCP tools; i18nupserttranslations and i18ngettranslations are marked anthropic/alwaysLoad so the two everyday tools need no lookup. The prompts show up as /i18n-codelens:audit, /i18n-codelens:add-key and /i18n-codelens:translate-missing.

Manual configuration

Project scope is .mcp.json in the repository root:

{
  "mcpServers": {
    "i18n-codelens": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "i18n-codelens-mcp"]
    }
  }
}

Google Antigravity

agy mcp add i18n-codelens -- npx -y i18n-codelens-mcp

agy mcp list, agy mcp disable i18n-codelens and agy mcp remove i18n-codelens manage it afterwards. Inside the IDE, /mcp opens the MCP manager.

Manual configuration

Global is ~/.gemini/config/mcpconfig.json (Windows: %USERPROFILE%\.gemini\config\mcpconfig.json), per project .agents/mcpconfig.json. In the IDE: … → MCP Servers → Manage MCP Servers → View raw config**.

{
  "mcpServers": {
    "i18n-codelens": {
      "command": "npx",
      "args": ["-y", "i18n-codelens-mcp"],
      "cwd": "/absolute/path/to/project",
      "env": { "WORKSPACE_ROOT": "/absolute/path/to/project" }
    }
  }
}

Antigravity also accepts disabled: true and disabledTools: ["i18nformatresources"] per server.

Gemini CLI

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

I18n Codelens: common questions

Is I18n Codelens MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the I18n Codelens safety report
How do I install I18n Codelens?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does I18n Codelens need an API key?
No secret keys are declared. It reads 3 settings from the environment.
Is I18n Codelens maintained?
The last commit was 63 days ago (2026-09-03). The latest release is v2.0.0.
What can I use instead of I18n Codelens?
Servers from other publishers that do the same job: Excel MCP Server, SSH Manager MCP server and Agentic Mermaid MCP server.
How does I18n Codelens compare with other MCP servers?
safety score 88/100 (higher than 75% of 48,243 servers); tools 10 (the typical server has 7); tools that change things 20% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to I18n Codelens

Same job from other publishers: the closest match first, then the best rated.

  • Excel MCP Server
    Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
    A
  • SSH Manager
    SSH for AI agents: commands, files, backups and health, with approval, a vault and an audit trail
    A
  • Agentic Mermaid
    Render, verify, describe, and safely edit Mermaid diagrams through MCP.
    B