TOON MCP Server
A remote MCP server at https://json2toon.co/api/mcp with two tools, json_to_toon and toon_to_json. Add the URL to ChatGPT, Claude, Cursor or VS Code and convert inside the chat. Free, nothing to install, no API key.
What it does
json2toon.co runs a remote Model Context Protocol (MCP) server. Once you connect it, your AI assistant can convert data to TOON, a format that uses about 43% fewer tokens than JSON on average, and decode it back. It is useful when you are preparing prompts, fixtures or RAG context and want the compact version without leaving the chat.
Endpoint (Streamable HTTP, no authentication):
https://json2toon.co/api/mcpTools
json_to_toon: converts a JSON document to TOON. Optionaldelimiter:comma(default),taborpipe.toon_to_json: decodes TOON back to pretty-printed JSON.
For example, ask “convert this JSON to TOON” with:
{"users":[{"id":1,"name":"Ann","role":"admin"},{"id":2,"name":"Bob","role":"user"}]}and the tool returns:
users[2]{id,name,role}:
1,Ann,admin
2,Bob,userEach result also includes a link that opens the same data in the online converter, where you can compare token counts across formats. To estimate savings and cost per million calls, use the TOON token calculator. Prefer converting outside the chat? The TOON Chrome extension converts selected text on any page.
Building your own server? See building an MCP server that returns TOON, structuredContent vs text content and MCP vs A2A. For when TOON helps an agent and when it does not, read is TOON safe for AI agents.
Setup
ChatGPT
Settings → Apps → Advanced settings → turn on Developer mode. Then create an app, paste the URL below and choose no authentication.
https://json2toon.co/api/mcpClaude (claude.ai and desktop)
Settings → Connectors → Add custom connector, and paste the URL.
https://json2toon.co/api/mcpClaude Code
Run this in your terminal:
claude mcp add --transport http json2toon https://json2toon.co/api/mcpCodex CLI
Add this to ~/.codex/config.toml:
[mcp_servers.json2toon]
url = "https://json2toon.co/api/mcp"Cursor
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in your project):
{
"mcpServers": {
"json2toon": { "url": "https://json2toon.co/api/mcp" }
}
}VS Code
Add this to .vscode/mcp.json:
{
"servers": {
"json2toon": { "type": "http", "url": "https://json2toon.co/api/mcp" }
}
}Menu names in ChatGPT and Claude change from time to time. If a step does not match what you see, look for “connectors”, “apps” or “MCP” in the settings.
Limits and privacy
Unlike the web converter, which runs in your browser, MCP conversions run on our server, because that is how remote MCP works. Input is converted in memory and is not stored. For bulk or automated conversion, use the TOON API or the TOON library directly. See the privacy policy for details.