# Mend

> Mend is a free MCP server for developer tools. Repair broken JSON without changing values, find the exact error, query big payloads. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API
- **Website:** https://mend.clawhard.com
- **MCP Registry name:** com.clawhard/mend
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mend.clawhard.com/mcp
```

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/mend
