What it does
The tool identifies the language a text is written in, using trigram (n-gram) frequency analysis across 30+ languages. Each call returns the top three language matches with confidence scores, script identification (Latin, Cyrillic, Arabic, CJK, Devanagari) and character statistics. It is exposed as the MCP tool text_detect_language and as an HTTP endpoint.
It suits multilingual content routing, language detection before translation, and content filtering. It is not meant for translation or sentiment analysis, which the publisher assigns to other tools. It can be added to MCP clients such as Claude Desktop and Cursor.
Access is pay-per-call through the x402 protocol, at $0.005 per call in USDC on Base L2, with no API key or signup. x402-aware clients handle the payment challenge automatically. The single text parameter should be at least 10 characters for accurate results. The listing belongs to the klymax402 marketplace of 100 x402 micropayment APIs, and the code is released under the MIT license.
Limitations and requirements
Payment requires a wallet holding USDC on Base L2 (eip155:8453) and an x402-aware client. Input text should be at least 10 characters for accurate detection. Translation and sentiment analysis are outside the tool's scope.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
Language Detector API
Detect language from text via trigram analysis. 30+ languages, script detection. x402.
v1.1.0As shown on registry.modelcontextprotocol.io when we last read it