JSON Toolkit MCP - Format, Validate, Diff, Query & Transform JSON について
JSON Toolkit MCPは、AIクライアント経由でJSONを扱う開発者向けのサーバーです。整形、検証、比較、JSONPath風クエリ、変換、スキーマ生成を6つのツールで提供します。
主な機能
- 01JSONの整形と圧縮
- 02構文エラー位置の特定
- 03JSONオブジェクトの比較
- 04JSONPath風構文での検索
- 05キーのフラット化・選択・除外・改名
- 06サンプルからJSON Schemaを生成
活用シーン
- 01APIレスポンスの整形とエラー特定
- 02設定バージョン間の差分確認
- 03ネストしたJSONから項目を抽出
- 04サンプルデータからスキーマを作成
MCP 対応
Streamable HTTP経由で、JSON操作用の6つのツールをMCPクライアントに提供します。Cloudflare Workers上で動作します。
設定
リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。
https://json-toolkit-mcp.yagami8095.workers.dev/mcpclaude mcp add --transport http json-toolkit https://json-toolkit-mcp.yagami8095.workers.dev/mcp{"mcpServers":{"json-toolkit":{"type":"http","url":"https://json-toolkit-mcp.yagami8095.workers.dev/mcp"}}}Cursor で開く{"servers":{"json-toolkit":{"type":"http","url":"https://json-toolkit-mcp.yagami8095.workers.dev/mcp"}}}VS Code で開く{"mcpServers":{"json-toolkit":{"type":"http","url":"https://json-toolkit-mcp.yagami8095.workers.dev/mcp"}}}{"mcpServers":{"json-toolkit":{"serverUrl":"https://json-toolkit-mcp.yagami8095.workers.dev/mcp"}}}コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。
https://json-toolkit-mcp.yagami8095.workers.dev/mcphttps://regex-engine-mcp.yagami8095.workers.dev/mcphttps://color-palette-mcp.yagami8095.workers.dev/mcphttps://timestamp-converter-mcp.yagami8095.workers.dev/mcphttps://prompt-enhancer-mcp.yagami8095.workers.dev/mcphttps://openclaw-intel-mcp.yagami8095.workers.dev/mcphttps://openclaw-fortune-mcp.yagami8095.workers.dev/mcphttps://moltbook-publisher-mcp.yagami8095.workers.dev/mcphttps://agentforge-compare-mcp.yagami8095.workers.dev/mcpツール
詳細
JSON Toolkit MCP Server
EN: Format, validate, diff, query, and transform JSON without leaving your AI assistant. 繁中: 不用離開 AI 助手就能格式化、驗證、比較、查詢和轉換 JSON。 日本語: AIアシスタントから離れずにJSONのフォーマット、検証、比較、クエリ、変換ができます。
What is this? Why do I need it?
- JSON is everywhere in programming. API responses, config files, databases -- they all use JSON. But raw JSON is hard to read, and one missing comma breaks everything. This server formats messy JSON instantly and tells you exactly where errors are (line and column number).
- Comparing two JSON files by hand is painful. When your config changed and something broke, you need to know what is different. The diff tool shows you exactly which keys were added, removed, or changed -- no manual scanning required.
- You need data from deeply nested JSON but do not want to write code. The query tool lets you use simple path syntax like
$.users[*].nameto pull out exactly the data you need. And the schema generator creates a JSON Schema from any sample data automatically.
Quick Install
Cursor (One Click)
Claude Desktop
Add to your MCP config file (claude_desktop_config.json):
{
"mcpServers": {
"json-toolkit": {
"url": "https://json-toolkit-mcp.yagami8095.workers.dev/mcp"
}
}
}
Smithery
npx @smithery/cli install @openclaw-ai/json-toolkit-mcp
Tools
| Tool | What it does | Example prompt |
|---|---|---|
json_format | Pretty-print or minify JSON with configurable indentation | "Format this JSON with 2-space indent: {"name":"Alice","age":30}" |
json_validate | Check if JSON is valid and show the exact error location | "Is this valid JSON? {key: value}" |
json_diff | Compare two JSON objects and list all differences | "What changed between these two JSON configs?" |
json_query | Search inside JSON using path syntax like $.users[0].name | "Get all the email addresses from this JSON array" |
json_transform | Flatten, unflatten, pick, omit, or rename keys | "Flatten this nested JSON into a single level" |
json_schema_generate | Auto-generate a JSON Schema from sample data | "Generate a JSON Schema from this API response" |
Copy-Paste Examples
Example 1: Fix and format a messy API response
Just say to your AI: "Format this JSON and check if it is valid: {"users":[{"name":"Alice","scores":[98,87,95]},{"name":"Bob","scores":[72,88]}]}"
Example 2: Find what changed between two config versions
Just say to your AI: "Diff these two JSON objects and tell me what changed: A = {"debug": true, "port": 3000, "host": "localhost"} B = {"debug": false, "port": 8080, "host": "localhost"}"
Example 3: Pull specific data from nested JSON
Just say to your AI: "Query $.users[*].email from this JSON and list all the email addresses"
Plans
| Plan | Cost | Calls |
|---|---|---|
| Free | $0 | 20/day |
| Pro | $29/mo | 50,000/month |
よくある質問
Q: 何かをインストールする必要がありますか? A: いいえ。これは Cloudflare Workers 上で動作するクラウドサーバーです。URL を AI クライアントの MCP 設定に追加するだけで、すぐに使い始められます。npm のインストールも、Docker も、API キーも不要です。
Q: 処理できる JSON の最大サイズはいくつですか? A: 無料プランでは、最大 1MB の JSON ペイロードを処理できます。これは、大部分の API レスポンスや設定ファイルをカバーしています。より大きなファイルには、Pro プランをご検討ください。
Q: JSONPath や jq の構文に対応していますか?
A: クエリツールでは、JSONPath に似た構文($、ドット記法、ワイルドカード、配列スライス)を使用します。jq のすべての機能に対応しているわけではありませんが、開発者が必要とする最も一般的なクエリパターンをカバーしています。
リンク
ライセンス
MIT
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。