openclaw-json-toolkit

Enterprise-grade JSON processing suite — format, validate, deep-diff, JSONPath query, structural transform, and schema generation in one MCP server. Use when: (1) user says 'format this JSON' or 'pretty print this', (2) user asks 'validate my JSON' or 'is this valid JSON', (3) user needs to 'compare two JSON objects' or 'diff these configs', (4) user wants to 'query nested JSON' or 'extract with JSONPath', (5) user requests 'flatten JSON' or 'generate JSON Schema'. Supports draft-07 schema, recursive flatten, wildcard queries, filter expressions, array slicing. Zero install, sub-100ms on Cloudflare Workers. Free + Pro $9/mo.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openclaw-json-toolkit" with this command: npx skills add yedanyagamiai-cmd/openclaw-json-toolkit

OpenClaw JSON Toolkit v2.0

The Swiss Army knife for JSON — 6 tools, zero install, instant results.

Quick Reference

SituationActionTool
Messy single-line JSON from an APIPretty-print with 2-space indentjson_format
Need to minify for productionCompress to single linejson_format (minify)
Pasted JSON won't parseFind exact error line + columnjson_validate
Two config files changedSee added/removed/changed pathsjson_diff
Need one field from 500-line JSONQuery with JSONPath expressionjson_query
Deeply nested keys hard to accessFlatten to dot-notationjson_transform
Building an API contractAuto-generate draft-07 schemajson_schema_generate

What's New in v2.0

  • :zap: CloudEdge Protocol -- All processing runs on Cloudflare's global edge network. Sub-100ms response worldwide, zero cold starts.
  • :mag: DeepQuery Engine -- Full JSONPath with deep scan (..), wildcards (*), filter expressions (?(@.price < 10)), and array slicing ([0:5]).
  • :shield: Schema Draft-07 Intelligence -- Auto-detects semantic formats: email, URI, date-time, IPv4, UUID. Infers required fields and enum candidates from sample data.
  • :arrows_counterclockwise: StructureMorph Transform -- Recursive flatten/unflatten, key renaming with mapping objects, pick/omit projections on arbitrarily nested JSON.

MCP Quick Start

{
  "openclaw-json": {
    "type": "streamable-http",
    "url": "https://json-toolkit-mcp.yagami8095.workers.dev/mcp"
  }
}

Add to Claude Desktop, Cursor, Windsurf, VS Code, or any MCP-compatible client. No API key needed for Free tier. Works immediately.

Detection Triggers

This skill activates when you say:

  • "format this JSON" / "pretty print this" / "indent this JSON"
  • "validate my JSON" / "is this valid JSON" / "why won't this parse"
  • "compare these two JSON" / "diff these objects" / "what changed between these configs"
  • "query this JSON" / "extract from JSON" / "JSONPath" / "get the nested value"
  • "flatten this JSON" / "restructure this" / "rename these keys" / "unflatten"
  • "generate a schema" / "create JSON Schema" / "schema from this sample"

Tools (6)

json_format -- Pretty-Print & Minify (CloudEdge Protocol)

Format any JSON string with configurable indentation or compress to a single line for production payloads.

ParameterTypeDefaultDescription
jsonstringrequiredRaw JSON string to format
indentnumber2Spaces per indent level (0-8)
minifybooleanfalseCompress to single line, strip whitespace

Output: Formatted JSON string + byte count (before/after) + compression ratio when minifying.

WRONG vs RIGHT

WRONG -- Manually adding spaces to JSON in a text editor:

User: Can you add proper indentation to this JSON?
Agent: *manually edits text, misses nested arrays, breaks trailing commas*

RIGHT -- Use json_format:

User: Format this JSON
Agent: calls json_format → returns perfectly indented JSON with byte count in 12ms

json_validate -- Validation with Diagnostics

Validate JSON syntax and get structural metadata on success, or precise error location on failure.

ParameterTypeDefaultDescription
jsonstringrequiredJSON string to validate

On success: { valid: true, type: "object"|"array", keyCount, depth, byteSize } On failure: { valid: false, error: "message", line: 3, column: 15, context: "near '...'" }

WRONG vs RIGHT

WRONG -- Guessing where the JSON error is:

User: Why won't this JSON parse?
Agent: *scans visually, says "maybe line 12?"* — misses the real error on line 47

RIGHT -- Use json_validate:

User: Why won't this JSON parse?
Agent: calls json_validate → "Unexpected token at line 47, column 23: trailing comma after last element"

json_diff -- Structural Comparison (DeepDiff Protocol)

Compare two JSON values and get a complete structural diff showing every added, removed, and changed path.

ParameterTypeDefaultDescription
leftstringrequiredFirst JSON (the "before")
rightstringrequiredSecond JSON (the "after")

Output: { added: [...paths], removed: [...paths], changed: [{ path, from, to }], totalChanges }. Every changed value shows the exact before/after values at that path.

  • Use for: API response comparison, config drift detection, schema evolution tracking, deployment validation.

json_query -- JSONPath Extraction (DeepQuery Engine)

Query JSON with full JSONPath support including dot notation, bracket notation, wildcards, deep scan, array slicing, and filter expressions.

ParameterTypeDefaultDescription
jsonstringrequiredJSON data to query
pathstringrequiredJSONPath expression

Supported syntax:

  • $.store.book[0].title -- direct path
  • $.store.book[*].author -- wildcard
  • $..price -- recursive deep scan
  • $.store.book[0:3] -- array slicing
  • $.store.book[?(@.price < 10)] -- filter expression

Output: Array of matched values with their resolved paths.


json_transform -- Structural Operations (StructureMorph)

Perform structural transformations: flatten nested JSON to dot-notation keys, unflatten back, pick/omit specific keys, or rename keys with a mapping object.

ParameterTypeDefaultDescription
jsonstringrequiredJSON to transform
operationstringrequiredflatten, unflatten, pick, omit, rename
optionsobject{}Operation-specific: keys[] for pick/omit, mapping{} for rename

Output: Transformed JSON with operation summary (keys affected, depth change).


json_schema_generate -- Schema from Samples (Schema Intelligence)

Generate a complete JSON Schema (draft-07) from any JSON value. Auto-infers types, detects semantic formats, determines required fields, and identifies enum candidates.

ParameterTypeDefaultDescription
jsonstringrequiredSample JSON value

Auto-detected formats: email, uri, date-time, ipv4, ipv6, uuid, hostname. Output: Complete JSON Schema with $schema, type, properties, required, format annotations, and description placeholders.

What NOT to Do

Don'tWhyDo Instead
Send binary data (BSON, MessagePack, Protobuf)Text JSON onlyDecode to JSON string first
Send JSON over 1MBEdge workers have memory limitsSplit into chunks, process each
Expect streaming outputEach call returns complete resultsUse for bounded payloads
Use as a databaseTools are statelessStore results client-side
Send JSON with JS commentsStrict JSON spec onlyStrip comments before sending

Security & Privacy

WhatStatus
Reads your JSON inputYes -- for processing only
Stores your dataNo -- zero persistence, stateless edge processing
Sends data to third partiesNo -- processed entirely on Cloudflare Workers
Logs request contentNo -- only anonymous usage counters
Requires authenticationFree tier: no. Pro: API key header only

Pricing

TierCalls/DayPriceWhat You Get
Free20$0All 6 JSON tools, no signup
Pro1,000$9/moAll 9 OpenClaw servers (49 tools), priority routing
x402Pay-per-call$0.05 USDCNo account needed, crypto-native

Get Pro Key: https://buy.stripe.com/4gw5na5U19SP9TW288

The OpenClaw Intelligence Stack

ServerToolsBest For
JSON Toolkit6Format, validate, diff, query, transform JSON
Regex Engine5Test, extract, replace, explain regex patterns
Color Palette5Generate, convert, harmonize, accessibility-check colors
Timestamp Converter5Parse, format, diff, timezone-convert timestamps
Prompt Enhancer6Optimize, rewrite, score, A/B test AI prompts
Market Intelligence6AI market trends, GitHub stats, competitor analysis
Fortune & Tarot3Daily fortune, tarot readings, I Ching
Content Publisher8MoltBook posts, social content, newsletter
AgentForge Compare5Compare AI tools, frameworks, MCP servers

All 9 servers share one Pro key. $9/mo = 49 tools.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Digicert

DigiCert integration. Manage Certificates, Orders, Users, Organizations. Use when the user wants to interact with DigiCert data.

Registry SourceRecently Updated
General

Dialpad

Dialpad integration. Manage Users, Groups, Departments, Offices. Use when the user wants to interact with Dialpad data.

Registry SourceRecently Updated
General

Darwinbox

Darwinbox integration. Manage Organizations, Goals, Roles, Projects, Pipelines, Leads and more. Use when the user wants to interact with Darwinbox data.

Registry SourceRecently Updated
General

Creatio

Creatio integration. Manage Leads, Organizations, Users. Use when the user wants to interact with Creatio data.

Registry SourceRecently Updated