Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Processing

Header Adder

Add headers to CSV data that lacks column names. Perfect for data import from databases, API responses, or numeric datasets that need proper column identification. Features: - Add custom headers to header-less data - Auto-generate intelligent headers - Support for various header naming conventions - Preview headers before applying - Multiple header format options - Support for existing data detection - Batch processing capabilities Common Use Cases: - Fix database exports without headers - Process API response data - Prepare numeric datasets for analysis - Standardize data column naming - Create proper CSV structures - Data format normalization

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/header-adder' \
  -H 'Content-Type: application/json' \
  -d '{"csvContent":"Paste your CSV content here...\nExample (without headers):\nJohn,25,New York,Engineer\nJane,30,Los Angeles,Designer\nBob,35,Chicago,Manager","headerMode":"auto","customHeaders":"Name,Age,City,Position","separator":"comma","autoPrefix":"Column","previewOnly":false,"outputFormat":"csv"}'

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools

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/header-adder

Parameters

NameTypeRequiredDescription
csvContenttextareaYes—
headerModeselectYes—
customHeaderstextNoEnter headers separated by commas. Only used when Custom Headers mode is selected.
separatorselectYes—
autoPrefixtextNoPrefix for auto-generated headers (e.g., Column, Field, Data). Used in Auto and Template modes.
previewOnlycheckboxNoOnly show the generated headers without modifying the data
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-header-adder": {
      "name": "header-adder",
      "description": "Add headers to CSV data that lacks column names. Perfect for data import from databases, API responses, or numeric datasets that need proper column identification.\n\nFeatures:\n- Add custom headers to header-less data\n- Auto-generate intelligent headers\n- Support for various header naming conventions\n- Preview headers before applying\n- Multiple header format options\n- Support for existing data detection\n- Batch processing capabilities\n\nCommon Use Cases:\n- Fix database exports without headers\n- Process API response data\n- Prepare numeric datasets for analysis\n- Standardize data column naming\n- Create proper CSV structures\n- Data format normalization",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=header-adder",
      "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": "header-adder",
    "arguments": {
  "csvContent": "Paste your CSV content here...\nExample (without headers):\nJohn,25,New York,Engineer\nJane,30,Los Angeles,Designer\nBob,35,Chicago,Manager",
  "headerMode": "auto",
  "customHeaders": "Name,Age,City,Position",
  "separator": "comma",
  "autoPrefix": "Column",
  "previewOnly": false,
  "outputFormat": "csv"
}
  }
}
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]

Browse tools
Open tool