JsonMend
Server Details
Repair broken JSON from LLM output and validate it against a JSON Schema.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 2 tools
repair_json and validate_json target clearly different outcomes: one returns repaired text/parsed value, the other returns schema validation errors. The descriptions explicitly clarify that validate_json can repair broken text on input, so the internal overlap is disclosed rather than confusing. An agent can select between them without ambiguity.
Both names follow a strict verb_noun snake_case pattern (repair_json, validate_json) using the same noun, so the convention is perfectly predictable. No mixed styles, casing, or verb forms appear.
Two tools is slightly thin, but the server's scope (a pure-computation JSON repair/validate utility) is narrow enough that both operations are the natural core. No tool feels redundant or filler.
Repair plus schema validation covers the main use cases for a JSON-fixing service, including NDJSON and coercion. Minor gaps exist (e.g. pretty-print/minify or JSON Pointer querying), but these are conveniences an agent can work around rather than dead ends.
Available Tools
2 toolsrepair_jsonRepair broken JSON (LLM output) and list the fixesARead-onlyIdempotentInspect
Turn broken or messy JSON text into valid JSON. Strips Markdown code fences and prose before/after the JSON, removes comments and trailing commas, converts single/curly quotes, quotes unquoted keys, maps Python None/True/False, inserts missing commas, closes truncated strings/arrays/objects, and wraps NDJSON / several concatenated objects into one array. Returns the parsed value (json), the repaired text, and the list of fixes applied; valid input passes through unchanged with no fixes. Optional schema (+ coerce) also validates the result. Fails with isError (code unrepairable / no_json_found) when nothing JSON-like can be recovered. Pure computation: read-only, no network access, inputs not stored. Same engine and limits as POST /api/v1/repair.
Inputs: input (required), draft, coerce, format, +1 more. Returns: ok, json, plan, fixes, +9 more
validate_jsonValidate JSON against a JSON Schema (repairs broken input first)ARead-onlyIdempotentInspect
Check JSON against a JSON Schema and get every error with its JSON Pointer path. Send the JSON either as text ("input"; broken text is repaired first, and the fixes are listed) or as an already-parsed value ("data"). Optional coerce converts "42" → 42, "true" → true, etc. toward the schema's types before validating and lists each change. A schema mismatch is a normal result (valid: false), not an error. Drafts 2020-12 (default), 2019-09, 7, 4; only local $refs. Pure computation: read-only, no network access, inputs not stored. Same engine and limits as POST /api/v1/validate.
Inputs: schema (required), data, draft, input, +1 more. Returns: ok, json, plan, draft, +10 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Repair broken LLM JSON and check it against a JSON Schema. Flags cut-off output. Free trial.
Repair malformed JSON from LLM/agent output; optional JSON Schema coercion. Free + x402 paid.
Repair malformed JSON that fails a schema. Deterministic only; refuses to guess; signed receipt.
Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, unquoted keys).
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides deterministic JSON repair and JSON Schema validation for malformed AI agent outputs, safely fixing unambiguous errors without an LLM and refusing ambiguous cases.30 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceDeterministic JSON validation and repair for AI agents. Validates, repairs, schema-checks, and diffs JSON so long-running agents don't corrupt their session state with malformed writes.MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables agents and MCP clients to deterministically extract and repair JSON/schema issues such as truncated braces, markdown wrappers, and invalid types without LLM round-trips.-
- FlicenseNot gradedqualityBmaintenanceEnables MCP-compatible agents and IDEs to deterministically extract JSON and auto-repair malformed schemas, including truncated braces, markdown wrappers, and invalid types, without LLM round-trips.7-
Glama MCP Gateway
Add one secure layer between your agents and this server.