mcp-localization-engine
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π MCP-Localization-Engine
Global localization data for 174 locales via MCP (Model Context Protocol)
π― What is this?
A Model Context Protocol (MCP) server that provides comprehensive localization data for 174 locales worldwide. Perfect for AI agents and applications that need to generate culturally-adapted multilingual content.
Related MCP server: Countries MCP Server
β¨ Features
174 Locales: Complete coverage across Europe, Asia, Americas, Middle East, Africa, and Oceania
3 MCP Tools:
get_locale_config: Technical metadata (timezone, currency, script, etc.)get_cultural_data: Cultural adaptation data (values, tone, references)get_rules: Global rules (slug generation, SEO, content adaptation)
Smart Caching: 24-hour TTL with 98% hit rate
Fast: 2-5ms response time (cached), 50ms (cold)
Production Ready: Validated schemas, error handling, comprehensive tests
π Quick Start
Installation
# Clone the repository
git clone https://github.com/supernovae/mcp-localization-engine.git
cd mcp-localization-engine
# Install dependencies
pip install -r requirements.txt
# Verify installation
python src/server.py --versionRunning the MCP Server
# Start the server
python src/server.py
# Output:
# π MCP-Localization-Engine v1.0.0
# π Loaded 174 locales
# πΎ Cache initialized (TTL: 24h)
# β
Server ready on stdioConfigure with Claude Desktop
macOS:
nano ~/Library/Application\ Support/Claude/claude_desktop_config.jsonLinux:
nano ~/.config/Claude/claude_desktop_config.jsonWindows:
notepad %APPDATA%\Claude\claude_desktop_config.jsonAdd this configuration:
{
"mcpServers": {
"localization": {
"command": "python",
"args": ["/ABSOLUTE/PATH/TO/mcp-localization-engine/src/server.py"]
}
}
}β οΈ Replace /ABSOLUTE/PATH/TO/ with your actual path!
Restart Claude Desktop to load the configuration.
Test in Claude
Open Claude and try:
"Use the localization MCP to get the configuration for French (France)"Claude should call get_locale_config("fr-FR") and return technical data!
π Documentation
Complete Documentation - Full guides in
docs/folderArchitecture - System architecture
MCP Tools - Detailed tool documentation
Quick Start - 10-minute setup guide
Development - Contributing guide
π§ Usage Example
from src.loader import load_locale_config, load_cultural_data
# Get technical config
config = load_locale_config("ja-JP")
print(config["timezone"]) # "Asia/Tokyo"
print(config["currency"]) # "JPY"
print(config["script"]) # "CJK"
# Get cultural data
cultural = load_cultural_data("ja-JP")
print(cultural["cultural_values"]) # ["Harmony (ε)", "Respect for hierarchy", ...]
print(cultural["tone_preferences"]["business"]) # "Formal, polite, humble"π Supported Locales
174 locales across:
πͺπΊ Europe: 75 locales
π Asia: 45 locales
π Americas: 20 locales
π Middle East: 20 locales
π Africa: 9 locales
π¦πΊ Oceania: 5 locales
π§ͺ Testing
# Run all tests
pytest tests/
# Run with coverage
pytest tests/ --cov=src --cov-report=html
# Validate all locale data
python tests/validate_data.py
# Run specific test
pytest tests/test_tools.py -vπ οΈ Development
# Install dev dependencies
pip install -r requirements-dev.txt
# Generate a new locale template
python scripts/generate_locale.py pt-BR
# List all locales
python scripts/list_locales.py
# Benchmark performance
python scripts/benchmark.pyπ Project Stats
Code: ~1,000 lines of Python
Data: ~4.5 MB (174 configs + 174 culturals + 3 rules)
Tests: 20+ test cases
Cache Hit Rate: 98%
Response Time: 2-5ms (cached), 50ms (cold)
π€ Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
Adding a New Locale
Generate template:
python scripts/generate_locale.py xx-YYFill in the data in
data/locales/config/xx-YY.jsonanddata/locales/cultural/xx-YY.jsonValidate:
python tests/validate_data.py --locale xx-YYSubmit PR
π License
MIT License - see LICENSE
π Links
π‘ Use Cases
Content Generation: Generate culturally-adapted marketing content
SEO Optimization: Get locale-specific SEO rules
URL Generation: Generate proper slugs per locale
Cultural Adaptation: Avoid cultural faux-pas
Multi-project: Shared foundation for all your localization needs
π’ Built by SuperNovae Studio
Made with β€οΈ for the global developer community.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
An MCP memory server. One memory your agents share β across models, devices and apps.
Related MCP Servers
AlicenseAqualityBmaintenanceAI-powered localization platform. Translate text, search translation memory, and access style guides from any MCP-compatible AI tool.2173 PyPI1MIT- AlicenseNot gradedqualityDmaintenanceMCP Server that gives AI assistants access to comprehensive country data from 250+ countries.1MIT
- AlicenseAqualityDmaintenanceMCP server for AI-powered translation management in i18n projects, enabling automated locale detection, translation status checks, and sync via LangAPI.470 npm1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that lets AI agents read and write locale JSON translation files directly from the conversation without loading the whole catalog into context.12 npm1ISC