JSONShelf
jsonshelf
Deterministische JSON-Reparatur, Validierung, Beispielgenerierung und Schema-Erzwingung für KI-Agenten. Null LLM-Aufrufe. Unter 10 ms. 0,0005 $ pro Aufruf. Nur für Agenten.
Live-Endpunkt: https://jsonshelf.vercel.app/
curl https://jsonshelf.vercel.app/ gibt ein vollständiges maschinenlesbares Manifest zurück. Kein HTML. Keine Menschen.
Was es tut
Vier Werkzeuge, alles reine Rechenleistung, 100 % deterministisch:
Endpunkt | Zweck |
| Repariere fehlerhaftes JSON. Optionales Schema zur Anpassung. |
| Validierung von JSON gegen ein Schema. Gibt strukturierte Fehler mit |
| Generiere ein minimales gültiges Beispiel aus einem JSON-Schema. |
| Soft-Cast von Werten zur Übereinstimmung mit einem Schema (z. B. |
Jede Fehlerantwort enthält { error, code, message, fix, docs, http_status } – Agenten müssen nie raten.
Discovery (keine Menschen erforderlich)
GET /.well-known/ai-plugin.json— OpenAI-Plugin-ManifestGET /.well-known/mcp.json— MCP-Server-ManifestGET /llms.txt— maschinenlesbare DokumentationGET /openapi.json— OpenAPI 3.1 SpezifikationGET /v1/pricing— maschinenlesbare PreisgestaltungGET /v1/errors— vollständiger Fehlerkatalog
Authentifizierung
# 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\",]}"}'Abrechnung
Prepaid-Guthaben. Ein einzelner POST-Aufruf gibt eine Zahlungs-URL zurück, der der Agent autonom folgt:
curl -X POST https://jsonshelf.vercel.app/v1/credits \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"pack":"starter"}'Gibt { payment_url, x402: { ... } } zurück. x402-Header werden für protokollkompatible Clients ausgegeben.
MCP
Verwendung über HTTP unter https://jsonshelf.vercel.app/mcp (JSON-RPC 2.0, Protokollversion 2024-11-05). Vier Werkzeuge: jsonshelf_repair, jsonshelf_validate, jsonshelf_example, jsonshelf_coerce.
Lizenz
Apache 2.0.
Related MCP Connectors
Repair malformed JSON from LLM/agent output; optional JSON Schema coercion. Free + x402 paid.
- SnipgetOAuthai.snipget
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).
JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.