Sql To Csv

Data REST API MCP

Read rows out of SQL INSERT statements and return CSV, one file per table. Parses a mysqldump, pg_dump or SQLite dump as text — nothing is executed against a database. Column names come from the INSERT column list, then from a CREATE TABLE in the same input, then from positions. NULL becomes an empty cell. Dump noise such as SET, LOCK TABLES and comments is ignored, and an INSERT ... SELECT with no literal VALUES is reported rather than guessed at.

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

Call it over MCP

Tool name findutils:sql_to_csv · 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": "sql_to_csv",
      "arguments": {
        "sql": "INSERT INTO people (id, name) VALUES (1, '\''Ada'\''), (2, '\''Doe, John'\'');"
      }
    }
  }'

Input schema

Argument Type Required Description
sql string yes SQL dump text containing INSERT statements.
table string no Return only this table. Default: every table found.
delimiter string no Output field separator. Default: a comma. Default: ",".
max_rows integer no Stop after this many rows per table. Default 50000, maximum 200000. Default: 50000.

Example arguments (verified)

{
  "sql": "INSERT INTO people (id, name) VALUES (1, 'Ada'), (2, 'Doe, John');"
}

Also a REST endpoint

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

Open the REST reference for Sql To Csv →

More Data tools