MCP I18n Extractor
@martincik
About MCP I18n Extractor
MCP server to help with i18n translations
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP I18n Extractor?
MCP I18n Extractor is an MCP server that extracts i18n (internationalization) strings from JavaScript/TypeScript source files and outputs them as structured JSON files. It is designed for developers working on multilingual applications who need to automate the initial extraction of translation keys from their codebase.
How to use MCP I18n Extractor?
Install the npm package (@access-intelligence/mcp-i18n), then configure your MCP client to use the server. The server exposes a single tool operation, extract_i18n, which requires a sourcePath (path to the JS/TS file) and a targetPath (path for the output JSON).
Key features of MCP I18n Extractor
- Extracts i18n strings from direct object exports (
export default { ... }) - Preserves nested objects and arrays in the output JSON
- Handles template strings with variable interpolation
- Supports strings, numbers, booleans,
null, andundefined - Merges with existing JSON files instead of overwriting
- Replaces source files with a configurable migration message (can be disabled)
Use cases of MCP I18n Extractor
- Automatically generate a JSON translation file from a single JS/TS i18n module
- Migrate a codebase by replacing old i18n source files with a warning placeholder
- Integrate i18n extraction into a CI/CD pipeline via MCP client automation
FAQ from MCP I18n Extractor
What kind of i18n structures can it extract?
It extracts strings from direct object exports (e.g., export default { key: "value" }) and supports nested objects, arrays, template strings with variables, and basic data types (string, number, boolean, null, undefined).
Does the tool overwrite existing translation files?
No. When the target JSON file already exists, the extracted strings are merged into it, preserving any existing keys.
Can I prevent the source file from being replaced?
Yes. Set the environment variable DISABLE_SOURCE_REPLACEMENT to 'true' to keep the original source file intact after extraction.
What runtime or dependencies does it require?
It is an npm package that runs on Node.js. The README does not specify a minimum Node version but lists npm test for testing, implying a typical Node environment.
How do I customize the warning message added to replaced source files?
Use the WARNING_MESSAGE environment variable to set a custom string that will be written into the source file after extraction (if not disabled).
Frequently asked questions
What kind of i18n structures can it extract?
It extracts strings from direct object exports (e.g., `export default { key: "value" }`) and supports nested objects, arrays, template strings with variables, and basic data types (string, number, boolean, null, undefined).
Does the tool overwrite existing translation files?
No. When the target JSON file already exists, the extracted strings are merged into it, preserving any existing keys.
Can I prevent the source file from being replaced?
Yes. Set the environment variable `DISABLE_SOURCE_REPLACEMENT` to `'true'` to keep the original source file intact after extraction.
What runtime or dependencies does it require?
It is an npm package that runs on Node.js. The README does not specify a minimum Node version but lists `npm test` for testing, implying a typical Node environment.
How do I customize the warning message added to replaced source files?
Use the `WARNING_MESSAGE` environment variable to set a custom string that will be written into the source file after extraction (if not disabled).
Basic information
More Other MCP servers
Nginx UI
0xJackyYet another WebUI for Nginx

Lemon.io
lemon-ioRequest dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
Blender
ahujasidOpen-source MCP to use Blender with any LLM
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Comments