Better I18NBetter I18N

API Reference

Complete API reference for Better i18n MCP tools and REST endpoints.

Better i18n provides two main APIs:

  1. MCP Tools - For AI assistants (Claude, Cursor, etc.)
  2. REST API - For direct integrations

MCP Tools

The MCP (Model Context Protocol) server exposes these tools for AI-powered translation management:

ToolDescription
listProjectsList all projects you have access to
getProjectGet project details including languages and namespaces
addLanguageAdd a new target language to a project
listKeysGet translation keys with search and filters
createKeysCreate new translation keys
updateKeysUpdate translations for existing keys
deleteKeysSoft-delete translation keys
getSyncsList recent sync operations
getSyncGet details of a specific sync

Authentication

All API calls require an API key. Get yours from the dashboard.

# For MCP Server
export BETTER_I18N_API_KEY="your-api-key"

# For REST API
curl -H "Authorization: Bearer your-api-key" \
  https://dash.better-i18n.com/api/...

Project Identifier

Most tools require a project parameter in org/project format:

{
  "project": "my-org/my-project"
}

You can find this in your project's i18n.ts config file.

On this page