Language Detector API

io.github.Br0ski777Published by GitHub account Br0ski777v1.1.0Updated Nov 2, 2026

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

VerifiedSSEWeb executableWeb Search & ScrapingAI & ML

Overview

AI-generated overview

Remote MCP endpoint that detects the language of a text using trigram analysis, with confidence scores and script identification, paid per call.

What you can do
  • Detect the language of a supplied text and get the top three matches with confidence scores
  • Identify the writing script (Latin, Cyrillic, Arabic, CJK, Devanagari) and character statistics for the text
  • Intended for multilingual content routing, pre-translation detection and content filtering; it does not translate or do sentiment analysis
When to use it
Useful when an assistant needs to know which language a piece of text is written in, for example to route multilingual content, decide whether translation is needed, or filter content by language.
Requirements
A remote MCP endpoint added by URL; no API key or signup. Calls are paid per request in USDC on the Base L2 network through the x402 protocol, so an x402-capable client with a funded wallet is needed to complete the payment challenge. Text should be at least 10 characters for accuracy.
Before you install
Every call costs money ($0.005 per detection) and is settled in USDC on Base, so an agent can spend from a connected wallet without a signup step. Submitted text is sent to a third-party service for analysis, so avoid sending confidential content. Payment is handled by external facilitators.

Installation

In SourceWeft

  1. Open Language Detector API in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Br0ski777%2Flanguage-detector/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "language-detector-api": {
      "type": "sse",
      "url": "https://language-detector.api.klymax402.com/mcp"
    }
  }
}

README

Language Detector API

[MCP Server] [x402] [License: MIT]

Detect language from text using trigram frequency analysis. Supports 30+ languages with script detection. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

json
{  "mcpServers": {    "language-detector": {      "url": "https://language-detector.api.klymax402.com/mcp"    }  }}

Quickstart -- HTTP (x402)

bash
curl -X POST "https://language-detector.api.klymax402.com/api/detect" \  -H "Content-Type: application/json" \  -d '{"text":"..."}'# -> 402 Payment Required, with an x402 payment challenge in the response body

Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.

Tools

ToolMethodPathPriceDescription
text_detect_languagePOST/api/detect$0.005Detect the language of input text with confidence scores and script identification

text_detect_language

Use this when you need to identify what language a text is written in. Uses n-gram frequency analysis to detect 30+ languages with confidence scores. Returns top 3 language matches, script detection (Latin, Cyrillic, Arabic, CJK, Devanagari), and character statistics. Ideal for multilingual content routing, pre-translation detection, and content filtering. Do NOT use for translation — use text_translate. Do NOT use for sentiment — use text_analyze_sentiment.

Parameters

NameTypeRequiredDescription
textstringyesThe text to detect language for (min 10 characters for accuracy)

Example agent prompts

  • "Identify what language a text is written in"

Payment

  • Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Facilitator: Coinbase CDP (primary), PayAI (fallback)

Part of klymax402

100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.

License

MIT

Source: README.md at commit d1b4769

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts