@makerkit/i18n weekly downloads statistics
By makerkit (4 listings) · npm · MCP servers
Lets coding agents read and edit JSON translation files stored as <locale>/<namespace>.json (i18next, next-i18next, next-intl with namespace files): list, update, stats, add and remove locales and namespaces.
@makerkit/i18n has 9,154 recorded weekly downloads on npm, an increase of 27.6% over the past 30 days, ranking #1306 of 3,247 tracked listings.
About @makerkit/i18n
@makerkit/i18n
Lets coding agents read and edit JSON translation files: list every key in every locale, set a value, check how much of each locale is translated, and add or remove locales and namespaces.
It works with projects that keep one folder per locale and one JSON file per namespace:
public/locales/
en/
common.json
auth.json
de/
common.json
auth.json
This is the layout used by i18next and next-i18next, and by next-intl projects that split messages into namespace files. A single file per locale (messages/en.json) is not supported.
Nested JSON objects are read as dot-separated keys: { "header": { "title": "Home" } } is the key header.title.
Tools
| Tool | What it does |
|---|---|
translations_list | Every locale, namespace and key with its value; base_locale is the reference locale |
translations_update | Sets one key in one locale and namespace; missing parent groups are created |
translations_stats | Per-locale count of translated and missing keys, compared with the base locale |
translations_add_namespace | Creates an empty namespace file in every locale |
translations_add_locale | Creates a locale folder with an empty file for every existing namespace |
translations_remove_namespace | Deletes a namespace file from every locale |
translations_remove_locale | Deletes a locale folder and its files (the base locale cannot be removed) |
Locale and namespace names that contain path separators or .. are rejected, so the tools only touch files inside the messages directory. Keys such as __proto__ are rejected too.
Use from code
import { createTranslationsService } from '@makerkit/i18n';
import { createI18nDeps } from '@makerkit/i18n/node';
const translations = createTranslationsService(createI18nDeps(process.cwd()));
const { coverage } = await translations.stats();
await translations.update({
locale: 'de',
namespace: 'common',
key: 'header.title',
value: 'Startseite',
});
Settings
createI18nDeps(root, {
settings: {
messagesDir: 'apps/web/i18n/messages', // default: public/locales
baseLocale: 'en', // default: the first locale alphabetically
indent: 2, // default
},
});
messagesDir: the folder that contains the locale folders. Absolute, or relative to the root path.baseLocale: the locale that coverage is measured against and thattranslations_remove_localerefuses to delete. When it is not set, or that folder does not exist, the first locale in alphabetical order is used.indent: indentation for written files. Files are written as JSON with a trailing newline.
Add the tools to an MCP server
Requires @modelcontextprotocol/sdk.
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { createTranslationsService } from '@makerkit/i18n';
import { registerI18nTools } from '@makerkit/i18n/mcp';
import { createI18nDeps } from '@makerkit/i18n/node';
const server = new McpServer({ name: 'i18n', version: '1.0.0' });
registerI18nTools(
server,
createTranslationsService(createI18nDeps(process.cwd())),
);
Pass { prefix: 'my_' } as a third argument to prefix the tool names.
License
MIT
Description from the npm listing.
- ai-agents
- i18n
- i18next
- mcp
- next-intl
- translations
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (135)Similar npm MCP servers plugins
All 20 @makerkit/i18n alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@makerkit/i18n. First seen Nov 17, 2026; last successful collection Dec 1, 2026. See the methodology.