Language Detector — 30+ Languages via Trigram Analysis
axel-belfort/language-detectorLanguage detection API for AI agents. Identify the language of any text using trigram analysis: 30+ languages supported, script detection (Latin, Cyrillic, CJK), and confidence scoring. Tools: text_detect_language. Use this for routing multilingual content, pre-processing before translation, or filtering by language. IMPORTANT: For translation, use text_translate which includes auto-detection. Returns: {language, script, confidence, alternatives[]}. No API key required — x402 micropayment $0.002/call on Base L2.
Similar MCP servers embedding-nearest
How to use
Add to your Claude Desktop / Cursor / Cline MCP config:
{
"mcpServers": {
"language_detector_—_30+_languages_via_trigram_analysis": {
"url": "https://github.com/Br0ski777/language-detector-x402",
"transport": "http"
}
}
}