- Toon Token Optimizer
Toon Token Optimizer
Reduce LLM token usage by 50-70% when sending structured data. TOON
(Token-Oriented Object Notation) converts JSON, CSV, XML, YAML, and HTML
tables to a compact header-based format. Save $489-$9,789 per 1M requests
depending on model.
Overview
TOON - Token Optimizer
Reduce LLM token usage by 50-70% when sending structured data.
What it does
Converts verbose data formats to compact TOON format:
Before (JSON - 1041 tokens): [{"id":1,"name":"Product A","price":99.99},{"id":2,"name":"Product B","price":149.99}]
After (TOON - 389 tokens): [id,name,price] 1,Product A,99.99 2,Product B,149.99
Tools
- toon_encode - Convert JSON/CSV/XML/YAML to TOON
- toon_decode - Convert TOON back to JSON
- toon_analyze - Show potential token/cost savings
- toon_optimize_prompt - Auto-optimize prompts with data
Supported Formats
JSON, CSV, TSV, XML, HTML tables, YAML
Cost Savings
| Model | Savings per 1M requests |
|---|---|
| GPT-4o-mini | $489 |
| GPT-4o | $8,158 |
| Claude Sonnet | $9,789 |
Links
Server Config
{
"mcpServers": {
"toon": {
"command": "npx",
"args": [
"-y",
"toon-mcp-server"
]
}
}
}Project Info
Created At
4 months agoUpdated At
4 months agoAuthor Name
elminsonStar
-Language
-License
-Recommend Servers
View AllShippo
@Shippo
21 hours ago
Filesystem
@modelcontextprotocol
2 months ago
mcp-server-flomo MCP Server
@chatmcp
Write notes to Flomo
JavaScript
a year ago