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.site/api/v1/calculate– run Parley Chat TranscriptGET https://parleytranscript.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
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.
| Field | Type | Default | Description |
|---|---|---|---|
export | textarea | "{\n \"format\": \"parley-channel\",\n \"version\": 1,\n \"exportedAt\": \"20 | Channel export (JSON). In Parley: channel menu → Export channel (JSON). The file is read, not uploaded anywhere else. |
format | select (markdown, html, text) | "markdown" | Transcript format |
threads | select (nested, flat, skip) | "nested" | Thread replies |
utcOffset | number | 0 | Time zone offset (hours from UTC). For example 1 for CET, -5 for New York in winter. Times are printed with this fixed offset. |
includeDeleted | boolean | false | Show 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.site/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.site/mcp" }
}
}