JSON5 Resilient Parser

JSON5 Resilient Parser MCP Connector for Claude

A+

Parse malformed JSON with trailing commas, comments, and single quotes into perfect strict JSON. Powered by JSON5 (32M+ weekly downloads).

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

LLMs consistently generate JSON with trailing commas, inline comments, and single quotes. JSON.parse() breaks every time. This MCP catches it all and outputs perfect RFC 8259 JSON.

The Superpowers

  • Resilient: Accepts trailing commas, comments (// and /**/), single quotes, unquoted keys, hex numbers, and Infinity/NaN.
  • Strict Output: Always returns valid RFC 8259 JSON that any parser can consume without modification.
json5data-parsingresilient-parsingconfig-filesdata-conversion

1 tools expose this connector's capabilities to your AI agent.

parse_json5

parse(). The engine accepts any JSON5-compliant string and returns strict RFC 8259 JSON. Essential for cleaning LLM-generated configs. Parses malformed JSON with trailing commas, comments, single quotes, and unquoted keys — then outputs perfect strict JSON. Powered by JSON5 (32M+ weekly downloads)

See how to talk to your AI agent using JSON5 Resilient Parser.

Parse this JSON with trailing commas and comments: {name: 'Alice', age: 30, // years old}

Strict JSON Output: {"name": "Alice", "age": 30}

Clean up this LLM-generated config that has single quotes and trailing commas.

Strict JSON Output: Clean RFC 8259 JSON generated.

Convert this JSON5 with hex values and Infinity to strict JSON.

Strict JSON Output: All values normalized to standard JSON types.

JSON.parse() rejects trailing commas, comments, single quotes, and unquoted keys. JSON5 accepts all of these and outputs strict RFC 8259 JSON.

Related Connectors