Feedback

Basic information

Runtime
TypeScript
Version
0.1.0
Category
License
Not specified
Transports
stdio
Author
shoggi211
Submitted by
Community
Quality
15
Stars
1

About Jsonaut MCP Server

Repair malformed JSON from LLM tool calls and agent-to-agent handoffs — fixes trailing commas, single quotes, truncation, markdown code fences, comments, and python literals, and can validate/coerce the result against a JSON Schema. Free deterministic tier; pay-per-call LLM fallb

Jsonaut is a MCP server in the AI & Agents category listed in the AddMCP.net directory, published by shoggi211. It exposes 4 tools, including repair_json, validate_json, extract_json, infer_schema. Supported transport: stdio. Runtime: TypeScript. The repository has 1 GitHub stars. Source code is hosted on github.com.

Setup

claude mcp add jsonaut --transport http https://jsonaut.jsonaut-shaurya.workers.dev/mcp

Jsonaut MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Jsonaut MCP Server tools

  • repair_json — 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).
    input:string*, schema:object, allow_llm_fallback:boolean
  • validate_json — Validate a JSON string against a JSON Schema. Free. Returns validity and a list of violations.
    input:string*, schema:object*
  • extract_json — 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.
    input:string*, schema:object, allow_llm_fallback:boolean
  • infer_schema — 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.
    input:string*, as_samples:boolean

Overview

What is Jsonaut?

Jsonaut is a tool that repairs malformed JSON produced by LLM tool calls and agent-to-agent handoffs. It fixes issues like trailing commas, single quotes, truncation, markdown code fences, comments, and Python literals, and can validate/coerce the result against a JSON Schema. It is built for developers working with LLM-generated JSON that needs to be clean.

How to use Jsonaut?

You can use Jsonaut via its MCP server (exposing repair_json and validate_json tools), its REST API, or by installing its local-first npm or Python client libraries. Most JSON fixes happen deterministically without external calls.

Key features of Jsonaut

  • Repairs common JSON malformations from LLM output (trailing commas, single quotes, truncation, etc.)
  • Validates and coerces results against a JSON Schema
  • Free deterministic tier for most fixes
  • Pay-per-call LLM fallback via x402 (USDC on Base)
  • Exposes MCP endpoints (repair_json, validate_json), REST API, and local npm/Python clients

Use cases of Jsonaut

  • Cleaning malformed JSON from LLM tool call responses
  • Fixing JSON during agent-to-agent handoffs
  • Ensuring LLM-generated JSON conforms to a specified JSON Schema
  • Adding a recovery layer in LLM pipelines without full retries

Frequently asked questions

1 What types of JSON issues does Jsonaut fix?

It corrects trailing commas, single quotes, truncations, markdown code fences, comments, and Python literals in JSON output from LLMs.

2 Is there a free tier?

Yes, a free deterministic tier handles most fixes locally without any payment. A paid LLM fallback is available via x402 (USDC on Base) for edge cases.

3 How can I access Jsonaut?

Jsonaut is available as an MCP server, a REST API, and as local-first npm or Python client libraries.

4 Does Jsonaut require an internet connection?

The deterministic tier works offline with the local npm/Python clients. The LLM fallback (x402) requires an internet connection and a USDC payment on Base.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬