AbdallahAHO/lokalise-mcp
If you are the rightful owner of lokalise-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Lokalise MCP Server is an unofficial integration that connects AI assistants to Lokalise, enabling seamless translation management through natural conversation.
lokalise_list_projects
List all projects with statistics
lokalise_get_project
Get detailed project information
lokalise_create_project
Create a new project
lokalise_update_project
Update project settings
lokalise_delete_project
Delete a project
Lokalise MCP Server
β οΈ Disclaimer: This is an unofficial, personal project and is not affiliated with, endorsed by, or associated with Lokalise Inc. It uses the publicly available Lokalise Node.js SDK to provide MCP integration. All code and implementation are my own work.
What is this?
The Lokalise MCP Server connects AI assistants like Claude to Lokalise, the leading translation management platform. Through natural conversation, you can manage translation projects, update content, and automate localization workflowsβno coding required.
π― Perfect for:
- Product Managers - Monitor translation progress and identify bottlenecks
- Developers - Automate key management and bulk updates
- Localization Teams - Manage translations and collaborate efficiently
- Content Teams - Keep translations synchronized across projects
β¨ Features
π Project Management
- List and analyze all your projects with completion stats
- Create new projects with base languages
- Monitor translation health across teams
π€ Translation Keys
- Browse and search translation keys
- Bulk create/update/delete operations
- Filter by platform (iOS, Android, Web)
π Languages & Translations
- Add new target languages instantly
- Update translations across multiple languages
- Track translation progress and review status
π₯ Team Collaboration
- Manage team members and permissions
- Create and assign translation tasks
- Add comments for translator context
π Content Management
- Maintain glossaries for consistency
- Handle plural forms and variants
- Export/import translation files
π Enterprise Ready
- Secure API token handling
- Rate limiting and error recovery
- Support for custom API endpoints
π Quick Start
Prerequisites
- Node.js 18 or higher
- A Lokalise account with API access
- Your Lokalise API token (Get it here)
Installation
# Install globally
npm install -g lokalise-mcp
# Or clone for development
git clone https://github.com/AbdallahAHO/lokalise-mcp.git
cd lokalise-mcp
npm install
Configuration
-
Copy the example environment file:
cp .env.example .env
-
Add your Lokalise API token:
# .env LOKALISE_API_KEY=your_token_here
Running the Server
# HTTP mode (recommended)
npm run mcp:http
# STDIO mode (for Claude Desktop)
npm run mcp:stdio
# CLI mode (direct commands)
npm run cli -- list-projects
π€ Using with Claude
Claude Desktop Setup
- Open Claude Desktop settings
- Go to "Developer" β "Model Context Protocol"
- Add the Lokalise MCP server:
{ "lokalise": { "command": "npx", "args": ["lokalise-mcp"], "env": { "LOKALISE_API_KEY": "your_token_here" } } }
Example Conversations
Project Overview:
"Show me all my Lokalise projects and their translation progress"
Content Management:
"Create a new key 'welcome_message' with English text 'Welcome to our app!' and add Spanish and French translations"
Bulk Operations:
"Find all keys containing 'button' and update their descriptions to include platform information"
Team Collaboration:
"Create a task for translating the new onboarding flow into German and assign it to the German team"
π Available Tools
The server provides 39 MCP tools covering all major Lokalise operations:
Click to see all available tools
Projects (6 tools)
lokalise_list_projects
- List all projects with statisticslokalise_get_project
- Get detailed project informationlokalise_create_project
- Create a new projectlokalise_update_project
- Update project settingslokalise_delete_project
- Delete a projectlokalise_empty_project
- Remove all keys from a project
Keys (7 tools)
lokalise_list_keys
- List translation keys with filteringlokalise_get_key
- Get detailed key informationlokalise_create_keys
- Create multiple keys at oncelokalise_update_key
- Update a single keylokalise_bulk_update_keys
- Update multiple keyslokalise_delete_key
- Delete a single keylokalise_bulk_delete_keys
- Delete multiple keys
Languages (6 tools)
lokalise_list_system_languages
- List all available languageslokalise_list_project_languages
- List project languageslokalise_add_project_languages
- Add languages to projectlokalise_get_language
- Get language detailslokalise_update_language
- Update language settingslokalise_remove_language
- Remove a language
Translations (4 tools)
lokalise_list_translations
- List translations with filteringlokalise_get_translation
- Get translation detailslokalise_update_translation
- Update a translationlokalise_bulk_update_translations
- Update multiple translations
Additional Collections
- Tasks (5 tools) - Manage translation tasks
- Comments (5 tools) - Handle key comments
- Contributors (6 tools) - Manage team members
- Glossary (5 tools) - Maintain terminology
π οΈ Advanced Configuration
Environment Variables
Variable | Description | Default |
---|---|---|
LOKALISE_API_KEY | Your Lokalise API token (required) | - |
LOKALISE_API_HOSTNAME | Custom API endpoint | https://api.lokalise.com/api2/ |
TRANSPORT_MODE | Server mode: http or stdio | http |
PORT | HTTP server port | 3000 |
DEBUG | Enable debug logging | false |
Custom API Endpoints
For enterprise or staging environments:
LOKALISE_API_HOSTNAME=https://api.enterprise.lokalise.com/api2/
π€ Contributing
We welcome contributions! See our for details on:
- Setting up the development environment
- Architecture and code organization
- Automated CI/CD checks on all PRs
- Release process and workflow
- Creating new tools and domains
- Submitting pull requests
π Documentation
- - Development setup and guidelines
- Lokalise API Docs - Official API reference
- MCP Documentation - Learn about MCP
π Troubleshooting
Common Issues
"Authentication failed"
- Verify your API token is correct
- Check token permissions in Lokalise settings
"Rate limit exceeded"
- The server includes automatic rate limiting
- For high-volume operations, consider batching
"Connection refused"
- Ensure the server is running (
npm run mcp:http
) - Check firewall settings for port 3000
Debug Mode
Enable detailed logging:
DEBUG=true npm run mcp:http
π License
MIT License - see for details.
π Acknowledgments
- Built on the Model Context Protocol by Anthropic
- Uses the open-source Lokalise Node.js SDK