text_stats

Pack: textstats · Endpoint: https://gateway.pipeworx.io/textstats/mcp

Compute text statistics (keyless, offline): character counts (with/without spaces), word/sentence/paragraph counts, estimated reading time (200 wpm), average word length, and the longest word.

Parameters

NameTypeRequiredDescription
textstringyesThe text to analyze.

Example call

Arguments

{
  "text": "The quick brown fox jumps over the lazy dog. This is a sample sentence."
}

curl

curl -X POST https://gateway.pipeworx.io/textstats/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"text_stats","arguments":{"text":"The quick brown fox jumps over the lazy dog. This is a sample sentence."}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('text_stats', {
  "text": "The quick brown fox jumps over the lazy dog. This is a sample sentence."
});

More examples

{
  "text": "Artificial intelligence is transforming industries. Machine learning models require large datasets. Data preprocessing is crucial for model performance. Feature engineering improves prediction accuracy."
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "textstats": {
      "url": "https://gateway.pipeworx.io/textstats/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 15, 2026