Mend

Repair broken JSON without changing values, find the exact error, outline or query big payloads.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
100%
Qualität der Benennung
80%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~806Tokens (Tool-Definitionen)
~1.3 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (0.63% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "mend": {
      "url": "https://mend.clawhard.com/mcp"
    }
  }
}

Remote-Endpunkte

https://mend.clawhard.com/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (3)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢mend_repair_json(text, indent, sort_keys)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100000,
      "description": "The broken JSON, or any text that contains JSON (a chat reply, a log line, a code block)."
    },
    "indent": {
      "type": "integer",
      "minimum": 0,
      "maximum": 8,
      "description": "Spaces per indent level in the output. Default 2. Use 0 for one minified line."
    },
    "sort_keys": {
      "type": "boolean",
      "description": "Sort object keys alphabetically. Default false (keep the original order)."
    }
  },
  "required": [
    "text"
  ]
}
🟢mend_outline_json(text, max_depth, max_items)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100000,
      "description": "The JSON (or JSON-ish text)."
    },
    "max_depth": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "description": "How many levels to expand. Default 4."
    },
    "max_items": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "description": "How many array items to show when items differ. Default 6."
    }
  },
  "required": [
    "text"
  ]
}
🟢mend_query_json(text, path, max)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100000,
      "description": "The JSON (or JSON-ish text)."
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300,
      "description": "Path such as $.users[*].email, data.items[0], $..id, $.list[-1], $.list[1:3]."
    },
    "max": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "description": "Maximum matches to return. Default 50."
    }
  },
  "required": [
    "text",
    "path"
  ]
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet3 Tools