Csv To Sql

Data REST API MCP

Convert CSV text into SQL INSERT statements, optionally preceded by a CREATE TABLE. The first row is the header and becomes the column list. Column types are inferred from the first 50 data rows as integer, numeric, boolean, or text, and identifiers are quoted for the chosen dialect (Postgres, MySQL, or SQLite). Empty cells become NULL by default. Nothing is executed against a database.

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

Call it over MCP

Tool name findutils:csv_to_sql · 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": "csv_to_sql",
      "arguments": {
        "csv": "id,name\n1,Ada\n2,\"Doe, John\"",
        "table": "people",
        "dialect": "postgres"
      }
    }
  }'

Input schema

Argument Type Required Description
csv string yes CSV text with a header row.
table string no Target table name. Default: "my_table". Default: "my_table".
dialect string (postgres | mysql | sqlite) no Identifier quoting and type names. Default: postgres. Default: "postgres".
create_table boolean no Emit a CREATE TABLE before the inserts. Default: true. Default: true.
null_empty boolean no Write an empty cell as NULL rather than an empty string. Default: true. Default: true.
batch boolean no Emit one multi-row INSERT instead of one statement per row. Default: false. Default: false.

Example arguments (verified)

{
  "csv": "id,name\n1,Ada\n2,\"Doe, John\"",
  "table": "people",
  "dialect": "postgres"
}

Also a REST endpoint

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

Open the REST reference for Csv To Sql →

More Data tools