# MCP JSON Sanitizer

> Use this tool when you need to repair and validate malformed JSON strings for seamless agent workflow integration. It solves common formatting issues such as code fences, smart quotes, and missing brackets, ensuring reliable data parsing. By sanitizing JSON inputs, it provides a clean and standardized output for further processing and analysis.

Canonical page: https://skillsregistry.net/skills/mcp-tools-edge-mcp-json-sanitizer  
JSON: https://api.skillsregistry.net/v1/skills/mcp-tools-edge-mcp-json-sanitizer

## Description

Enables repair of malformed JSON strings into valid JSON for agent workflows by fixing common LLM formatting issues. Supports cleanup of code fences, smart quotes, unquoted keys, trailing commas, and missing brackets to ensure reliable data parsing.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-04-20

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/z5hhj9epmm)
- **Repository:** <https://github.com/MCP-TOOLS-EDGE/mcp-json-sanitizer>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "mcp-tools-edge-mcp-json-sanitizer"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/mcp-tools-edge-mcp-json-sanitizer` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/mcp-tools-edge-mcp-json-sanitizer/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
