API & MCP

Everything a person can do on Writing Rhythm, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Writing Rhythm

Explore sentence and paragraph pacing with language-aware boundaries, source spans, distributions and a measured comparison with a second draft.

Inputs of Writing Rhythm
FieldTypeDefaultDescription
texttextarea"Short sentence. This sentence takes a little longer to reach its end."Draft
comparetextarea—Second draft (optional)
localeselect (en, de, fr, es, it, pt)"en"Analysis language
wpmnumber220Modeled reading speed (words/minute)

Example request

Try an example

curl -X POST https://paperwellwritingrhythm.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "paperwell-writing-rhythm": { "type": "http", "url": "https://paperwellwritingrhythm.usefulweb.app/mcp" }
  }
}