API, MCP & LLM docs
Use all 82 Transcode converters from scripts and AI agents. Free, no API key, nothing stored.
Overview
| Base URL | https://transcode.prvnbist.com |
|---|---|
| Auth | None |
| Input limit | 100 KB |
| Rate limit | 60 requests / minute per IP |
| CORS | Open (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 /api | JSON 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.
{
"tool": "json",
"translator": "yaml",
"output": "a: 1\n",
"warning": "optional, only when the converter had a non-fatal note"
}| tool | string | Tool slug that handled the request. |
|---|---|---|
| translator | string | Translator slug. |
| output | string | The converted text. |
| warning | string? | 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.
{
"error": "Unknown converter \"json/foo\". See /api for the list.",
"tool": "json",
"translator": "foo"
}| 200 | Converted successfully. A non-fatal "warning" may be included. |
|---|---|
| 400 | Bad request: missing "input", or the JSON body is malformed. |
| 404 | Unknown converter. See GET /api for the list. |
| 413 | Input is larger than 100 KB. |
| 422 | The converter rejected the input. "error" holds the message. |
| 429 | Rate limit exceeded (60 requests/minute per IP). Wait and retry. |
| 500 | Unexpected 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_converters | List available converters. Optional tool (slug) and query (case-insensitive search). |
|---|---|
| convert | Run 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:
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.mdTips
- Discover converters instead of guessing slugs.
- Use
?format=textwhen you only need the converted text. - Treat
422as "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.