Json To Xml

Data REST API MCP

Convert a JSON value to XML. Object keys become element names; arrays produce repeated sibling elements. Invalid XML names fall back to <item>. Adds an XML declaration and wraps everything in a configurable root element.

This page documents the MCP tool findutils:json_to_xml. See the REST reference →

Call it over MCP

Tool name findutils:json_to_xml · no API keys · 120 requests/min per IP

Claude Code

claude mcp add findutils --transport http https://mcp.findutils.com/

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}

Raw JSON-RPC (any MCP client) — verified example

curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "json_to_xml",
      "arguments": {
        "json": "{\"a\":1}"
      }
    }
  }'

Input schema

Argument Type Required Description
json string yes JSON string to convert.
root_name string no Root element name. Default: "root".
indent integer no Indent width. 0 emits single-line XML. Default: 2.

Example arguments (verified)

{
  "json": {
    "a": 1
  }
}

Arguments that carry JSON as a string are shown decoded for readability. The Copy button copies the exact wire arguments.

Also a REST endpoint

The same tool answers plain HTTP at POST /api/tools/json-to-xml/execute — no key, 60 requests/min.

Open the REST reference for Json To Xml →

More Data tools