# Language Detector — 30+ Languages via Trigram Analysis

Language Detector — 30+ Languages via Trigram Analysis is an MCP server for Claude Code that identifies languages and writing scripts across 30+ variants. It can sort incoming text streams.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 4083 installs
- Author: axel-belfort
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/axel-belfort/language-detector
- Updated: 2026-04-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/language-detector-30-languages-via-trigram-analysis

## What it does

The server exposes the `text_detect_language` tool to classify raw prose using character sequence statistics. Rather than managing dashboard tokens, calls transact through an x402 micropayment rail charging $0.002 per request on Base L2.

Alongside the top match, responses report script classifications like Cyrillic or Latin, plus three alternative candidates with scores. If your target workflow requires translation right away, the author suggests picking `text_translate` instead because it detects the source tongue automatically.

## Requirements
- Remote server: `https://language-detector--axel-belfort.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http language-detector https://language-detector--axel-belfort.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add language-detector-30-languages-via-trigram-analysis --url https://language-detector--axel-belfort.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "language-detector-30-languages-via-trigram-analysis": {
            "url": "https://language-detector--axel-belfort.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "language-detector-30-languages-via-trigram-analysis": {
            "type": "http",
            "url": "https://language-detector--axel-belfort.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http language-detector-30-languages-via-trigram-analysis https://language-detector--axel-belfort.run.tools
```

## When to use it
- classify unknown customer messages before dispatching to handlers
- detect writing alphabets across user submissions
- sort incoming document queues by dialect markers

## Example prompts
- Inspect which tongue this paragraph belongs to using `text_detect_language`
- Check whether this comment is written in Greek or Cyrillic script

## Similar
- [language-detector-api](https://affpapa.org/en/nevibecode/skills/language-detector-api.md) — skill · 518 installs
- [Text Translator — 50+ Languages with Auto-Detection](https://affpapa.org/en/nevibecode/mcp/text-translator-50-languages-with-auto-detection.md) — MCP server · 2463 installs
- [azure-ai-language-conversations-py](https://affpapa.org/en/nevibecode/skills/azure-ai-language-conversations-py.md) — skill · 1 install
- [natural-language](https://affpapa.org/en/nevibecode/skills/natural-language.md) — skill · 3900 installs
- [nlp-natural-language-processing](https://affpapa.org/en/nevibecode/skills/nlp-natural-language-processing.md) — skill · 1000 installs
- [sentiment-analysis-trading](https://affpapa.org/en/nevibecode/skills/sentiment-analysis-trading.md) — skill · 338 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
