Mend
Server Details
Repair broken JSON without changing values, find the exact error, outline or query big payloads.
- 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 3 tools
Each tool targets a distinct stage of a JSON workflow: repair broken text, outline the structure, then query specific paths. The descriptions even cross-reference each other (outline explicitly says 'Follow with mend_query_json'), making the intended sequence unambiguous.
All three follow the same mend_<verb>_json pattern (mend_repair_json, mend_outline_json, mend_query_json), with the verb in the middle and a consistent resource suffix. No camelCase/snake_case mixing or stray verb styles.
Three tools is on the lean side but each earns its place and maps cleanly to one job in the JSON-reading pipeline. A slightly broader set (e.g. a format/validate-only variant) would round it out, but nothing here is redundant.
The repair → outline → query lifecycle covers the core read-and-extract workflow for large or malformed JSON. Minor gaps exist: no tool to write the extracted or repaired result back out, and no schema validation or diffing, but these are workarounds an agent can handle.
Available Tools
3 toolsmend_outline_jsonOutline the structure of a large JSON payloadARead-onlyIdempotentInspect
Use when you are about to read a big JSON response, log or export into context, before loading it: returns a compact outline of the structure (keys, types, array lengths, one example per repeated shape) so you can plan a query without spending tokens on the whole document. Repairs the JSON first if needed. Follow with mend_query_json to pull only the values you need. Up to 100,000 characters.
Inputs: text (required), max_depth, max_items.
mend_query_jsonExtract values from JSON by pathARead-onlyIdempotentInspect
Use when you need specific fields from a JSON document without reading all of it: $.users[0].name, $.items[*].id, $.a.b[-1], $.list[1:3], $..email (recursive). Returns each match with its exact path, type and value. Repairs the JSON first if needed, so broken input still works. Up to 100,000 characters.
Inputs: path (required), text (required), max.
mend_repair_jsonRepair broken or LLM-generated JSONARead-onlyIdempotentInspect
Use when JSON from an LLM, API, log, config or copy-paste fails to parse (JSON.parse error, "Unexpected token", "Expecting property name"), or the user pastes JSON with trailing commas, single quotes, unquoted keys, comments, Python True/False/None, NaN, missing commas or brackets, a ```json fence, text around it, or output that was cut off. Deterministic repair: returns valid, formatted JSON plus a list of every fix with line and column. Values are never rewritten, so big numbers, number formatting and key order stay exactly as written. If the text is already valid it says so. Up to 100,000 characters.
Inputs: text (required), indent, sort_keys.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Repair malformed JSON from LLM/agent output; optional JSON Schema coercion. Free + x402 paid.
Repair broken LLM JSON and check it against a JSON Schema. Flags cut-off output. Free trial.
Repair malformed JSON that fails a schema. Deterministic only; refuses to guess; signed receipt.
Remote MCP: JSON repair, JSON Schema validation, JSON to TypeScript, CSV to JSON and JSON to CSV.
Related MCP Servers
- AlicenseAqualityBmaintenanceFree local tool and MCP server that repairs broken or incomplete JSON, including language-model output, offline with no API key.2MIT
- 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
- 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 gradedqualityCmaintenanceEnables AI agents to deterministically repair malformed JSON from LLMs, validate JSON data against a JSON Schema, and test regex patterns locally without API keys or network calls.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.