jsonaut

Repair malformed JSON from LLM/agent output; optional JSON Schema coercion. Free + x402 paid.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
100%
Calidad de los nombres
85%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~528Tokens (definiciones de herramientas)
~845 BTamaño de respuesta típico
Impacto mínimo en la atención (0.41% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "jsonaut": {
      "url": "https://jsonaut.jsonaut-shaurya.workers.dev/mcp"
    }
  }
}

Puntos de conexión remotos

https://jsonaut.jsonaut-shaurya.workers.dev/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (4)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
⚪repair_json(input, schema, allow_llm_fallback)

Repair malformed JSON (trailing commas, single quotes, truncation, markdown fences, comments, python literals) and optionally validate/coerce it against a JSON Schema. Deterministic repair is free. If it fails and allow_llm_fallback is true, a paid LLM repair is attempted (requires x402 payment; charged only on success).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "The possibly-malformed JSON text"
    },
    "schema": {
      "type": "object",
      "description": "Optional JSON Schema the output must conform to"
    },
    "allow_llm_fallback": {
      "type": "boolean",
      "default": false,
      "description": "Permit the paid LLM repair tier"
    }
  },
  "required": [
    "input"
  ]
}
🟢validate_json(input, schema)

Validate a JSON string against a JSON Schema. Free. Returns validity and a list of violations.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "The JSON text to validate"
    },
    "schema": {
      "type": "object",
      "description": "The JSON Schema to validate against"
    }
  },
  "required": [
    "input",
    "schema"
  ]
}
🟢extract_json(input, schema, allow_llm_fallback)

Extract JSON embedded in arbitrary text — LLM prose, chat messages, logs, emails — then repair and validate it. Deterministic extraction is free. If no JSON can be located and allow_llm_fallback is true, a paid LLM extracts structured data from the text (requires x402 payment; charged only on success). Pass a JSON Schema to shape the output.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "Text that may contain JSON"
    },
    "schema": {
      "type": "object",
      "description": "Optional JSON Schema the output must conform to"
    },
    "allow_llm_fallback": {
      "type": "boolean",
      "default": false,
      "description": "Permit the paid LLM extraction tier"
    }
  },
  "required": [
    "input"
  ]
}
🟡infer_schema(input, as_samples)

Infer a JSON Schema (draft 2020-12) from an example JSON value. Free and deterministic. Set as_samples=true when the input is an array of example objects of the same shape to merge them into one schema. Turns sample agent/tool output into a reusable schema.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "A JSON value (or array of samples) to infer a schema from"
    },
    "as_samples": {
      "type": "boolean",
      "default": false,
      "description": "Treat a top-level array as multiple samples of one shape"
    }
  },
  "required": [
    "input"
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas