This MCP server provides agent-complete localization workflows. It supports extracting strings, pushing keys, AI-translation, and pulling type-safe TypeScript (TS) types. The project is referenced as a localization toolchain spanning multiple application stacks and uses MCP for integration.
π οΈ Key Features
String extraction for localization
Push localization keys
AI-translate localization content
Pull type-safe TS types
π Use Cases
Automate i18n/localization updates across apps
Integrate translation and key management with MCP tooling
Generate or sync TypeScript types for localized resources
β‘ Developer Benefits
Type-safe TypeScript typings for localization data
Centralized localization operations: extract, push, translate, and pull
MCP integration alongside related i18n tooling
β οΈ Limitations
Source data only describes localization-related capabilities (no details on additional tools beyond this workflow).
Localization as code. Push your translation keys, AI translates to 182 languages, pull type-safe TypeScript definitions. Built for developers, AI agents, and product teams.
Traditional i18n means dozens of JSON files, zero type safety, hours of copy-pasting, and deploys that break at 2 AM. Existing tools charge $144+/mo and require browser-based workflows.
i1n is different:
One command β i1n push --translate es,fr,ja and you're done
Type-safe β auto-generated i1n.d.ts with full IDE autocomplete
AI-native β MCP server for Cursor, Claude Code, Windsurf. Your agent handles i18n for you
Zero migration β Bridge Mode wraps your existing i18next/next-intl/vue-i18n
5x cheaper β Free tier included. Pro at $29/mo vs Lokalise at $144/mo
π¦ Install
bash
# To use the CLI (global)
npm install -g i1n
# To use the SDK + types (in your app)
npm install i1n
# Local CLI usage (optional)
npm install -D i1n
Saves configuration to i1n.config.json (automatically ignored via .gitignore).
AI Orchestration: Optionally sets up rules for your AI coding tools.
β¬οΈ i1n push
Syncs your local translations to i1n.
Detects new keys and source changes.
Smart Translate: Offers to translate missing keys with a cost estimate before proceeding.
Efficient caching layer β repeated translations cost a fraction of fresh ones.
Three-way diff β push only sends the (key, lang) pairs you actually changed, never overwriting edits made via the dashboard or by other teammates. See Team workflow for the full conflict model.
Flags:
--translate [langs] β trigger AI translation after push (e.g. --translate es,fr,ja)
--strategy <mode> β how to handle real conflicts: interactive (default in TTY), ours, theirs, abort
--force β shorthand for --strategy ours (overwrite the server with your local values; destructive)
β¬οΈ i1n pull
Downloads translations and generates type-safe IDs.
Updates local locale files in your configured format.
Generates i1n.d.ts for full IDE autocomplete.
π i1n limits
Real-time usage tracking.
View your current plan and credit usage.
Monitor active language slots and available capacity.
β i1n check
Catch broken translations before they ship. Built for CI.
Detects missing keys per language, broken interpolation placeholders ({{count}} lost in translation), empty values, and malformed files.
--min-coverage 95 fails the build when translation coverage drops below your threshold.
Push local translation files with three-way diff (preserves server-side edits, aborts on conflict so the agent can resolve)
i1n_pull
Pull translations and generate type-safe TypeScript definitions
i1n_translate
Translate keys to specified languages using AI
i1n_add_language
Add new languages with optional auto-translation
i1n_extract_and_translate
Extract strings from code, push as keys, translate to all languages
i1n_search
Search existing translation keys by name or value
i1n_setup_bridge
Detect your i18n library (i18next, vue-i18n, next-intl, etc.) and wire up i1n bridge mode end-to-end
The killer workflow β tell your AI agent "internationalize this component":
The agent reads your file and identifies hardcoded strings
It calls i1n_extract_and_translate with the extracted strings
i1n pushes the keys, translates to all active languages, generates types
The agent rewrites your component with t('key') calls
A 60-minute task in 30 seconds.
π₯ Team workflow
i1n is designed for teams where multiple people edit translations in parallel β devs in different branches, copywriters in the dashboard, AI agents via MCP. i1n push is safe to run without worrying that your local working tree might pulverize someone else's edits.
How push decides what to send
Before every push, the CLI:
Reads your local locale files (L).
Asks the server which keys exist and when each was last modified (cheap metadata-only call, ~50Γ smaller than a full pull).
If anything moved on the server since your last sync, fetches the full server state (S).
Computes a three-way diff per (namespace, key, lang) against the last baseline you synced (P, stored in locales/.i1n-push-state.json).
For each (key, lang) the diff places it in one of these buckets:
Local
Server
Baseline
Action
== server
β
β
unchanged, skip
== baseline
changed
β
server-only β auto-pull into your locale files
changed
== baseline
β
local edit β push it
changed
changed
both moved
conflict β resolve interactively
missing
present
present in baseline
warn, don't propagate (no delete verb)
Only the languages that genuinely changed locally are sent. Languages you didn't touch are not in the payload, so the server's per-language merge preserves them. No more "my push silently overwrote yield_rate that I never even opened".
When there's a real conflict
A real conflict means you and someone else both edited the same (key, lang) to different values since the last sync. The CLI shows each one and asks you to pick:
Server β discard your local, auto-pull the server's value into your file.
Abort β exit; nothing is pushed.
For batch / CI / non-interactive environments, pass a strategy:
bash
i1n push --strategy theirs # accept all server values, push nothing for conflicts
i1n push --strategy ours # local wins (alias: --force)
i1n push --strategy abort # exit on any conflict
In non-TTY contexts (e.g. CI without a strategy flag), push aborts with a diff of the conflicts so you can resolve in code.
Auto-pulling server-only changes
If a teammate or someone in the dashboard updated a key you never touched, the server's value is automatically written into your local file at push time and your i1n.d.ts is regenerated if needed. Your working tree ends up reflecting reality β your git diff will show the bring-in so you can commit it alongside your own changes.
MCP push (AI agents)
The MCP i1n_push tool runs the same diff but defaults to abort on conflict because an AI agent should not silently pick a winner. Conflicts are reported in the response so the agent can decide to pull, ask you, or resolve manually before retrying.
Fresh checkouts
locales/.i1n-push-state.json is gitignored by design β it's working-tree state, like .git/index. On a fresh clone or new branch where the file doesn't exist, the baseline is synthesized from the server. Any local divergence from the server is then treated as a conflict (the CLI can't tell whether you edited locally or have stale data). Run i1n pull first if you just cloned and want to bring everything in cleanly.
The i1n package includes a runtime SDK for web and mobile JS/TS projects. You can use it in two ways:
Standalone Mode β Replace your i18n library
Use the i1n native engine directly. No external dependencies needed.
typescript
import { init, t, setLocale } from"i1n";
// Load your translation resourcesinit({
locale: "en_us",
resources: {
en_us: {
auth: { login: "Login", title: "Welcome back, {user}" },
items_one: "One item",
items_other: "{count} items",
},
es_es: {
auth: { login: "Entrar", title: "Bienvenido de nuevo, {user}" },
items_one: "Un elemento",
items_other: "{count} elementos",
},
},
});
// Autocomplete and type-safety work out of the box after 'i1n pull't("auth.login"); // "Login"// Support for default values (useful during development)t("new.key", { defaultValue: "Coming soon..." }); // "Coming soon..."// Variables & Pluralst("auth.title", { user: "Fran" }); // "Welcome back, Fran"t("items", { count: 5 }); // "5 items"// Switch language at runtimesetLocale("es_es");
t("auth.login"); // "Entrar"
Key resolution works with both nested and flat structures automatically β use whatever format your project prefers.
Bridge Mode β Keep your library, add type safety
Already using i18next, vue-i18n, or react-intl? Connect it to i1n with one line and get full autocompletion.
typescript
import i18next from"i18next";
import { registerI1n, t } from"i1n";
// Set up i18next as usualawait i18next.init({
lng: "en",
resources: {
/* ... */
},
});
// Connect to i1n β one lineregisterI1n((key, params) => i18next.t(key, params));
// Now t() uses i18next under the hood, but with strict type checkingt("common.greeting", { name: "World" }); // Powered by i18next, typed by i1n
Flutter, Android, and iOS projects don't use the SDK. They use the translation files (.arb, .xml, .strings) generated by i1n pull with their native localization systems.
π‘οΈ Developer Experience
π Privacy & Security
Auto-Ignore: i1n init automatically adds sensitive config files to your .gitignore.
Secret Management: API keys are only stored locally and never committed to version control.
Encrypted Transmission: All sync operations happen over secure HTTPS channels.
π Zero-Config Type Safety (TypeScript)
The CLI generates a lightweight declaration file (i1n.d.ts) that automatically augments the i1n package with your project's specific keys.
Pull: Run i1n pull. The CLI generates locales/i1n.d.ts and automatically updates your tsconfig.json so your IDE finds them immediately.
Usage: Import t from i1n and get full autocomplete + compile-time checking. No manual path mapping required.
typescript
import { t } from"i1n";
// Full autocomplete & compile-time checkingt("auth.login.title");
// ERROR: Argument of type '"auth.login.titlse"' is not assignable...t("auth.login.titlse");
// Dynamic strings still pass through β useful for `t(item.name)`,// runtime-built keys, etc.declareconstdynamicKey: string;
t(dynamicKey);
Strict literal checking landed in 1.3.0: passing a hard-coded string that
isn't in I1nKeys is now a TypeScript error (no more silent
[i1n] Missing translation warnings at runtime). Variables typed as
string keep working without casts.
π³ Pricing
Plan
Price
Keys (shared pool)
Languages
AI translations/mo
Starter
$0
200
2
2,000
Pro
$29/mo
2,000
3
10,000
Business
$99/mo
8,000
6
30,000
Enterprise
From $399/mo
Custom (25k+)
Unlimited
Custom
CLI, SDK, and MCP server are free on every plan. No credit card required for Starter.