JSONShelf
jsonshelf
AIエージェント向けの決定論的なJSON修復、検証、例生成、およびスキーマ強制。 LLM呼び出しゼロ。10ミリ秒以下。1呼び出しあたり0.0005ドル。エージェント専用。
ライブエンドポイント: https://jsonshelf.vercel.app/
curl https://jsonshelf.vercel.app/ は、機械可読な完全なマニフェストを返します。HTMLなし。人間向けではありません。
機能
4つのツール、すべて純粋な計算、100%決定論的:
エンドポイント | 目的 |
| 不正なJSONを修正。準拠させるためのオプションのスキーマ指定が可能。 |
| スキーマに対してJSONを検証。エージェントに何を修正すべきかを正確に伝える |
| JSONスキーマから最小限の有効な例を生成。 |
| スキーマに合わせて値をソフトキャスト(例: 整数フィールドに対して |
すべてのエラーレスポンスには { error, code, message, fix, docs, http_status } が含まれており、エージェントが推測する必要はありません。
ディスカバリー(人間による操作は不要)
GET /.well-known/ai-plugin.json— OpenAIプラグインマニフェストGET /.well-known/mcp.json— MCPサーバーマニフェストGET /llms.txt— 機械可読なドキュメントGET /openapi.json— OpenAPI 3.1仕様GET /v1/pricing— 機械可読な価格設定GET /v1/errors— 完全なエラーカタログ
認証
# 1. Issue a key (100 free credits)
curl -X POST https://jsonshelf.vercel.app/v1/keys
# 2. Use the key
curl -X POST https://jsonshelf.vercel.app/v1/repair \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"input":"{name:\"alice\", skills:[\"code\",]}"}'課金
プリペイドクレジット。単一のPOSTリクエストで、エージェントが自律的に従う支払いURLを返します:
curl -X POST https://jsonshelf.vercel.app/v1/credits \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"pack":"starter"}'{ payment_url, x402: { ... } } を返します。x402ヘッダーは、プロトコル互換クライアント向けに出力されます。
MCP
https://jsonshelf.vercel.app/mcp でHTTP経由で使用可能(JSON-RPC 2.0、プロトコルバージョン 2024-11-05)。4つのツール:jsonshelf_repair、jsonshelf_validate、jsonshelf_example、jsonshelf_coerce。
ライセンス
Apache 2.0。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Related MCP Connectors
Repair malformed JSON from LLM/agent output; optional JSON Schema coercion. Free + x402 paid.
Repair broken LLM JSON and check it against a JSON Schema. Flags cut-off output. Free trial.
300+ deterministic data utilities for AI agents: validate, normalize, parse, match, redact.
Turn messy text into strict JSON schemas agents can trust (invoice, receipt, contact, resume).