API & MCP

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

HTTP API

  • POST https://parleytranscript.usefulweb.app/api/v1/calculate – run Parley Chat Transcript
  • GET https://parleytranscript.usefulweb.app/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Parley Chat Transcript

Converts a Parley channel export (JSON, format “parley-channel”) into a clean transcript: messages grouped by day, replies nested under their thread or in time order, mentions shown as @names, links kept, edited/pinned marks, reactions, attachments and linked items listed. Also counts messages, threads, replies and messages per person. Deterministic: times use a fixed UTC offset you choose.

Inputs of Parley Chat Transcript
FieldTypeDefaultDescription
exporttextarea"{\n \"format\": \"parley-channel\",\n \"version\": 1,\n \"exportedAt\": \"20Channel export (JSON). In Parley: channel menu → Export channel (JSON). The file is read, not uploaded anywhere else.
formatselect (markdown, html, text)"markdown"Transcript format
threadsselect (nested, flat, skip)"nested"Thread replies
utcOffsetnumber0Time zone offset (hours from UTC). For example 1 for CET, -5 for New York in winter. Times are printed with this fixed offset.
includeDeletedbooleanfalseShow deleted messages as “Message deleted”

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)

  • Streamable HTTP endpoint: https://parleytranscript.usefulweb.app/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: parley_transcript
  • Local stdio connector: node src/mcp-stdio.ts --tool=parley-transcript
{
  "mcpServers": {
    "parley-transcript": { "type": "http", "url": "https://parleytranscript.usefulweb.app/mcp" }
  }
}