Plugs JSON, YAML, and CSV manipulation directly into Claude through stdio. You get seven tools: schema validation with detailed error paths, structural diffs showing what changed where, transformations like pick/rename/flatten, and bidirectional conversion between all three formats with configurable delimiters and type casting. Useful when you're building workflows that need to validate API payloads against schemas, compare configuration files, reshape data structures without writing throwaway scripts, or convert between formats during data pipeline work. Install via npm, point Claude Desktop or Claude Code at the built index.js, and the tools appear in your agent's toolkit.
Public tool metadata for what this MCP can expose to an agent.
json_formatPretty-print or minify JSON. Specify indent level (default 2) or set minify=true to compact JSON into a single line.3 paramsPretty-print or minify JSON. Specify indent level (default 2) or set minify=true to compact JSON into a single line.
jsonstringindentintegerminifybooleanjson_validateValidate a JSON string. Returns valid=true with type info on success, or valid=false with line, column, error message, and a suggestion for fixing common mistakes.1 paramsValidate a JSON string. Returns valid=true with type info on success, or valid=false with line, column, error message, and a suggestion for fixing common mistakes.
jsonstringjson_diffCompare two JSON values and return a structured diff showing added paths, removed paths, and changed values. Supports nested objects and arrays.2 paramsCompare two JSON values and return a structured diff showing added paths, removed paths, and changed values. Supports nested objects and arrays.
json_astringjson_bstringjson_queryQuery JSON data using JSONPath-like syntax. Supports: root ($), dot notation ($.a.b), bracket notation ($["key"]), array index ($[0]), wildcard (*), deep scan (..), slice ([1:3]), filter ([?(@.age>18)]), and union ([0,1]).2 paramsQuery JSON data using JSONPath-like syntax. Supports: root ($), dot notation ($.a.b), bracket notation ($["key"]), array index ($[0]), wildcard (*), deep scan (..), slice ([1:3]), filter ([?(@.age>18)]), and union ([0,1]).
jsonstringquerystringjson_transformTransform JSON data. Operations: "flatten" (nested→flat with dot keys), "unflatten" (flat→nested), "pick" (keep only specified keys), "omit" (remove specified keys), "rename" (rename keys via a map). Use options.deep=true for recursive key operations.3 paramsTransform JSON data. Operations: "flatten" (nested→flat with dot keys), "unflatten" (flat→nested), "pick" (keep only specified keys), "omit" (remove specified keys), "rename" (rename keys via a map). Use options.deep=true for recursive key operations.
jsonstringoptionsobjectoperationstringflatten · unflatten · pick · omit · renamejson_schema_generateGenerate a JSON Schema (draft-07 compatible) from a sample JSON object. Infers types, required fields, formats (date-time, email, uri, uuid), and nested structure. Ideal for API documentation or validation setup.2 paramsGenerate a JSON Schema (draft-07 compatible) from a sample JSON object. Infers types, required fields, formats (date-time, email, uri, uuid), and nested structure. Ideal for API documentation or validation setup.
jsonstringtitlestringAn 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 |
npm install
npm run build
claude mcp add json-tools -- node D:/products/mcp-servers/mcp-json-tools/dist/index.js
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
{
"mcpServers": {
"json-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-json-tools/dist/index.js"]
}
}
}
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
com.mcparmory/google-sheets
domdomegg/google-sheets-mcp
henilcalagiya/google-sheets-mcp
cct15/war-dashboard-data
moooonad/mcp-google-sheets-full
io.github.br0ski777/csv-to-json