Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Processing

CSV Splitter

Split CSV content by specified number of rows per file. Perfect for processing large datasets, dividing data for analysis, batch processing, and managing file size limits. Features: - Split CSV by row count - Support multiple output formats - Preserve header row in each split - Flexible output format options - Support for large datasets - Fast and efficient processing Common Use Cases: - Split large CSV files for processing - Divide data for parallel processing - Create manageable data chunks - Export data in different formats - Prepare data for batch operations - Manage file size limitations

text· Text resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/csv-splitter' \
  -H 'Content-Type: application/json' \
  -d '{"csvContent":"Paste your CSV content here...\nExample:\nName,Age,City\nJohn,25,New York\nJane,30,London\nBob,35,Paris","rowsPerFile":5,"includeHeader":true,"outputFormat":"csv"}'

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/csv-splitter

Parameters

NameTypeRequiredDescription
csvContenttextareaYes—
rowsPerFilenumberYesMaximum number of data rows in each split file (excluding headers)
includeHeadercheckboxNoAdd header row to each split file
outputFormatselectYes—

Response format

Text result

JSON
{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-csv-splitter": {
      "name": "csv-splitter",
      "description": "Split CSV content by specified number of rows per file. Perfect for processing large datasets, dividing data for analysis, batch processing, and managing file size limits.\n\nFeatures:\n- Split CSV by row count\n- Support multiple output formats\n- Preserve header row in each split\n- Flexible output format options\n- Support for large datasets\n- Fast and efficient processing\n\nCommon Use Cases:\n- Split large CSV files for processing\n- Divide data for parallel processing\n- Create manageable data chunks\n- Export data in different formats\n- Prepare data for batch operations\n- Manage file size limitations",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=csv-splitter",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "csv-splitter",
    "arguments": {
  "csvContent": "Paste your CSV content here...\nExample:\nName,Age,City\nJohn,25,New York\nJane,30,London\nBob,35,Paris",
  "rowsPerFile": 5,
  "includeHeader": true,
  "outputFormat": "csv"
}
  }
}
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]