Textstats logo

Textstats

Text statistics & readability MCP.

Install Textstats

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "textstats": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-textstats"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Tools2

What Textstats lets your agent do. Expand a tool for its parameters.

Self-reported~106 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

4/4 checks healthy over the last 44d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · @pipeworx/mcp-textstats (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads264Package downloads in the last 30 days.
Last commit27d agoMost recent push to the default branch.
Tools exposed2Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

mcp-textstats

Text statistics & readability MCP.

Part of Pipeworx — an MCP gateway connecting AI agents to 1679+ live data sources.

Tools

ToolDescription
text_statsCompute 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.
readabilityCompute readability scores (keyless, offline): Flesch Reading Ease (0-100, higher = easier) and Flesch-Kincaid Grade Level, with the underlying word/sentence/syllable counts. Uses a syllable-estimation heuristic.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

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

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/textstats/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

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

Both URLs reach the same gateway and the same 1679+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

Terminal
curl -X POST https://gateway.pipeworx.io/v1/tools/text_stats \
  -H 'Content-Type: application/json' \
  -d '{"text":"The quick brown fox jumps over the lazy dog. This is a sample sentence."}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/text_stats. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:

config.json
{
  "mcpServers": {
    "textstats": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-textstats"]
    }
  }
}

Or run it directly to confirm it starts:

Terminal
npx -y @pipeworx/mcp-textstats

It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call for only this pack's tools — none of the shared meta-tools the gateway connection above adds. Same source, same tools, no ask_pipeworx routing.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

Code
ask_pipeworx({ question: "your question about Textstats data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Textstats

Textstats is an MCP server that computes text statistics and readability scores. Its keyless, offline tools report character, word, sentence, and paragraph counts, estimated reading time, average word length, longest word, Flesch Reading Ease, and Flesch-Kincaid Grade Level, plus underlying word, sentence, and syllable counts using a syllable-estimation heuristic.

Textstats provides the `text_stats` and `readability` tools. `text_stats` calculates character, word, sentence, and paragraph counts, estimated reading time at 200 words per minute, average word length, and the longest word. `readability` calculates Flesch Reading Ease, Flesch-Kincaid Grade Level, and underlying word, sentence, and syllable counts.

Connect an MCP client such as Claude Desktop, Cursor, or Windsurf to `https://gateway.pipeworx.io/textstats/mcp`. The gateway endpoint exposes Textstats tools along with shared Pipeworx meta-tools; alternatively, run `npx -y @pipeworx/mcp-textstats` as a local stdio MCP server for only the Textstats tools.

Yes, call `POST https://gateway.pipeworx.io/v1/tools/text_stats` with a JSON body containing a `text` field, such as `{"text":"Your text here."}`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTextstats AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/textstats?style=directory)](https://allmcps.com/mcp/textstats)
HTML Embed
<a href="https://allmcps.com/mcp/textstats"><img src="https://allmcps.com/api/badge/textstats?style=directory" alt="Textstats on AllMCPs" /></a>