Data Processing
Remove duplicate columns from CSV data with flexible detection strategies. Perfect for cleaning datasets, removing redundant information, and optimizing data structure. Features: - Detect columns with identical headers - Find columns with identical data content - Support for case-sensitive/insensitive matching - Multiple removal strategies available - Preserve data integrity - Support for large datasets - Fast and efficient processing Common Use Cases: - Clean up merged datasets - Remove redundant data columns - Optimize data for analysis - Prepare data for machine learning - Reduce file size and complexity - Standardize data format
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/duplicate-column-remover' \
-H 'Content-Type: application/json' \
-d '{"csvContent":"Paste your CSV content here...\nExample:\nName,Name,Age,City,City\nJohn,John,25,NYC,NYC\nJane,Jane,30,LA,LA","detectionMethod":"headers","caseSensitive":false,"keepStrategy":"first","trimSpaces":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/duplicate-column-remover| Name | Type | Required | Description |
|---|---|---|---|
| csvContent | textarea | Yes | — |
| detectionMethod | select | Yes | — |
| caseSensitive | checkbox | No | Treat uppercase and lowercase as different characters |
| keepStrategy | select | Yes | — |
| trimSpaces | checkbox | No | Remove leading and trailing spaces from headers and values |
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-duplicate-column-remover": {
"name": "duplicate-column-remover",
"description": "Remove duplicate columns from CSV data with flexible detection strategies. Perfect for cleaning datasets, removing redundant information, and optimizing data structure.\n\nFeatures:\n- Detect columns with identical headers\n- Find columns with identical data content\n- Support for case-sensitive/insensitive matching\n- Multiple removal strategies available\n- Preserve data integrity\n- Support for large datasets\n- Fast and efficient processing\n\nCommon Use Cases:\n- Clean up merged datasets\n- Remove redundant data columns\n- Optimize data for analysis\n- Prepare data for machine learning\n- Reduce file size and complexity\n- Standardize data format",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=duplicate-column-remover",
"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": "duplicate-column-remover",
"arguments": {
"csvContent": "Paste your CSV content here...\nExample:\nName,Name,Age,City,City\nJohn,John,25,NYC,NYC\nJane,Jane,30,LA,LA",
"detectionMethod": "headers",
"caseSensitive": false,
"keepStrategy": "first",
"trimSpaces": true,
"outputFormat": "csv"
}
}
}| outputFormat | select | Yes | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]