JSON/YAML/CSV validate, diff, transform for AI agents
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP (Model Context Protocol) server that provides JSON and data manipulation tools for AI agents. Designed for use with Claude Code, Claude Desktop, and any MCP-compatible client.
| Tool | Description |
|---|---|
json_validate | Validate JSON data against a JSON Schema, returning detailed errors with paths |
json_diff | Compare two JSON objects, showing additions, removals, and changes with paths |
json_transform | Transform JSON with pick, rename, flatten, and unflatten operations |
csv_to_json | Convert CSV text to a JSON array with configurable headers, delimiters, and type casting |
json_to_csv | Convert a JSON array of objects to CSV text |
yaml_to_json | Convert YAML text to JSON |
json_to_yaml | Convert JSON text to YAML |
Add the following to your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Validate JSON data against a JSON Schema. Returns a valid boolean and an array of errors, each with the field path, message, and schema keyword that failed.
Parameters:
data (string) β JSON data to validateschema (string) β JSON Schema to validate againstCompare two JSON objects and produce a structured diff. Each difference includes the dot-notation path, the type of change (added, removed, or changed), and the old/new values.
Parameters:
original (string) β Original JSON objectmodified (string) β Modified JSON objectApply transformations to JSON data. Supports four operations:
Parameters:
data (string) β JSON data to transformoperation (string) β One of: pick, rename, flatten, unflattenfields (string[]) β For pick: field paths to extractmapping (object) β For rename: old-to-new key mappingseparator (string) β For flatten/unflatten: separator character (default: ".")Parse CSV text into a JSON array of objects.
Parameters:
csv (string) β CSV text to converthasHeaders (boolean) β Whether the first row is headers (default: true)delimiter (string) β Column delimiter (default: ",")castTypes (boolean) β Auto-cast numbers and booleans (default: false)Convert a JSON array of objects to CSV text. Headers are derived from the union of all object keys.
Parameters:
data (string) β JSON array to convertdelimiter (string) β Column delimiter (default: ",")includeHeaders (boolean) β Include header row (default: true)Convert between YAML and JSON formats.
Parameters:
yamlText / jsonText (string) β Text to convertindent (number) β Indentation spaces (default: 2)MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/json-2)<a href="https://allmcps.com/mcp/json-2"><img src="https://allmcps.com/api/badge/json-2?style=directory" alt="Json on AllMCPs" /></a>