Language Detector Engine MCP Connector for Claude
A+Detect the language of any text local using exact n-gram analysis. Supports 400+ languages. When AI guesses wrong on short or mixed text, this engine proves it.
Your customer support agent receives a ticket: 'O produto não chegou'. The AI routes it to the Spanish queue. The agent wastes time, the customer gets angry, SLA drops. Why? Because the AI 'guessed' the language probabilistically instead of calculating it.
This MCP uses franc (200K+ weekly downloads, inspired by Google's CLD2) to perform deterministic N-gram language detection. It returns exact ISO 639-3 codes for over 400 languages, and properly returns 'undefined' if a text is too ambiguous rather than hallucinating.
The Superpowers
- 400+ Languages: From English (eng) and Portuguese (por) to Esperanto (epo) and Zulu (zul).
- Exact N-gram Math: Analyzes text strictly by character frequencies, not LLM probability.
- Whitelist/Blacklist: Know the text must be either Spanish or Portuguese? Pass
only: ['spa', 'por']to force a strict evaluation. - Confidence Scores: Use the
allflag to get an array of all matches with their exact probability scores.
Related Connectors
Keyword Extractor MCP
Extract and rank significant keywords from text using term frequency and density analysis.
Hugging Face LLM MCP
Connect Hugging Face LLM to any AI agent via MCP.
iFLYTEK Open Platform / 讯飞开放平台 MCP
China's leading voice and NLP platform — convert speech to text, synthesize voice, and analyze text via AI.
Groq MCP
Run large language models at unprecedented speed with custom LPU hardware that delivers real-time AI inference at massive scale.