Text Stats

Text Stats API and MCP server

Everything the website does is available to programs and AI agents for free, without an API key: a REST API described by OpenAPI 3.1, and a Streamable HTTP MCP server with the same tools. Use it from scripts, spreadsheets, ChatGPT, Claude or any MCP client.

Quickstart

curl -X POST https://factory-template-eight.vercel.app/api/v1/analyze-text \
  -H 'content-type: application/json' \
  -d '{"text": "Hello world. This is a test."}'

Operations

Machine-readable descriptions

Errors, limits and versioning

Errors are RFC 9457 application/problem+json objects with a stable code, a detail and a resolution telling you what to do next. Each client may make 60 requests per minute; every response carries IETF RateLimit and RateLimit-Policy headers, and a 429 includes Retry-After. Breaking changes ship under a new /api/vN path, and deprecated operations announce themselves with Deprecation and Sunset headers at least 90 days in advance.

Connect an MCP client

{
  "mcpServers": {
    "template": {
      "url": "https://factory-template-eight.vercel.app/mcp"
    }
  }
}