JSONShelf
Deterministic JSON repair, validate, example-gen, schema-coerce for agents. Zero LLM, sub-10ms.
使うべきか
品質と安全性
B
検出事項(2)
- LOWjsonshelf_repair 内
- LOWjsonshelf_coerce 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
~262トークン数(ツール定義)
~424 B一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.20%)
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"jsonshelf": {
"url": "https://jsonshelf.vercel.app/mcp"
}
}
}リモートエンドポイント
https://jsonshelf.vercel.app/mcpstreamable-httpできること
ツール一覧
ツール(4)
🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
⚪jsonshelf_repair(input, schema, mode)
Repair malformed JSON. Returns valid JSON plus a diff of what was fixed.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Malformed JSON as a string."
},
"schema": {
"type": "object",
"description": "Optional JSON Schema to conform the output to."
},
"mode": {
"type": "string",
"enum": [
"strict",
"coerce"
],
"default": "strict"
}
},
"required": [
"input"
]
}⚪jsonshelf_validate(input, schema)
Validate JSON against a schema. Returns structured errors with JSON Pointer paths and remedies.
入力スキーマ
{
"type": "object",
"properties": {
"input": {},
"schema": {
"type": "object"
}
},
"required": [
"input",
"schema"
]
}⚪jsonshelf_example(schema)
Generate a minimal valid example matching a JSON schema.
入力スキーマ
{
"type": "object",
"properties": {
"schema": {
"type": "object"
}
},
"required": [
"schema"
]
}⚪jsonshelf_coerce(input, schema)
Soft-cast values to match a schema (string "42" → 42 for integer fields, etc.).
入力スキーマ
{
"type": "object",
"properties": {
"input": {},
"schema": {
"type": "object"
}
},
"required": [
"input",
"schema"
]
}コミュニティ
エビデンス
最近の観測
検証済みバージョンは記録されていませんツール 4 件
検証済みバージョンは記録されていませんツール 4 件