Skip to main content
MCP server CX Codex

jsonaut — Claude Code MCP server: JSON repair and setup

jsonaut repairs malformed JSON returned by AI tools and checks data against JSON Schema. Use it when an agent receives broken or incomplete JSON.

no license 688 installs updated 2026-07-02

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http jsonaut https://jsonaut--progamerplayzyt97.run.tools
Open on GitHub

What jsonaut does

The server can fix extra commas, single-quoted strings, comments, Python literals, Markdown wrappers, and truncated input. Its repair_json tool can also check the result against a JSON Schema and coerce it to match. The separate validate_json tool checks a JSON string and returns any violations.

Deterministic repair and validation are free. If repair fails, you can allow a paid language-model fallback, which uses x402 payment in USDC on Base. That fallback requires payment; the deterministic attempt remains free. The server connects over HTTP. For Claude Code, add it with claude mcp add --transport http jsonaut https://jsonaut--progamerplayzyt97.run.tools.

What it helps with

  • repair JSON with single quotes or extra commas
  • recover truncated tool output
  • strip comments and Markdown wrappers from JSON
  • check output against a JSON Schema

Example prompts for the agent

  • Repair this JSON and return valid output.
  • Check this JSON against the schema and list any violations.
  • Try to recover this truncated tool response; allow the paid fallback.

How to install jsonaut

Platform CLI: remote server

claude mcp add --transport http jsonaut https://jsonaut--progamerplayzyt97.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about jsonaut

How do I install jsonaut in Claude Code?

Run claude mcp add --transport http jsonaut https://jsonaut--progamerplayzyt97.run.tools. This registers the server over HTTP.

What does jsonaut do?

It repairs common JSON formatting problems and can check the result against a JSON Schema. Its validation tool returns a list of violations.

Does jsonaut require payment to repair JSON?

Deterministic repair is free. The paid language-model fallback requires x402 payment in USDC on Base.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open