Context7
Up-to-date docs for AI agents
Descripción del creador (original en inglés)
Smart structured-data to TOON gateway: converts to TOON only when it saves LLM tokens.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"datoon": {
"command": "uvx",
"args": [
"datoon",
"mcp"
]
}
}
}Ejecuta esto en tu terminal
claude mcp add datoon -- uvx datoon mcpPégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"datoon": {
"command": "uvx",
"args": [
"datoon",
"mcp"
]
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"datoon": {
"type": "stdio",
"command": "uvx",
"args": [
"datoon",
"mcp"
]
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub andrii-su, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (1.9.1) llegó al registro hace 4 meses.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
En la misma categoría: Context7, Codebase Memory, Exa
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
datoon
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.
{"users":[
{"id":1,"name":"Ada","role":"admin"}, {"id":2,"name":"Lin","role":"analyst"}, {"id":3,"name":"Grace","role":"viewer"} ]}
users[3]{id,name,role}:
1,Ada,admin 2,Lin,analyst 3,Grace,viewer
{"decision":"convert","reason":"Estimated savings 44.19% (threshold 15.00%)."}
id,name,role
1,Ada,admin 2,Lin,analyst 3,Grace,viewer
datoon data.csv --report-stdout
Same result. Zero JSON serialization in your code.
{"config":{"debug":true},"tags":["a","b"]}
{"decision":"skip","reason":"No uniform object arrays found with at least 3 rows."}
No Node.js call. No silent corruption.
Same data. Right format. Always explained.
┌──────────────────────────────────────────────────┐
│ PAYLOAD SAVINGS (auto avg) ████░░░░░░ 28% │ │ PAYLOAD SAVINGS (agent skill) ████████░░ 62% │ │ DECISION ACCURACY ██████████ 100% │ │ HARMFUL CONVERSIONS BLOCKED ██████████ 100% │ └──────────────────────────────────────────────────┘
[!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.
# core (JSON, CSV, JSONL, XML — no extra deps)
uv add datoon pip install datoon
pip install "datoon[yaml]"
pip install "datoon[excel]"
pip install "datoon[columnar]"
pip install "datoon[numbers]"
pip install "datoon[tokens]"
pip install "datoon[mcp]"
pip install "datoon[all]"
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):
echo '{"users":[{"id":1,"name":"Ada"},{"id":2,"name":"Lin"},{"id":3,"name":"Grace"}]}' | datoon --report-stdout
CSV (auto-detected from extension):
datoon data.csv --report-stdout
JSONL:
datoon data.jsonl -o output.toon
YAML (requires `datoon[yaml]`):
datoon data.yaml --report-stdout
Parquet (requires `datoon[columnar]`):
datoon data.parquet --report ./report.json
Explicit format override:
datoon --format csv < data.csv --report-stdout
Force conversion (bypass gating — for experiments):
datoon data.json --force --report-stdout
JSON conversion:
from datoon import convert_json_for_llm, ConversionConfig, DatoonError
config = ConversionConfig(min_savings_ratio=0.15, max_depth=6, min_uniform_rows=3)
try: outcome = convert_json_for_llm(raw_json, config) except DatoonError as exc: raise
send_to_model(outcome.payload_text)
Any format via `read_tabular`:
import json
from pathlib import Path from datoon import read_tabular, convert_json_for_llm, ConversionConfig
rows = read_tabular("csv", text=csv_string)
rows = read_tabular("parquet", path=Path("data.parquet"))
json_text = json.dumps(rows, separators=(",", ":")) outcome = convert_json_for_llm(json_text, ConversionConfig()) send_to_model(outcome.payload_text)
Structure-only analysis (no Node.js required):
from datoon.analyzer import analyze_payload
from datoon.models import ConversionConfig
analysis = analyze_payload(parsed_data, ConversionConfig()) print(analysis.is_candidate, analysis.reason)
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:
{
"mcpServers": { "datoon": { "command": "uvx", "args": ["--from", "datoon[mcp]", "datoon", "mcp"] } } }
Run locally:
datoon mcp # or the standalone script: datoon-mcp
Listed on the MCP Registry, Smithery, and Glama. See MARKETPLACES.md.
Install directly from GitHub:
claude plugin marketplace add andrii-su/datoon
claude plugin install datoon@datoon
Trigger in-session:
/datoon
convert this JSON to TOON if it saves tokens use datoon mode for structured data
| Flag | Default | Description |
|---|---|---|
--format | auto | Input format: json, csv, jsonl, yaml, xml, excel, parquet, avro, orc, numbers |
--force | false | Bypass gating and minimum savings threshold |
--min-savings | 0.15 | Minimum relative token savings required |
--max-depth | 6 | Maximum nesting depth for auto-conversion |
--min-uniform-rows | 3 | Minimum rows in uniform object arrays |
--timeout | 30 | Seconds before TOON CLI call is aborted |
--report | — | Write JSON conversion report to file |
--report-stdout | — | Print JSON conversion report to stderr |
-o | stdout | Output file path |
--version | — | Print version and exit |
Format is auto-detected from file extension. Use --format to override or when reading from stdin.
PYTHONPATH=src python benchmarks/run.py --dry-run
PYTHONPATH=src python benchmarks/run.py PYTHONPATH=src python benchmarks/run.py --update-readme
Auto mode avoids low-benefit and high-risk payloads (orders-nested, mixed-non-uniform) while matching forced TOON's average token count on suitable ones. Every decision comes with a reasoned report.
| Scenario | JSON Baseline | Forced TOON | datoon Auto |
|---|---|---|---|
| Average tokens | 77 | 50 | 50 |
| Avg token saved | 0.0% | 26.8% | 28.1% |
| Decision quality | n/a | Converts all | Converts 3/5, skips harmful cases |
| Dataset | JSON | TOON (forced) | Raw Saved | Auto | Auto Tokens | Auto Saved |
|---|---|---|---|---|---|---|
| users-small | 54 | 40 | 25.9% | convert | 40 | 25.9% |
| events-medium | 219 | 162 | 26.0% | convert | 162 | 26.0% |
| orders-nested | 106 | 116 | -9.4% | skip | 106 | 0.0% |
| mixed-non-uniform | 35 | 47 | -34.3% | skip | 35 | 0.0% |
| metrics-wide | 142 | 103 | 27.5% | convert | 103 | 27.5% |
| Average | 111 | 94 | 7.1% | 3/5 convert | 89 | 15.9% |
*Forced conversion succeeded for 5/5 payloads.*
Token savings when converting from common structured formats (CSV, JSONL, XML, YAML). Baseline is the JSON representation of the same data — what an LLM would receive without datoon.
| Dataset | Format | JSON Tokens | TOON (forced) | Auto | Auto Tokens | Auto Saved | |
Solo se muestra el principio; lee el resto en el repo