Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
com.tidybytetools/json-repair-liteFree: fix broken or cut-off JSON, like AI output. Runs on your computer. Hosted version on Apify.
No tool list is on record. This does not mean the server has no tools. Tools were not run.
Same catalog task: Connect APIs & services.
MCP server for using Alchemy APIs
Same catalog task: Connect APIs & services.
MCP server for using the AMap Maps API
Same catalog task: Connect APIs & services.
Official MCP server for Anytype API
Fetched from the repository for this visit.
Free tool that repairs broken or incomplete JSON, including output from language models. Runs offline. No API key.
Need it in the cloud with no install? The pay-per-use version is on Apify.
Input (this is not valid JSON: unquoted keys, single quotes, and a trailing comma):
{name: 'Ada', ok: true, trailing: 'comma',}
Output from an actual run of json-repair-lite:
{
"name": "Ada",
"ok": true,
"trailing": "comma"
}
Already-valid JSON is left alone and reported honestly as wasValid: true.

Plain code, not AI, so the same input always gives the same output. Runs on your own computer. MIT license. Works with Python 3.10 and newer, on Windows, Mac and Linux.
Also searched as: ES: reparar JSON, JSON roto / PT: reparar JSON / DE: JSON reparieren / FR: réparer un JSON cassé / JA: 壊れたJSONを修復
SKILL.md for Claude Code, Cursor and Codexpip install json-repair-lite
Or straight from GitHub: pip install git+https://github.com/tidybytetools/json-repair-lite
Or use pipx, which keeps it in its own space:
pipx install json-repair-lite
This also installs the json-repair library, which does the repair work, and the mcp package for the MCP server.
printf "{name: 'Ada', ok: true,}" | json-repair-lite
json-repair-lite broken.json
json-repair-lite data.jsonl --json-lines
json-repair-lite broken.json --json # {"ok": true, "count": 1, "failed": 0, "documents": [...]}
Without --json-lines, the whole text is tried as one JSON value first. If that cannot be repaired and there are several lines, each line is then tried on its own. With --json-lines, each non-empty line is its own document, and each result is printed as one line of JSON.
From Python:
from json_repair_lite import repair_one
repair_one("{name: 'Ada',}")["value"] # {'name': 'Ada'}
When you run it in a terminal it prints one short line about the Apify version to stderr after the result. It never goes into your JSON output, it only shows when you are looking at a terminal, and --quiet turns it off.
| lite (free, this repo) | Apify cloud version | |
|---|---|---|
| Repair broken or incomplete JSON | yes, on your computer | yes, in the cloud |
| JSON Lines | yes | yes |
| Fetch file links | no | yes |
| Many documents in one run | yes, from one file or stdin | yes, including file links |
| MCP server for local AI apps | yes | use Apify MCP for the cloud tool |
| Price | free | $0.001 per document, including JSON that was already valid. Empty input is free |
There is a small free MCP server built in. It gives your AI app two tools. Both only read. They never write or change files, and they never use the internet. It needs uv.
Run it by hand to check it starts (it waits quietly for an app to talk to it):
uvx json-repair-lite mcp
Claude Desktop (claude_desktop_config.json) or Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"json-repair-lite": {
"command": "uvx",
"args": ["json-repair-lite", "mcp"]
}
}
}
uvx --from json-repair-lite json-repair-lite-mcp starts the same server.
Tools:
repair_json_text(text, json_lines=false): for JSON in the chat.repair_json_file(path, json_lines=false): for a local .json or .jsonl file, up to 5 MB.For one document, both return {"wasValid", "repaired", "value", "text"}. For several documents, they return {"count", "failed", "documents": [...]}.
--json-lines.uvx json-repair-lite mcp gives two read-only tools, repair_json_text and repair_json_file.--json, one object: {"ok": true, "count": 1, "failed": 0, "documents": [...]}. On error ok is false. Exit code 0 ok, 1 error.llms.txt.pip install "mcp>=1.10,<2" "json-repair>=0.64.9,<1"
python3 -m unittest discover tests
The MCP tests are skipped if mcp is not installed.
What input does it take? One JSON value, or several JSON Lines. Text on stdin, or a local file.
Do my files leave my computer? No. The tool runs on your computer and never uses the internet.
Do you call an AI model? No. The repair runs offline.
How is this different from the Apify version? The Apify version runs in the cloud, can fetch file links, and is built for many documents in one run. This lite tool is free and local.
Does it work with AI apps? Yes. It includes a free MCP server. No API key.
MIT. See LICENSE.
Loading reviews...
GitHub freshness not yet checked. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.