{
  "markdown": "\n# mcp-json-tools\n\nAn 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.\n\n## Tools\n\n| Tool | Description |\n|------|-------------|\n| `json_validate` | Validate JSON data against a JSON Schema, returning detailed errors with paths |\n| `json_diff` | Compare two JSON objects, showing additions, removals, and changes with paths |\n| `json_transform` | Transform JSON with pick, rename, flatten, and unflatten operations |\n| `csv_to_json` | Convert CSV text to a JSON array with configurable headers, delimiters, and type casting |\n| `json_to_csv` | Convert a JSON array of objects to CSV text |\n| `yaml_to_json` | Convert YAML text to JSON |\n| `json_to_yaml` | Convert JSON text to YAML |\n\n## Installation\n\n```bash\nnpm install\nnpm run build\n```\n\n## Usage with Claude Code\n\n```bash\nclaude mcp add json-tools -- node D:/products/mcp-servers/mcp-json-tools/dist/index.js\n```\n\n## Usage with Claude Desktop\n\nAdd the following to your Claude Desktop configuration file:\n\n**Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"json-tools\": {\n      \"command\": \"node\",\n      \"args\": [\"D:/products/mcp-servers/mcp-json-tools/dist/index.js\"]\n    }\n  }\n}\n```\n\n## Tool Details\n\n### json_validate\n\nValidate 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.\n\n**Parameters:**\n- `data` (string) — JSON data to validate\n- `schema` (string) — JSON Schema to validate against\n\n### json_diff\n\nCompare 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.\n\n**Parameters:**\n- `original` (string) — Original JSON object\n- `modified` (string) — Modified JSON object\n\n### json_transform\n\nApply transformations to JSON data. Supports four operations:\n\n- **pick** — Extract specific fields by dot-notation paths\n- **rename** — Rename top-level keys using a mapping object\n- **flatten** — Flatten nested objects into dot-separated keys\n- **unflatten** — Restore dot-separated keys into nested objects\n\n**Parameters:**\n- `data` (string) — JSON data to transform\n- `operation` (string) — One of: pick, rename, flatten, unflatten\n- `fields` (string[]) — For pick: field paths to extract\n- `mapping` (object) — For rename: old-to-new key mapping\n- `separator` (string) — For flatten/unflatten: separator character (default: \".\")\n\n### csv_to_json\n\nParse CSV text into a JSON array of objects.\n\n**Parameters:**\n- `csv` (string) — CSV text to convert\n- `hasHeaders` (boolean) — Whether the first row is headers (default: true)\n- `delimiter` (string) — Column delimiter (default: \",\")\n- `castTypes` (boolean) — Auto-cast numbers and booleans (default: false)\n\n### json_to_csv\n\nConvert a JSON array of objects to CSV text. Headers are derived from the union of all object keys.\n\n**Parameters:**\n- `data` (string) — JSON array to convert\n- `delimiter` (string) — Column delimiter (default: \",\")\n- `includeHeaders` (boolean) — Include header row (default: true)\n\n### yaml_to_json / json_to_yaml\n\nConvert between YAML and JSON formats.\n\n**Parameters:**\n- `yamlText` / `jsonText` (string) — Text to convert\n- `indent` (number) — Indentation spaces (default: 2)\n\n## License\n\nMIT\n",
  "bytes": 3491,
  "sha": "b97d4008bdc6158a27e07a375660d7030a7d5ac921bb6ef7524eeaf538528f60",
  "repo_slug": "rog0x/mcp-json-tools",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_rog0x_json_7cae0675/readme"
}