Skip to content
LangChain

Language Detector API for LangChain

io.github.br0ski777/language-detector

Detect language from text via trigram analysis. 30+ languages, script detection. x402.

client:LangChain transport:sse

Install Language Detector API in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "language-detector": {
            "transport": "streamable_http",
            "url": "https://language-detector.api.klymax402.com/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Language Detector API in other clients