Html Table To Json

Data REST API MCP

Convert an HTML <table> into JSON — an array of objects keyed by the header row, or an array of row arrays. Cell text is extracted with tags stripped and entities decoded. Empty header cells become column1, column2, ….

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

Call it over MCP

Tool name findutils:html_table_to_json · 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": "html_table_to_json",
      "arguments": {
        "html": "<table><tr><th>Name</th><th>Age</th></tr><tr><td>Ann</td><td>30</td></tr></table>"
      }
    }
  }'

Input schema

Argument Type Required Description
html string yes HTML that contains at least one <table> element. A full page is fine; the first table is used unless table_index is set.
format string (objects | arrays) no "objects" (default) maps each row to an object; "arrays" returns rows as string arrays. Default: "objects".
first_row_headers boolean no When format is "objects", use the first row as object keys (default true). When false, keys are column1, column2, …. Default: true.
table_index integer no Zero-based index of the table to convert when the HTML has several. Default 0. Default: 0.

Example arguments (verified)

{
  "html": "<table><tr><th>Name</th><th>Age</th></tr><tr><td>Ann</td><td>30</td></tr></table>"
}

Also a REST endpoint

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

Open the REST reference for Html Table To Json →

More Data tools