Skip to main content

Ollang MCP in Claude Code

Claude Code is Anthropic’s agentic CLI tool. Ollang MCP integrates seamlessly, giving you translation capabilities right in your terminal.

Setup

Option 1: CLI command

Option 2: Project configuration

Create .mcp.json at your project root:
.mcp.json
Commit .mcp.json to your repository so your entire team can use Ollang MCP. Use ${VARIABLE} syntax for secrets to avoid hardcoding tokens.

Option 3: Global configuration

Add to ~/.claude.json for access in all projects:
~/.claude.json

Authentication

On first use, Claude Code will open a browser window for Ollang authentication. Sign in with your email (OTP), Google, or GitHub account.

Use Cases

Automate i18n in CI/CD pipelines

Use Claude Code in scripts to manage translations as part of your build process:

Batch translate project files

Quality check translations

Subtitle workflow

Manage custom instructions

Configuration Scopes

Claude Code supports three configuration levels: Priority: Local > Project > User

Multi-Server Example

.mcp.json