Skip to main content
Glama

Language Detector API

MCP Server x402 License: MIT

使用 trigram 频率分析从文本中检测语言。支持 30 多种语言的文字系统检测。通过 x402(Base L2 上的 USDC)按次付费——无需 API 密钥、无需注册、无速率限制。

klymax402 市场的一部分——为 AI 智能体提供 100 个 x402 微支付 API,一个钱包,Base 上的 USDC。

快速开始 -- MCP

将以下内容添加到 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等)中:

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

Related MCP server: boo-x402-mcp

快速开始 -- HTTP (x402)

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

任何支持 x402 的客户端(@x402/fetchx402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试循环。

工具

工具

方法

路径

价格

描述

text_detect_language

POST

/api/detect

$0.005

检测输入文本的语言,并提供置信度分数和语言识别

text_detect_language

当你需要识别一段文本以何种语言书写时使用此工具。它使用 n-gram 频率分析检测 30 多种语言,并提供置信度分数。返回前 3 个语言匹配、文字系统检测(拉丁文、西里尔文、阿拉伯文、CJK、天城文)以及字符统计。非常适合多语言内容路由、翻译前检测和内容过滤。请勿用于翻译——请使用 text_translate。请勿用于情感分析——请使用 text_analyze_sentiment。

参数

名称

类型

必填

描述

text

string

要检测语言的文本(为保证准确性,至少 10 个字符)

示例智能体提示词

  • “识别一段文本是什么语言”

支付

  • 协议:x402 — 基于 HTTP 的按次付费,无需注册、无需 API 密钥

  • 网络:Base L2(eip155:8453

  • 资产:USDC

  • 协调者:Coinbase CDP(主要),PayAI(备用)

属于 klymax402

为 AI 智能体提供的 100 个 x402 微支付 API——一个钱包、Base 上的 USDC、零注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Detect PII in text: emails, phones, SSNs, credit cards, IPs, addresses. Pay-per-call via x402 micropayments without API keys or signup.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides sentiment analysis with emotion detection, confidence scores, and key phrase extraction for single texts or batches up to 20, using pay-per-call via x402 micropayments (USDC on Base L2).
    MIT

View all related MCP servers

Related MCP Connectors

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • Discover and call pay-per-request (x402) APIs, ranked by reliability, latency and price.

  • Telegram channel analytics and statistics for AI agents, pay-per-call in USDC via x402.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/language-detector-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server