Smart structured-data to TOON gateway: converts to TOON only when it saves LLM tokens.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
smart structured-data→TOON gateway — converts only when it actually saves tokens
Before/After • Install • What You Get • How It Works • Benchmarks • Full install guide
Raw structured data is often verbose in LLM prompts. TOON can save tokens — but blind conversion can also make payloads worse. datoon adds a decision layer: convert when structure and savings justify it, skip when they don't, and always explain why.
Supports JSON, CSV, JSONL, YAML, XML, Parquet, Avro, ORC, Excel, and Apple Numbers — auto-detected from file extension.
JSON in the prompt (43 tokens) |
datoon converts → TOON (24 tokens) |
CSV from a data pipeline (111 tokens as JSON) |
datoon auto-converts → TOON (24 tokens)Same result. Zero JSON serialization in your code. |
Non-uniform payload (26 tokens) |
datoon skips → keeps JSONNo Node.js call. No silent corruption. |
Same data. Right format. Always explained.
[!IMPORTANT] datoon saves payload tokens — the structured data portion of your prompt. Token savings depend on payload shape: uniform tabular data converts well; deeply nested or non-uniform structures are skipped. Every decision includes a reason so pipelines can log, debug, and trust the outcome.
Requires Python 3.12+. TOON conversion requires Node.js with npx in PATH — analysis and format reading work without it.
For Claude Code plugin, Codex, and MCP config → INSTALL.md.
| What | |
|---|---|
datoon CLI | Auto-gate any supported format → TOON from terminal or scripts |
| Python API | convert_json_for_llm() + read_tabular() for any LLM pipeline |
| MCP Server | convert_json, convert_text, analyze_json tools for Claude Desktop, Cursor, Windsurf |
| Claude Code Plugin | /datoon in-session trigger, installs from GitHub in one command |
| Codex Plugin | Marketplace plugin — structured-data mode for Codex |
| Format | Extension | Extra needed |
|---|---|---|
| JSON | .json | — |
| JSONL | .jsonl, .ndjson | — |
| CSV | .csv | — |
| XML | .xml | — |
| YAML | .yaml, .yml | datoon[yaml] |
| Excel | .xlsx, .xls | datoon[excel] |
| Parquet | .parquet | datoon[columnar] |
| Avro | .avro | datoon[columnar] |
| ORC | .orc | datoon[columnar] |
| Apple Numbers | .numbers | datoon[numbers] |
--format flag, file extension, or default to JSON for stdinEvery path returns a ConversionReport with decision, reason, and token estimates. Pipelines never get silent surprises.
JSON (stdin):
CSV (auto-detected from extension):
JSONL:
YAML (requires datoon[yaml]):
Parquet (requires datoon[columnar]):
Explicit format override:
Force conversion (bypass gating — for experiments):
JSON conversion:
Any format via read_tabular:
Structure-only analysis (no Node.js required):
datoon ships an MCP server with three tools:
| Tool | Description |
|---|---|
convert_json | Full JSON conversion with policy gating |
convert_text | Converts CSV, YAML, XML, or JSONL text with policy gating |
analyze_json | Structure analysis only — no Node.js needed |
Claude Desktop / Cursor / Windsurf config:
Run locally:
Listed on the MCP Registry, Smithery, and Glama. See MARKETPLACES.md.
Install directly from GitHub:
Trigger in-session:
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/datoon)<a href="https://allmcps.com/mcp/datoon"><img src="https://allmcps.com/api/badge/datoon?style=directory" alt="Datoon on AllMCPs" /></a>