JSONParse Open the viewer

Docs

MCP server for AI agents

An agent cannot drive a browser interface. The MCP server exposes the same engine as callable tools, so an assistant can format, validate and type a document as a step in its own work.

Endpoint

https://jsonparse.online/mcp

Streamable HTTP transport, stateless, no authentication. Every request is self-contained, so there is no session to keep alive and no state to lose between calls.

Connecting

Claude Code

claude mcp add --transport http jsonparse https://jsonparse.online/mcp

Any client with a JSON config

{
  "mcpServers": {
    "jsonparse": {
      "type": "http",
      "url": "https://jsonparse.online/mcp"
    }
  }
}

Tools

ToolInputReturns
format_jsonjson, mode, indentBeautified or minified text.
validate_jsonjsonValid, or the first error with line, column and offset.
json_diffleft, right, plus the comparison optionsWhat changed, as an RFC 6902 patch, a readable report or counts.
json_to_typescriptjson, plus the generator optionsTypeScript interfaces or type aliases.
json_to_schemajson, plus the schema optionsA JSON Schema document.
generate_jsonjson (a template), format, seed, count, targetBytesA generated JSON document as text.

generate_json is the one tool whose json argument is a template rather than a document to work on. Any string in it may hold a tag — {{integer(1,100)}}, {{fullName()}}, {{seq(1,1)}}, {{weighted('ok', 9, 'error', 1)}} — and an array beginning "{{repeat(20)}}" repeats the element after it. Pass a seed when the same fixture has to come back twice. The full tag reference is on the generator page.

What it is good for

The same boundary as the HTTP API applies: documents sent to the MCP server reach the server. Documents opened in the viewer never do.

Frequently asked questions

Does the MCP server need an API key?

No. It is open and rate limited by address, the same as the HTTP API.

Which MCP clients work with it?

Any client supporting the Streamable HTTP transport, which includes Claude Code, the Claude desktop app via a remote server entry, and the common agent frameworks.

Can I run it myself?

Yes. It is a single serverless function and deploys alongside the rest of the site, so a self-hosted instance gets the same tools on its own domain.

Can an agent generate test data with it?

Yes, with the generate_json tool. It takes a template rather than a document: any string may hold a tag such as {{fullName()}} or {{integer(1,100)}}, and an array starting with a repeat tag repeats the element after it. Passing a seed makes the generated document reproducible.

Last updated .