language-detector
Language Detector API
使用 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: user-agent-parser
快速开始 -- 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/fetch、x402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试循环。
工具
工具 | 方法 | 路径 | 价格 | 描述 |
| POST |
| $0.005 | 检测输入文本的语言,并提供置信度分数和语言识别 |
text_detect_language
当你需要识别一段文本以何种语言书写时使用此工具。它使用 n-gram 频率分析检测 30 多种语言,并提供置信度分数。返回前 3 个语言匹配、文字系统检测(拉丁文、西里尔文、阿拉伯文、CJK、天城文)以及字符统计。非常适合多语言内容路由、翻译前检测和内容过滤。请勿用于翻译——请使用 text_translate。请勿用于情感分析——请使用 text_analyze_sentiment。
参数
名称 | 类型 | 必填 | 描述 |
| string | 是 | 要检测语言的文本(为保证准确性,至少 10 个字符) |
示例智能体提示词
“识别一段文本是什么语言”
支付
协议:x402 — 基于 HTTP 的按次付费,无需注册、无需 API 密钥
网络:Base L2(
eip155:8453)资产:USDC
协调者:Coinbase CDP(主要),PayAI(备用)
属于 klymax402
为 AI 智能体提供的 100 个 x402 微支付 API——一个钱包、Base 上的 USDC、零注册。
完整 API 参考:https://klymax402.com/llms-full.txt
许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
270 pay-per-call AI tools for agents, paid via x402 (USDC on Base). No signup, no API keys.
x402-paid analytics, market intelligence, research, and LLM inference for AI agents.
Pay-per-call NLP & embeddings APIs on Base via x402. No keys/signup; agents pay per call in USDC.
Pay-per-call NLP & embeddings APIs on Base via x402. No keys/signup; agents pay per call in USDC.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables text translation between 50+ languages with automatic source language detection. Uses x402 micropayments for pay-per-call without API keys or signup.MIT
- AlicenseNot gradedqualityCmaintenanceIt enables AI agents to parse user agent strings into structured data such as browser, OS, device type, engine, and bot status, with pay-per-call micropayments via x402 and no API key or signup required.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to analyze text metrics in one call, including word count, characters, sentences, paragraphs, and estimated reading time, with pay-per-call micropayments via x402.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to detect and verify the language of texts, run bundle checks, and top up prepaid credits by paying per call in USDC on Solana, with no account, API key, or subscription needed. Payment is handled transparently via x402 challenges, prepaid credit tokens, or a funded payer wallet with sponsored gas.10 npmMIT