trackmcp
Back to directory
Qquanwei

json-formatter

View on GitHub

jsonguy

0 stars TypeScriptOthers Updated Sep 3, 2026

Documentation

JSONGuy

A modern online JSON formatter, validator, beautifier, and repair tool. It accepts the syntax people actually use — JSON5, JavaScript objects, and Python dicts — and normalizes everything into strict, standards-compliant JSON. Runs 100% in the browser.

Live at jsonguy.airankone.com.

Features

  • Formatter & beautifier with 2/4-space indent and GitHub-style syntax highlighting
  • Validator that reports the exact line and column of an error
  • Collapsible tree view for navigating nested data
  • JSON repair — fixes missing quotes, missing commas, and unclosed brackets
  • Python dict support — single quotes, `None`/`True`/`False`, and tuples are normalized to JSON
  • JSON5 support — unquoted keys, comments, and trailing commas
  • Client-side only — your data never leaves the browser

MCP Server

Format, validate, and repair JSON from any MCP client (Claude Desktop, Cursor, Cline, etc.).

  • Endpoint: `https://jsonguy.airankone.com/mcp`
  • Transport: Streamable HTTP (JSON-RPC over POST, no API key)
  • Tools:
    • `format_json` — format JSON / JSON5 / JS objects / Python dicts into strict JSON
    • `validate_json` — validate input and return the error line/column when invalid
    • `repair_json` — repair broken JSON

Connect

Claude Desktop (`claude_desktop_config.json`):

json
{
  "mcpServers": {
    "jsonguy": {
      "type": "http",
      "url": "https://jsonguy.airankone.com/mcp"
    }
  }
}

Development

bash
npm install
npm run dev

Open http://localhost:3000.

bash
npm run build   # production build
npm run lint    # eslint
npm run indexnow # submit URLs to IndexNow (Bing/Yandex/Naver)

Tech

License

MIT

Frequently asked questions

What is json-formatter?

json-formatter is jsonguy

How do I install json-formatter?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is json-formatter open source?

Yes — it is hosted on GitHub at https://github.com/Qquanwei/json-formatter.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP