Data Processing
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
Call this tool from your code in three languages.
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"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/csv-splitter| Name | Type | Required | Description |
|---|---|---|---|
| csvContent | textarea | Yes | — |
| rowsPerFile | number | Yes | Maximum number of data rows in each split file (excluding headers) |
| includeHeader | checkbox | No | Add header row to each split file |
| outputFormat | select | Yes | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"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"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"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"
}
}
}Questions or issues? Contact [email protected]