FixMyJSON
Repair broken LLM JSON and check it against a JSON Schema. Flags cut-off output. Free trial.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"fixmyjson": {
"url": "https://fixmyjson-api.onrender.com/mcp"
}
}
}远程端点
https://fixmyjson-api.onrender.com/mcpstreamable-http它能做什么
工具清单
工具(1)
🟢repair_json(data, schema)
Repair malformed JSON produced by an LLM or agent (trailing commas, missing quotes, code fences, chatty text around the JSON, <think> blocks, double-encoded JSON) and check the result against a JSON Schema. Returns the repaired value, what was changed, what could not be fixed (unresolved_errors), and `truncated: true` when the input looks cut off (e.g. by a token limit) so you can retry instead of trusting it. It never invents missing data. Free trial, no signup: 20 calls per client per day, 20000 characters per call.
输入模式
{
"type": "object",
"properties": {
"data": {
"description": "The raw model output (a string), or an already-parsed object/array."
},
"schema": {
"type": "object",
"description": "A JSON Schema (draft 2020-12) describing the desired shape."
}
},
"required": [
"data",
"schema"
]
}社区
证据