Transcode
Docs

API, MCP & LLM docs

Use all 82 Transcode converters from scripts and AI agents. Free, no API key, nothing stored.

Overview

Base URLhttps://transcode.prvnbist.com
AuthNone
Input limit100 KB
Rate limit60 requests / minute per IP
CORSOpen (any origin)
Converter id{tool}/{translator}, e.g. json/yaml

Quick start:

curl -X POST https://transcode.prvnbist.com/api/json/yaml \
  -H 'content-type: application/json' \
  -d '{"input":"{\"a\":1}"}'

HTTP API

GET /apiJSON index of every endpoint.
POST /api/{tool}/{translator}Convert the request body.
GET /api/{tool}/{translator}?input=…Convert a short input from the query string.

Request

A POST with a JSON content type must be { "input": "<string>" }. Any other content type is treated as raw text, with the whole body as the input.

Response

JSON by default. Add ?format=text or send Accept: text/plain to get only the converted text.

JSON
{
  "tool": "json",
  "translator": "yaml",
  "output": "a: 1\n",
  "warning": "optional, only when the converter had a non-fatal note"
}
toolstringTool slug that handled the request.
translatorstringTranslator slug.
outputstringThe converted text.
warningstring?Optional non-fatal note.

Plain-text and GET variants

curl -X POST https://transcode.prvnbist.com/api/text/camel-case \
  -H 'accept: text/plain' \
  -d 'hello world'
# => helloWorld

Errors

Errors return JSON with an error message, plus tool and translator when known.

JSON
{
  "error": "Unknown converter \"json/foo\". See /api for the list.",
  "tool": "json",
  "translator": "foo"
}
200Converted successfully. A non-fatal "warning" may be included.
400Bad request: missing "input", or the JSON body is malformed.
404Unknown converter. See GET /api for the list.
413Input is larger than 100 KB.
422The converter rejected the input. "error" holds the message.
429Rate limit exceeded (60 requests/minute per IP). Wait and retry.
500Unexpected server error.

MCP server

A remote Model Context Protocol server lets AI assistants run converters directly. It is stateless Streamable HTTP at https://transcode.prvnbist.com/mcp with no authentication.

Connect a client

claude mcp add --transport http transcode https://transcode.prvnbist.com/mcp

Tools

list_convertersList available converters. Optional tool (slug) and query (case-insensitive search).
convertRun a converter. Requires tool, translator and input (max 100 KB). Failures set isError.
{
  "name": "list_converters",
  "arguments": { "tool": "json", "query": "yaml" }
}

LLM usage

/LLM.md is a markdown guide generated from the converter registry: API usage, limits, status codes and every endpoint. Point an agent at it or paste it into a prompt. Pages also advertise it via <link rel="alternate" type="text/markdown">.

Drop-in system prompt

Add this to an agent that has HTTP access but no MCP support:

Prompt
You can convert, format and encode text with the Transcode API at https://transcode.prvnbist.com.
- Discover converters: GET https://transcode.prvnbist.com/api (or the list_converters MCP tool).
- Convert: POST https://transcode.prvnbist.com/api/{tool}/{translator} with {"input": "..."}.
- Add ?format=text to get only the converted text.
- Inputs are limited to 100 KB. A 422 means the input is invalid for that converter; read the "error" field.
- Rate limit: 60 requests/minute per IP; on 429, back off and retry.
Full guide: https://transcode.prvnbist.com/LLM.md

Tips

  • Discover converters instead of guessing slugs.
  • Use ?format=text when you only need the converted text.
  • Treat 422 as "invalid input for this converter".

FAQ

Do I need an API key?
No. The API and MCP server are open and free, with no sign-in.
Is my input stored?
No. Input is converted and returned; nothing is stored.
Is there a rate limit?
Yes: 60 requests per minute per IP across /api and /mcp. Exceeding it returns 429. Inputs are capped at 100 KB.
Can I call it from the browser?
Yes. CORS is open for any origin on /api and /mcp.
How do I find the right converter slug?
Call GET /api or the list_converters MCP tool, or browse the list at the bottom of this page.

Converters