RealJSON MCP-Server
Ein lokaler Model-Context-Protocol-Server, der KI-Agenten 19 JSON-Tools bereitstellt. Er läuft über stdio auf Ihrem Rechner — keine Uploads, keine API-Schlüssel.
Installation in einer Zeile
Sie benötigen Node.js 20 oder neuer. Ihr MCP-Client startet den Server bei Bedarf.
Claude Desktop — in claude_desktop_config.json eintragen:
{
"mcpServers": {
"realjson": {
"command": "npx",
"args": ["-y", "@realjson/mcp-server"]
}
}
} Claude Code:
claude mcp add realjson -- npx -y @realjson/mcp-server Cursor — denselben Block in ~/.cursor/mcp.json (oder .cursor/mcp.json im Projekt) eintragen:
{
"mcpServers": {
"realjson": {
"command": "npx",
"args": ["-y", "@realjson/mcp-server"]
}
}
} Pro-Lizenz — einen env-Block zum Server-Eintrag hinzufügen:
{
"mcpServers": {
"realjson": {
"command": "npx",
"args": ["-y", "@realjson/mcp-server"],
"env": { "REALJSON_LICENSE": "rj1.…" }
}
}
} Verfügbare Tools
Jedes Tool ist eine reine Funktion, die mit dem übergebenen Text arbeitet. Nichts berührt das Netzwerk oder Ihre Dateien.
-
json_formatPretty-print JSON with a chosen indent (optionally sorting keys). -
json_minifyStrip all whitespace from JSON. -
json_validateCheck whether text is valid JSON. Returns {valid, error?, type?}. -
json_sort_keysSort object keys alphabetically (natural order), recursively by default. -
jsonpath_queryQuery JSON with a JSONPath expression ($.a.b[*], filters [?(@.x>1)], recursive descent ..). Returns matched values with their paths. -
json_to_schemaInfer a JSON Schema from sample JSON (an array is treated as multiple samples). Set structured_output to get a schema accepted by LLM structured outputs / function calling (OpenAI strict mode, Anthropic, Gemini): object root, additionalProperties false, every property required (missing ones become nullable). -
json_schema_validateValidate JSON against a JSON Schema; returns every error with its JSON pointer path. -
json_to_csvConvert a JSON array (or object) to CSV, flattening nested objects to dot.path columns. -
json_to_xmlConvert JSON to well-formed XML (keys starting with @ become attributes). -
jsonl_convertConvert between a JSON array and JSON Lines (NDJSON). direction "to_jsonl" takes JSON, "to_json" takes JSONL text. -
json_diffCompare two JSON documents and return RFC 6902-style add/remove/replace operations turning `a` into `b`. -
json_to_codeGenerate typed code from JSON: Go structs, Python dataclasses/Pydantic, Java records, Rust serde structs or Zod schemas. -
json_repairFix almost-JSON and LLM output: extracts JSON from chat text and ```json fences, closes truncated output, escapes stray quotes and raw newlines, fixes comments, single/curly quotes, unquoted keys, missing/trailing commas, Python True/False/None and NaN/undefined. Returns the repaired JSON and the fixes applied. -
finetune_validateValidate a fine-tuning dataset (JSON Lines) before uploading it: OpenAI chat (SFT), OpenAI preference (DPO), Anthropic Claude (Amazon Bedrock) or prompt/completion. Returns the detected format, per-line errors and warnings (roles, missing assistant turns, weights, DPO pairs, duplicates, minimum example count) and stats including an approximate token count. -
json_chaosInject edge cases (nulls, type swaps, huge strings, unicode, deep nesting) into JSON to test consumers. Pass a seed for reproducible output. -
jwt_decodeDecode a JWT (header, payload, exp/nbf status). Optionally verify an HS256/HS384/HS512 signature with a secret — verification happens locally. -
json_to_yamlConvert JSON to YAML. -
xml_to_jsonConvert XML to JSON (attributes become @name keys, text next to children becomes #text, repeated siblings become arrays). -
csv_to_jsonConvert CSV text to a JSON array of objects (or arrays without a header row), with optional type inference.
Free- und Pro-Limits
Free: 256 KB pro Aufruf und 300 Aufrufe pro Tag (Zurücksetzen um Mitternacht Ortszeit). Pro: 10 MB pro Aufruf, unbegrenzte Aufrufe und das Batch-Tool. Aufrufe über dem Limit liefern ein normales Ergebnis, das Limit, Zeitpunkt des Zurücksetzens und Upgrade erklärt; json_validate und json_repair mit kleinen Eingaben funktionieren immer.
Preise ansehenPrivat von Grund auf
Der Server enthält keinen Netzwerkcode. Die Nutzung wird in einer kleinen Datei auf Ihrer Festplatte gezählt, und Pro-Lizenzen werden offline mit einem öffentlichen Schlüssel geprüft — kein Konto, keine Telemetrie, kein Lizenzserver.
WebMCP auf realjson.com
In Browsern mit WebMCP-Unterstützung (navigator.modelContext) registriert realjson.com seine wichtigsten Tools, damit ein Agent im Browser sie direkt aufrufen kann. Alles läuft weiterhin in der Seite.
Häufige Fragen
Was ist der RealJSON MCP-Server?
Ein offener Model-Context-Protocol-Server, der Formatierer, Validator, Reparatur, JSONPath, Schema, Diff und Konverter von RealJSON als Tools für KI-Agenten bereitstellt.
Wird mein JSON irgendwohin hochgeladen?
Nein. Der Server läuft lokal über stdio und enthält keinen Netzwerkcode, Ihre Daten verlassen also nie Ihren Rechner.
Mit welchen Clients funktioniert er?
Mit jedem MCP-Client, der einen stdio-Server starten kann, darunter Claude Desktop, Claude Code, Cursor, VS Code, Windsurf und Zed.
Welche Nutzungslimits gibt es?
Free erlaubt 256 KB pro Aufruf und 300 Aufrufe pro Tag. Pro erlaubt 10 MB pro Aufruf bei unbegrenzten Aufrufen. Kleine Validieren- und Reparieren-Aufrufe werden nie blockiert.
Was ist WebMCP?
WebMCP ist eine Browser-API, mit der eine Webseite KI-Agenten im Browser Tools anbieten kann. RealJSON registriert seine wichtigsten Tools, wenn die API verfügbar ist, und tut sonst nichts.