Skip to content
MCP server

Mend

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

Install
Pricing
Free
Platforms
Web, API
Runs
Remotely
Version
1.1.0
Listing updated
2 days ago

About Mend

Mend is a free MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Mend handles JSON that will not parse, such as output from a model or a log. It fixes trailing commas, single quotes, unquoted keys, comments, Python True and None, NaN, missing commas and brackets, a ```json fence, chatter around the JSON and output cut off mid-value. Each fix is listed with its line and column.

The point of a repair tool over asking a model is that it only changes syntax. Strings and numbers stay as written, including huge numbers and trailing zeros, and key order is kept unless you ask to sort. When output is truncated, Mend closes open strings, arrays and objects and warns that the last value may be incomplete.

Over MCP there are three tools: mend_repair_json (which also validates), mend_outline_json and mend_query_json, with paths such as $.a.b, [0], [-1], [1:3], [*] and $..key for pulling parts out of large payloads. The web page runs in your browser; the API and MCP tools process what you send and, the site says, do not store it. No key or login.

Install

Run in a terminal

claude mcp add --transport http mend https://mend.clawhard.com/mcp

Add to Settings → Connectors → Add custom connector

https://mend.clawhard.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mend": {
      "url": "https://mend.clawhard.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mend": {
      "type": "http",
      "url": "https://mend.clawhard.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

mend_repair_json
Repairs and validates broken JSON without changing values
mend_outline_json
Outlines the structure of a large JSON payload
mend_query_json
Queries a large JSON payload by path

What it does

Syntax-only repair
Fixes commas, quotes, comments, fences and Python literals while leaving values intact.
Error location
Reports where invalid JSON breaks, with line and column.
Truncation handling
Closes cut-off JSON and warns the last value may be incomplete.
Outline and query
Summarizes the shape of large JSON and extracts parts by path.
No account
Free web page, API and MCP endpoint without a key.

Good for

  • Fix JSON from a chatbot that came wrapped in a code fence
  • Find why JSON.parse reports an Unexpected token
  • Recover truncated model output
  • Pull one field out of a very large payload without loading it all

Pricing

Free

No account or key needed

Prices change. Check mend.clawhard.com before you buy.

Mend FAQ

Does Mend change my data?

No. It fixes syntax only; strings and numbers are kept exactly and key order is preserved unless you ask to sort.

Is my JSON uploaded?

The web page runs in your browser. The API and MCP tools process what you send and do not store it.

What if my JSON was cut off?

Mend closes open strings, arrays and objects so the result parses, and warns about the last value.

Which MCP tools exist?

mend_repair_json, mend_outline_json and mend_query_json.

Is Mend free?

Yes. Mend is free to use.

How do I add Mend to Claude Code?

Run this command in your terminal: claude mcp add --transport http mend https://mend.clawhard.com/mcp

What are the best alternatives to Mend?

The closest alternatives to Mend are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Mend

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools