Skip to main content
Glama
Br0ski777

word-counter

by Br0ski777

字数统计 API

MCP Server x402 License: MIT

一次调用即可分析文本指标:单词数、字符数、句子数、段落数和预估阅读时间。通过 x402(Base L2 上的 USDC)按调用付费 -- 无需 API 密钥、无需注册、没有限流墙。

属于 klymax402 市场的一部分 -- 面向 AI 智能体的 100 个 x402 微支付 API,一个钱包,Base 上的 USDC。

快速入门 -- MCP

添加到您的 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等)中:

{
  "mcpServers": {
    "word-counter": {
      "url": "https://word-counter.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: ai-summarizer

快速入门 -- HTTP(x402)

curl -X POST "https://word-counter.api.klymax402.com/api/count" \
  -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_count_words

POST

/api/count

$0.003

统计单词、字符、句子、段落数和预估阅读时间

text_count_words

当您需要统计文本中的单词、字符、句子或段落数时,可使用此工具。它会返回包含摘要的文本统计数据和阅读时间估算。

参数

名称

类型

必填

说明

text

string

要分析的文本

示例响应:

{"words":250,"characters":1450,"charactersNoSpaces":1200,"sentences":15,"paragraphs":4,"readingTime":1.25}

适用场景:内容长度校验、预估文章阅读时间、检查文本是否达到最低字数要求。在发布博客文章或提交带长度限制的内容之前必不可少。

不适用于:语言检测(请使用 text_detect_language)、情感分析(请使用 text_analyze_sentiment)、文本对比(请使用 text_compare_diff)。

智能体提示词示例

  • "统计文本中的单词、字符、句子或段落"

支付

  • 协议:x402 -- 原生 HTTP 的按次付费,无需注册,无需 API 密钥

  • 网络:Base L2(eip155:8453

  • 资产:USDC

  • 促进方:Coinbase CDP(主要)、PayAI(备用)

  • 也可通过 ATXP(OAuth 包装了 x402,RFC 9728 受保护资源元数据)访问

属于 klymax402

面向 AI 智能体的 100 个 x402 微支付 API -- 一个钱包,Base 上的 USDC、零注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
D
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
    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
  • A
    license
    Not graded
    quality
    B
    maintenance
    Classifies text into topic categories with confidence scores, readability metrics, and content type detection, using x402 micropayments for pay-per-call access.
    MIT

View all related MCP servers

Related MCP Connectors

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

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

  • x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.

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/word-counter-x402'

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