MCP tool reference · #669 of 735 by publishers
json_repair
Exposed by 8 servers from 8 publishers, read from the live servers by the Serverdex check; most of them sit in APIs & Integrations; 75% of them take a text parameter; the most-starred is Agent Data Tools: Utilities (1 stars).
json_repair(text: string, schema?: object, …)Parameters
share = % of the 8 servers whose schema has it · required = % of those that mark it required| Parameter | Type | Share | Required | Usual description |
|---|---|---|---|---|
| text | string | 75% | 83.3% | the broken JSON text |
| schema | object | 37.5% | 33.3% | A JSON Schema (draft 2020-12) object the result must conform to. |
| input | string | 12.5% | 100% | Malformed JSON text to repair, e.g. {'hello':'world',} |
| json | string | 12.5% | 100% | The raw, possibly-malformed JSON text to repair. |
| x_payment | string | 12.5% | 0% | x402 payment payload (base64) for this PAID check. If supplied it is forwarded as the X-PAYMENT header to settle the call and return the real result instead of |
Source: the input schema each server returns for json_repair, aggregated over the 8 index-tier servers; type and description are the values most servers use. Rebuilt every 6 hours.
Servers with json_repair
8 of 8 · 8 publishers · 8 answering live · most-starred first, 3 per publisher| # | Server | Publisher | Category | ★ | Live | How it describes json_repair |
|---|---|---|---|---|---|---|
| 1 | Agent Data Tools: Utilitiesnutshell2000 · Data & Analytics | nutshell2000 | Data & Analytics | 1 | yes | Fix JSON as LLMs often write it: removes ```json fences and surrounding prose, comments and trailing commas, converts single quotes, quotes bare keys, maps True/False/None, and closes unclosed brackets. Returns the repaired JSON and whether it now parses. Use when an LLM's JSON output fails to parse. Example: text=```json {name: 'Ada', tags: ['x',],} ```. Price $0.01/call via x402 USDC or a card k |
| 2 | Tidy Byte Tools APItidybytetools · APIs & Integrations | tidybytetools | APIs & Integrations | — | yes | Fix broken or incomplete JSON, including text from language models. |
| 3 | API Routerinstinctagentai · APIs & Integrations | instinctagentai | APIs & Integrations | — | yes | Repairs broken JSON (code fences, comments, trailing commas, single quotes, bare keys, truncation) and returns parsed JSON. Optionally validates against a JSON Schema subset. Deterministic, no limit stated beyond request size. |
| 4 | mechacutmechacut · Developer Tools | mechacut | Developer Tools | — | yes | Repair broken JSON text deterministically (markdown fences, BOM, smart/single quotes, comments, bare keys, trailing commas, Python literals, JSONL). Returns the parsed value + repairs applied. Free. |
| 5 | SiteCheckbck-stack · Crypto & Web3 | bck-stack | Crypto & Web3 | — | yes | Repairs broken JSON: markdown fences, comments, trailing commas, single quotes, unquoted keys, Python literals (True, False, None) and truncated endings. Pure code first; the model is asked once only when code cannot repair it. Optional JSON Schema check covers type, required, properties, items, enum, minimum, maximum, minLength, maxLength and pattern. Input max 1 MB. Related tools on this server, |
| 6 | FabTally Guardzvmzaretsky · Other | zvmzaretsky | Other | — | yes | PAID $0.002 (x402, USDC on Base). Coerce near-miss LLM JSON to a JSON-Schema-conformant object: strip code fences/prose, fix trailing commas/quotes/unquoted keys, normalise Python literals, balance brackets, then coerce types, apply defaults, and drop extraneous keys. Returns the repaired object OR precise per-field errors. Args: json (the raw string), schema (a JSON Schema object). Without paymen |
| 7 | Agent Utility Network (AveDaris)schednestceo · Search & Web | schednestceo | Search & Web | — | yes | Repair common malformed JSON (single quotes, trailing commas, unquoted keys) and return valid structured JSON. Paid: $0.005 USDC per call via x402 on Base. Calling without payment returns the payment requirement; invalid input is not charged. |
| 8 | Grokzilla micro paynicsins · Security & Identity | nicsins | Security & Identity | — | yes | Repair malformed or truncated JSON from LLMs, JS or Python: strips ```json fences and comments, fixes trailing commas, single quotes, unquoted keys, True/False/None, missing commas and unclosed strings/brackets. Returns the parsed JSON, a compact repaired JSON string and the list of fixes. Deterministic, no network. Price $0.0041 via x402. |
Stars from GitHub as stored in the Serverdex index (re-read every 7 days per server); live = answered the last daily check of its hosted endpoint.