Agent♥︎Age
Catalog

io.github.shoggi211/jsonaut

Official4 toolsLive

by shoggi211 · TypeScript

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

io.github.shoggi211/jsonaut (MCP) Server

The MCP server io.github.shoggi211/jsonaut repairs malformed JSON produced by LLMs or agents and returns parsed, schema-valid JSON. It supports optional JSON Schema coercion to adjust types and values. The service offers both a deterministic repair tier and an additional paid LLM-fallback for harder cases.

🛠️ Key Features

  • Repairs malformed JSON from LLM/agent output
  • Optional JSON Schema validation and type coercion
  • Deterministic fixes (e.g., trailing commas, single quotes, truncation, code fences, comments, Python literals)
  • Rate-limited per IP for the free tier
  • Paid fallback repair ($0.01/call), charged only on success
  • Tool count: 4

🚀 Use Cases

  • Parsing LLM tool-call output with malformed JSON
  • Validating and coercing JSON from another agent
  • Handling flaky upstream responses requiring JSON correction

⚡ Developer Benefits

  • Get parsed JSON suitable for downstream processing
  • Schema validation with type coercion (e.g., string→number, defaults)
  • Strips hallucinated fields via schema-driven coercion

⚠️ Limitations

  • Deterministic repair cannot fix inputs requiring LLM-fallback
  • Free tier is rate-limited per IP
  • Paid tier applies only when deterministic repair fails and is charged only on success