text_stats

Pack: textstats · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/text_stats for the schema, then POST the same URL with its arguments for the data.

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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the textstats pack
{
  "mcpServers": {
    "textstats": {
      "url": "https://gateway.pipeworx.io/textstats/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 29, 2026