Skip to content
MCP server

Json Repair MCP

Repairs malformed JSON from LLM output, validated against a schema. Paid per call via…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
6 days ago

About Json Repair MCP

Json Repair MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Repairs malformed JSON from LLM output, validated against a schema. Paid per call via Stripe.

Install

Run in a terminal

claude mcp add json-repair-mcp --env JSON_REPAIR_API_KEY='<JSON_REPAIR_API_KEY>' -- npx -y json-repair-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "json-repair-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "json-repair-mcp"
      ],
      "env": {
        "JSON_REPAIR_API_KEY": "<JSON_REPAIR_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "json-repair-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "json-repair-mcp"
      ],
      "env": {
        "JSON_REPAIR_API_KEY": "<JSON_REPAIR_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "json-repair-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "json-repair-mcp"
      ],
      "env": {
        "JSON_REPAIR_API_KEY": "<JSON_REPAIR_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "json-repair-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "json-repair-mcp"
      ],
      "env": {
        "JSON_REPAIR_API_KEY": "<JSON_REPAIR_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "json-repair-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "json-repair-mcp"
      ],
      "env": {
        "JSON_REPAIR_API_KEY": "<JSON_REPAIR_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • JSON_REPAIR_API_KEYAPI key obtained by visiting https://json-repair-api-9ybv.onrender.com/signup (Stripe Checkout, one-time signup).Required
  • JSON_REPAIR_API_URLBase URL of the hosted API. Defaults to the production endpoint if unset.

Pricing

Open source

Json Repair MCP FAQ

Is Json Repair MCP free?

Yes. Json Repair MCP is open source, so you can use and self-host it for free.

How do I add Json Repair MCP to Claude Code?

Run this command in your terminal: claude mcp add json-repair-mcp --env JSON_REPAIR_API_KEY='<JSON_REPAIR_API_KEY>' -- npx -y json-repair-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers