json-repair-mcp
v1.0.1Repairs malformed JSON from LLM output, validated against a schema.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
repair_json Repair & Validate JSON
Repairs malformed JSON text (trailing commas, single quotes, unquoted keys, missing braces, markdown-fenced LLM output, etc.) and optionally validates the result against a JSON Schema. This is a paid tool: requires a JSON_REPAIR_API_KEY environment variable obtained by visiting the /signup endpoint of the API once.
| Parameter | Type | Description |
|---|---|---|
input * | string | Raw, possibly malformed JSON text to repair. |
schema | object | Optional JSON Schema to validate the repaired output against. |