Jsonaut

by shoggi211

262 downloads
Not rated
GitHub

About

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

Details

Author
shoggi211
Downloads
262
Categories
AI

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Jsonaut
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

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 fallback via x402 (USDC on Base). Exposes an MCP endpoint (repair_json, validate_json), a REST API, and local-first npm/Python clients that fix most JSON offline.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.