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
| Tool | Input | Returns |
|---|---|---|
format_json | json, mode, indent | Beautified or minified text. |
validate_json | json | Valid, or the first error with line, column and offset. |
json_diff | left, right, plus the comparison options | What changed, as an RFC 6902 patch, a readable report or counts. |
json_to_typescript | json, plus the generator options | TypeScript interfaces or type aliases. |
json_to_schema | json, plus the schema options | A JSON Schema document. |
generate_json | json (a template), format, seed, count, targetBytes | A 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
- Turning a captured API response into types without the agent hand-writing them and getting the optional fields wrong.
- Locating the syntax error in a file an agent generated, precisely, instead of guessing from a parser message.
- Producing a schema from a sample as a step in a larger task.
- Answering "what changed between these two payloads" structurally, instead of diffing them as text and reporting the reindentation.
- Generating seed data and fixtures from a template, with a seed, instead of writing forty records by hand into a test file.
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 .