JSONShelf
jsonshelf
Reparación, validación, generación de ejemplos y coerción de esquemas JSON deterministas para agentes de IA. Cero llamadas a LLM. Menos de 10 ms. 0,0005 $ por llamada. Solo para agentes.
Endpoint en vivo: https://jsonshelf.vercel.app/
curl https://jsonshelf.vercel.app/ devuelve un manifiesto completo legible por máquina. Sin HTML. Sin humanos.
Qué hace
Cuatro herramientas, todo cómputo puro, 100% determinista:
Endpoint | Propósito |
| Corregir JSON mal formado. Esquema opcional al que ajustarse. |
| Validar JSON contra un esquema. Devuelve errores estructurados con campos |
| Generar un ejemplo válido mínimo a partir de un esquema JSON. |
| Conversión flexible de valores para que coincidan con un esquema (p. ej., |
Cada respuesta de error incluye { error, code, message, fix, docs, http_status }: los agentes nunca tienen que adivinar.
Descubrimiento (no se requieren humanos)
GET /.well-known/ai-plugin.json— Manifiesto del plugin de OpenAIGET /.well-known/mcp.json— Manifiesto del servidor MCPGET /llms.txt— Documentación legible por máquinaGET /openapi.json— Especificación OpenAPI 3.1GET /v1/pricing— Precios legibles por máquinaGET /v1/errors— Catálogo completo de errores
Autenticación
# 1. Issue a key (100 free credits)
curl -X POST https://jsonshelf.vercel.app/v1/keys
# 2. Use the key
curl -X POST https://jsonshelf.vercel.app/v1/repair \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"input":"{name:\"alice\", skills:[\"code\",]}"}'Facturación
Créditos prepagados. Un único POST devuelve una URL de pago que el agente sigue de forma autónoma:
curl -X POST https://jsonshelf.vercel.app/v1/credits \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"pack":"starter"}'Devuelve { payment_url, x402: { ... } }. Los encabezados x402 se emiten para clientes compatibles con el protocolo.
MCP
Úselo a través de HTTP en https://jsonshelf.vercel.app/mcp (JSON-RPC 2.0, versión de protocolo 2024-11-05). Cuatro herramientas: jsonshelf_repair, jsonshelf_validate, jsonshelf_example, jsonshelf_coerce.
Licencia
Apache 2.0.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Related MCP Connectors
Repair malformed JSON from LLM/agent output; optional JSON Schema coercion. Free + x402 paid.
Repair broken LLM JSON and check it against a JSON Schema. Flags cut-off output. Free trial.
300+ deterministic data utilities for AI agents: validate, normalize, parse, match, redact.
Turn messy text into strict JSON schemas agents can trust (invoice, receipt, contact, resume).