ハードコードされたUIテキストの検出、翻訳キーの割り当て、コンテンツの翻訳、および各種Web・モバイルフレームワーク向けのロケールファイルの作成を行います。
別名 ufortstephen/localize-dev, localize-dev
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 0.35.0
- 最終コミット
- 2026年11月13日
- ライセンス
- —
localize.dev MCPとは
localize.devはMCPサーバーです。 ハードコードされたUIテキストの検出、翻訳キーの割り当て、コンテンツの翻訳、および各種Web・モバイルフレームワーク向けのロケールファイルの作成を行います。.
プロジェクトのREADMEから生成された概要
localize.dev MCP server について
localize.devは、ソフトウェアアプリケーションの国際化(i18n)のための自動化されたワークフローを提供します。コードベース内のハードコードされたUIテキストを特定し、適切な翻訳キーを割り当て、必要なロケールファイルを生成します。このMCP serverは、React, Next.js, Vue, Svelte, Flutter, iOS, Android, Rails, Django, Laravelを含む幅広いフレームワークをサポートしています。開発者は、Cursor, Claude Code, Windsurfなどのツールからローカルのstdio接続を介して利用できるほか、LovableやBoltのようなブラウザベースのビルダー向けにホストされたHTTPサーバーに接続することも可能です。
このserverには、ローカライゼーションプロセスの各段階に対応した専用のツールが含まれています。checkツールは、APIキーを必要とせずにハードコードされたテキストや古い翻訳を特定します。configツールは、i18nライブラリと言語設定をセットアップします。実際の翻訳タスクを行うlocalize, translate, add_languageツールには、APIキーまたはOAuthによるサインインが必要です。checkとconfigはローカルで実行されますが、翻訳ツールは特定のUIテキストとコンポーネントのコンテキストのみをホストされたモデルに送信して処理を行います。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
localize.dev MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude Codeにlocalize.dev MCPをインストール
$ claude mcp add --env 'LOCALIZE_API_KEY=<YOUR_LOCALIZE_API_KEY>' localize-dev -- npx -y localize-devCursorにlocalize.dev MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"localize-dev": {
"command": "npx",
"args": [
"-y",
"localize-dev"
],
"env": {
"LOCALIZE_API_KEY": "<YOUR_LOCALIZE_API_KEY>"
}
}
}
}VS Codeにlocalize.dev MCPをインストール
.vscode/mcp.json
{
"servers": {
"localize-dev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"localize-dev"
],
"env": {
"LOCALIZE_API_KEY": "<YOUR_LOCALIZE_API_KEY>"
}
}
}
}VS Code CLIにlocalize.dev MCPをインストール
$ code --add-mcp '{"name":"localize-dev","type":"stdio","command":"npx","args":["-y","localize-dev"],"env":{"LOCALIZE_API_KEY":"<YOUR_LOCALIZE_API_KEY>"}}'Claude Desktopにlocalize.dev MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"localize-dev": {
"command": "npx",
"args": [
"-y",
"localize-dev"
],
"env": {
"LOCALIZE_API_KEY": "<YOUR_LOCALIZE_API_KEY>"
}
}
}
}Codexにlocalize.dev MCPをインストール
$ codex mcp add localize-dev --env 'LOCALIZE_API_KEY=<YOUR_LOCALIZE_API_KEY>' -- npx -y localize-devCodex config.tomlにlocalize.dev MCPをインストール
~/.codex/config.toml
[mcp_servers.localize-dev] command = "npx" args = ["-y", "localize-dev"] [mcp_servers.localize-dev.env] LOCALIZE_API_KEY = "<YOUR_LOCALIZE_API_KEY>"
Gemini CLIにlocalize.dev MCPをインストール
$ gemini mcp add -s user -e 'LOCALIZE_API_KEY=<YOUR_LOCALIZE_API_KEY>' localize-dev npx -- -y localize-devGemini settings.jsonにlocalize.dev MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"localize-dev": {
"command": "npx",
"args": [
"-y",
"localize-dev"
],
"env": {
"LOCALIZE_API_KEY": "<YOUR_LOCALIZE_API_KEY>"
}
}
}
}設定
LOCALIZE_API_KEYシークレットlocalize.dev API key, from https://uselocalize.dev/dashboard/keys. Not needed for check and config, or after npx localize-dev login.
| 名前 | 説明 | 種類 |
|---|---|---|
| LOCALIZE_API_KEY | localize.dev API key, from https://uselocalize.dev/dashboard/keys. Not needed for check and config, or after npx localize-dev login. | シークレット |
自動チェック
実行日 2026年11月14日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能ufortstephen/localize-dev is public and reachablegithub.com/ufortstephen/localize-dev ↗合格
- パッケージがこのリポジトリをソースとして指定localize-dev names ufortstephen/localize-dev as sourcenpmjs.com/package/localize-dev ↗合格
- ビルドの来歴 (Sigstore 証明)No build attestation published for this release未チェック
- オープンソースライセンス (OSI)No license検出事項
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-13github.com/ufortstephen/localize-dev ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from localize-dev合格
- パッケージおよびその依存関係に重大な勧告なしthe package checked; no critical advisoryosv.dev ↗合格
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答HTTPS endpoint answered 401 (sign-in required)合格
README
GitHubで見るlocalize.dev
Ship your app in every language. localize.dev finds hardcoded UI text in your code, gives it translation keys, translates it with your app's context, writes the locale files and opens one pull request. It works with React, Next.js, React Native, Vue, Svelte, Astro, Angular, Flutter, iOS, Android, Rails, Django and Laravel.
// before // after
<h1>Welcome back</h1> <h1>{t('auth.welcome_heading')}</h1>
<p>Hello {user.name}!</p> <p>{t('auth.greeting', { name: user.name })}</p>
This repository holds the agent plugins and MCP listing for the
localize-dev package. Docs, pricing and API keys
are at uselocalize.dev. Report problems in
Issues.
Claude Code
claude plugin marketplace add ufortstephen/localize-dev
claude plugin install localize-dev@uselocalize
The plugin adds the localize MCP server and a skill that tells Claude when to use it.
Cursor
Install localize.dev from the plugin list, or add the server to .cursor/mcp.json:
{
"mcpServers": {
"localize": { "command": "npx", "args": ["-y", "localize-dev", "mcp"] }
}
}
Other MCP clients (Codex, Windsurf, Cline, VS Code)
Run npx -y localize-dev mcp as a stdio server. It's listed in the
MCP Registry as io.github.ufortstephen/localize-dev.
| Tool | What it does | Needs a key |
|---|---|---|
check |
Hardcoded copy, missing and outdated translations, each with its file and line | No |
config |
The app's languages, locale files and i18n library | No |
localize |
Gives hardcoded text keys, rewrites the code and translates it | Yes |
translate |
Fills in missing translations in existing locale files | Yes |
add_language |
Adds a language and translates every message into it | Yes |
Hosted server (Lovable, Bolt, v0 and other browser-based builders)
Agents that can't start a local process can connect to https://uselocalize.dev/api/mcp as a
Streamable HTTP server. Clients that support OAuth sign in and you approve the connection on
localize.dev; otherwise send a localize.dev API key as the bearer token (or in an x-api-key header):
{
"mcpServers": {
"localize": {
"type": "http",
"url": "https://uselocalize.dev/api/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
It has the same tools. Each call carries the files the tool needs (files: [{ path, content }])
and returns the files to write back. Every call needs a key or an OAuth sign-in; check and
config still don't count toward your plan.
API key
There's a free tier. Create a key at
uselocalize.dev/dashboard/keys, then run
npx localize-dev login once, or set LOCALIZE_API_KEY.
Data
check and config run on your machine and send nothing. localize, translate and
add_language send the localize.dev API only the UI text being translated, the path of the file
it came from and short component context, never whole files. The API translates them with a
hosted model (Google Gemini, with OpenAI and Mistral as backups, through Vercel AI Gateway), which
doesn't train on them. localize.dev doesn't store the source text, only a one-way fingerprint of
it, and keeps the returned translations in your workspace's translation memory until you delete
the workspace. The hosted server writes the files an agent sends to a temporary folder for that
call and deletes them when it answers; they aren't stored or logged. Details: uselocalize.dev/privacy.
Set up a project
npx localize-dev init --agent # MCP config, project instructions and an after-edit hook, committed for the team
npx localize-dev run -l es,fr,de # or localize the whole app from the terminal
npx localize-dev check # in CI: fails on hardcoded copy and missing translations
The GitHub Action is ufortstephen/autolocalize-action.
License
The files in this repository (plugin manifests, skill, rule and MCP configuration) are MIT
licensed: see legal/plugin-files-license.txt. The localize-dev
package they run isn't open source; its license is included in the package.
localize.dev MCPのよくある質問
localize.dev MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --env 'LOCALIZE_API_KEY=<YOUR_LOCALIZE_API_KEY>' localize-dev -- npx -y localize-devを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
localize.dev MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
どのフレームワークをサポートしていますか?
React, Next.js, React Native, Vue, Svelte, Astro, Angular, Flutter, iOS, Android, Rails, Django, Laravelに対応しています。
翻訳中のデータはどのように扱われますか?
APIが受け取るのはUIテキスト、ファイルパス、および短いコンポーネントのコンテキストのみであり、ファイル全体が送信されることはありません。また、データを利用して学習を行わないモデルを使用しています。